I have a character prepared as a sprite sheet. Is there a nice way to use it in this language? I see it handles animated gifs well. I would rather not have to convert the sprite sheet into an animated gif.
I see the cropto method. One way would be to define frames of the animation as parameters to the crop to method. Then setting a frame "6" for example would call cropto with the proper parameters to show that section of the sprite sheet.
Would that perform slowly?
My goal is to have a car driving(top down scroller). When certain things happen, such as crashing, I want to be able to play a 4 frame animation of the car exploding. This is no different than a character jumping or shooting a gun. I just don't know what the common strategies are for doing this.
A pointer in the right direction would be great.