Discord
Login
Community
DARK THEME

How to load an animation into M2D ( PIXI ) ?

How to extract animation from Sprite object and pass to M2D.Pixi.AnimatedSprite ? Fields from Sprite.frames return no value.

Idk why you asking me

Animated sprites are not available by default in M2D, but @JIMB007 wrote a little function that helps with that.

I just realize that the example doesn't show up in the Explore section, so here it is:

https://microstudio.dev/i/TinkerSmith/m2danim/

I hope this helps.

P.S. here the version for PIXI
https://microstudio.dev/i/TinkerSmith/pixianim/

Live Long and Tinker

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community