Sprite sheet or a simple for loop?

Hello…!

I know SM2, to do 2d animation trough sprite sheet, actually because i haven´t bought it yet, i tried to do an animation with a for loop…the simplest way, the script changes the guiTexture.texture each pass in the loop, and of course it works fine, i must to use small textures (128 x 128 max) to do not affect performance…

what do you recommend me, sprite sheet or for loops?, i’m not sure what’s better in performance case…

thanks

Moving the UV coordinates to the next frame of the animation is the best for performance.
SM1 does it this way, but relies on quads for the textures.

perfect thanks :wink: