Animated textures

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Farflame

I’m struggling to animate a tile in my tileset. I can’t find any tutorials that are up to date and the documentation doesn’t help much either. I think I get the general idea, I have a node with all of my sprites in it. For the animated sprite, I’ve added 4 individual textures, set it to 4 frames and it’s animating nicely in the window in the inspector. I then do scene → Convert to → Tileset, set that tileset to the tileset for the tilemap and can paint the tiles onto the scene. But all I see from my animated tile is the first image.

It doesn’t seem to animate at all. One thing I’ve noticed is that when I’m in my tiles scene, I can’t change any of the ‘flags’, including the repeat one. But it isn’t even animating through one phase.

:bust_in_silhouette: Reply From: Farflame

Of course, as is always the case, after hours of searching, I work it out minutes after asking the question. If anybody is struggling with this, the mistake I made here was animating the sprite and then adding it to the tileset. It appears that you can just add the unanimated version, convert it all to the tileset, then in the tileset you can go through the same procedure there - find your tile in the list, click the dropdown next to it and change it ‘New Animated Texture’, select the number of frames and then drag the individual sprites into the frames. Works for me, not sure why the option is available in the pre-tileset sprite but I guess it’s because animated textures can be used in other ways.