Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Items are Incorrect Scales #5

Open
3 tasks
Jlobblet opened this issue Oct 21, 2020 · 1 comment
Open
3 tasks

Some Items are Incorrect Scales #5

Jlobblet opened this issue Oct 21, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Jlobblet
Copy link
Owner

After the art unification, sprites and their wrecked counterparts no longer all have the same sourerect. This causes some items, such as oxygen generators, to become far smaller than they should be when wrecked.
image
The most obvious solution is to add a parameter to the items in Identifiers.xml which contains a multiplier to be applied to the scale attribute of that item. An alternate approach would be to read Barotrauma's Content/ to find the scale multiplier.
First approach is the favoured solution since it has a better user experience.

Todo:

  • Determine which items are affected
  • Add a way of modifying the scale of items to XML spec (make schema?)
  • Create code for modifying item scale of items with this element
@Jlobblet Jlobblet added the bug Something isn't working label Oct 21, 2020
@Peternocode
Copy link

After the art unification, sprites and their wrecked counterparts no longer all have the same sourerect. This causes some items, such as oxygen generators, to become far smaller than they should be when wrecked. image The most obvious solution is to add a parameter to the items in Identifiers.xml which contains a multiplier to be applied to the scale attribute of that item. An alternate approach would be to read Barotrauma's Content/ to find the scale multiplier. First approach is the favoured solution since it has a better user experience.

Todo:

  • Determine which items are affected
  • Add a way of modifying the scale of items to XML spec (make schema?)
  • Create code for modifying item scale of items with this element

Man, so you can fix these bugs?Team of extended wrecks use your good programm for adding moare wrecks for Barotrauma, but make it slower at cause of bug which a scale of some items and walls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants