Added generation of 'repeat' count and 'loop_direction' to fully support Aseprite's tag properties. This can be useful for example to play some animations once (e.g. death animation).
This will now generate the following code:
.. and it can be used in animation_update like this:
I've also extracted generated package name and input texture folder into constants for easier change.
Added generation of 'repeat' count and 'loop_direction' to fully support Aseprite's tag properties. This can be useful for example to play some animations once (e.g. death animation).
This will now generate the following code:![obraz](https://github.com/user-attachments/assets/1bd66c65-9159-4ee0-832b-f122351d3bf3)
.. and it can be used in animation_update like this:![obraz](https://github.com/user-attachments/assets/bf1eaafa-b735-4aa3-8ced-1456cb7b2592)
I've also extracted generated package name and input texture folder into constants for easier change.