This might be a stupid question, but to use animations, do i need to use a sprite sheet?

That’s the way to do it, yes. There are some code snippets here:

Look at “Sprite Sheet Load”, “create an animation” and “Play an animation.”

thanks for the link, that was very helpful. Have an animation working now :upside_down_face:

An animation needs multiple texture frames. Usually the frames are all from one multiframe texture, but you can also use frames from different textures.

In Phaser terms “atlases” and “spritesheets” are multiframe textures.

1 Like