XML Spritesheet Reading #2324
Answered
by
TheHENOOB
DrakerMaker
asked this question in
Q&A
-
How do I read a Spritesheet by an XML Adobe Animate generated for it? |
Beta Was this translation helpful? Give feedback.
Answered by
TheHENOOB
Jun 18, 2021
Replies: 1 comment
-
ninjamuffin99 (Creator of Friday Night Funkin') made a tutorial on how to use Adobe Animate or Adobe Flash art: But i think that's what you need (note this is inside of a class that is extending FlxSprite) var tex = FlxAtlasFrames.fromSparrow('assets/images/HoboMoveSet.png', 'assets/images/HoboMoveSet.xml');
frames = tex;
animation.addByPrefix('idle', 'HoboIdle', 24, true); // the HoboIdle or HoboGun is the name of the movie clip for the animation
animation.addByPrefix('gun', 'HoboGun', 24, true);
animation.play('gun'); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DrakerMaker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ninjamuffin99 (Creator of Friday Night Funkin') made a tutorial on how to use Adobe Animate or Adobe Flash art:
https://ninjamuffin99.newgrounds.com/news/post/1090580
But i think that's what you need (note this is inside of a class that is extending FlxSprite)