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

Add option to create a new main.atlas file and new main.png sprite layout when saving. #1

Closed
Seth-Revz opened this issue Aug 10, 2024 · 0 comments · Fixed by #2
Closed
Assignees
Labels
enhancement New feature or request

Comments

@Seth-Revz
Copy link
Owner

Seth-Revz commented Aug 10, 2024

Currently there are icons in the spritesheet that are used for multiple entries in main.atlas.
This creates the issue of if you replace these icons and they are different, keeping the same main.atlas will cause it to overwrite sprites.

Example:

The normal type monster icon is used for multiple languages.
You either overwrite for all, or none currently. They cannot be different

See the xy attributes below

monster_type_0_de
  rotate: false
  xy: 2, 4
  size: 49, 14
  orig: 49, 14
  offset: 0, 0
  index: -1
monster_type_0_en
  rotate: false
  xy: 2, 4
  size: 49, 14
  orig: 49, 14
  offset: 0, 0
  index: -1
monster_type_0_es
  rotate: false
  xy: 2, 4
  size: 49, 14
  orig: 49, 14
  offset: 0, 0
  index: -1
monster_type_0_fr
  rotate: false
  xy: 2, 4
  size: 49, 14
  orig: 49, 14
  offset: 0, 0
  index: -1
@Seth-Revz Seth-Revz changed the title Add option to create new main.atlas file and new main.png sprite layout when saving. Add option to create a new main.atlas file and new main.png sprite layout when saving. Aug 10, 2024
@Seth-Revz Seth-Revz self-assigned this Aug 10, 2024
@Seth-Revz Seth-Revz added the enhancement New feature or request label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant