karl-zylinski / odin-raylib-hot-reload-game-template

An Odin + Raylib game template with Hot Reloading pre-setup
MIT License
150 stars 18 forks source link

Update Atlas Builder to support animations based on tags #12

Closed MarcinKuder closed 1 month ago

MarcinKuder commented 1 month ago

Aseprite allows to mark frames with tags. This allows to have a single file with multiple separate animations - e.g. Zrzut ekranu z 2024-08-02 22-45-58 see Aseprite docs for more details

This change generates a separate Animation_Name in atlas.odin for each tag found in ase file (with appropriate frame numbers). E.g. Zrzut ekranu z 2024-08-02 22-33-53

karl-zylinski commented 1 month ago

Thank you! Neat!