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

Layer support for AnimationSheet #49

Open
bsergent opened this issue Feb 8, 2019 · 1 comment
Open

Layer support for AnimationSheet #49

bsergent opened this issue Feb 8, 2019 · 1 comment
Labels
Milestone

Comments

@bsergent
Copy link
Owner

bsergent commented Feb 8, 2019

A limited number of layers would be very beneficial. Primarily, this would allow for hidden layers to be kept in the original Aseprite file with important mapping information (collision, held item points, specular) that would not be rendered. See #36 for more details in held item mapping. It might also be useful for drawing items over and under the player, but that can already be done to a limited extend with the limit being that the entire player sprite must be drawn either in front of or behind items. This could also be useful for laying armor or something.

Another possibility is removing the need for a separate image and .json metadata file by just loading .ase files and parsing them into images on load. This solely depends on how stable and complicated .ase files are. See this page for the file format specifications. Looks like a lot of work to support.

Yeah, loading .ase files seems a bit complicated, so maybe it would be more beneficial to just write a script that generates multiple files (image, mapping, metadata .json). Something could even be written to translate the mapping image into fields w/n the .json file.

@bsergent bsergent added this to the v1.0.0 Usable milestone Feb 8, 2019
@bsergent
Copy link
Owner Author

bsergent commented Feb 8, 2019

If adding layer support, it would make sense to rename AnimationSheet to Sprite as its functionality is already beyond just animations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant