Hi PEach ! That’S pretty awesome ! Thank you it helped me a lot to understand !
However, I use Spriteloq to make my spriteSheets and I think it doesn’t include the sprite.add() function. If you know a work around to do the same thing in spriteLoq, I’ll be glad to hear it ^^
From my experience with the software however, I think I should use his function SpriteFactory:MultiSet(_module, _spriteInfo) where we need to specify the metadata generated by SpriteLoq, the name of the sprite as defined in the sprite sheet, the frameCount where we know how many frames in the sprite’s animation, the frameRate of the animation and the loop parameter. I think thats pretty much the same thing as your sprite.add() function. If yes, I’m glad to specify it here on this post so other can make the difference
[import]uid: 20617 topic_id: 13952 reply_id: 51568[/import]