Defold doesn’t provide any built-in way to animate tilemaps. The animations you see in the Editor are actually meant to be applied to sprites… sprites can take their source image from either a tilesource or an atlas.
Defold Tilemap Animator was created to allow for your use-case. It’s pretty simple and doesn’t allocate much memory other than what’s specified by the user.
Another three options are:
- Create a shader to dynamically select texture coordinates as time progresses.
- Create multiple tilesources where each one contains a single animation step. For example, if you have eight animation steps for a tile of water, create eight tilesources and load them dynamically on a timer in a script. See the following thread for an example: Setting Tile Source at runtime question
- If your use-case is very simple, then use the tilemap.set_tile() API on a timer, which is a small part of what Defold Tilemap Animator does behind the scenes.