You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when generating sprite sheets, there is no way to mark it as an animated sprite sheet.
This would allow for use in Pixi's AnimatedSprite, as the generated JSON would contain the animations property (listing the textures used as part of the animated sprite).
The text was updated successfully, but these errors were encountered:
Just make sure you don't run into the classic image10.png < image2.png and you're golden (or provide a compareFn to sort()).
e.g.
// Load a standalone animationconstmyAnimation=makeAnimation("assets/[email protected]");myAnimation.play();// Load animation from any sheetconstappleAnimation=makeAnimation("assets/[email protected]","apple");constbananaAnimation=makeAnimation("assets/[email protected]","banana");
Currently when generating sprite sheets, there is no way to mark it as an animated sprite sheet.
This would allow for use in Pixi's
AnimatedSprite
, as the generated JSON would contain theanimations
property (listing the textures used as part of the animated sprite).The text was updated successfully, but these errors were encountered: