ceramic-engine / ceramic

Cross-platform 2D framework written in Haxe that can export natively to desktop (windows, mac, linux), mobile (ios, android), web (js + webgl) and to unity projects
MIT License
263 stars 22 forks source link

Modify addGridAnimation in SpriteSheet #97

Closed ghtalpo closed 2 years ago

ghtalpo commented 2 years ago

array of cells could be used for compressing frames

jeremyfa commented 2 years ago

Thanks, I merged, but before that I changed your code because I still want to keep the original signature. Thankfully since Haxe 4.2 we have overloads, so both signatures (the one you added, and the existing one) are valid.