0 votes

I have made a tileset (tile-mode is AUTO_TILE) which looks like this
enter image description here
However settiing up an animated texture under normal map doesn't animate the tileset.

Before upadate 3.2 the tileset option used to look like this
enter image description here
As you can see the Texture option is missing and the option to pick AnimatedTexture has been shifted in to Normal Map
Is this a bug, or did godot implement a new way of making animated tile-sets ?

I've been trying to figure out how to make this since 3 days can't find any resources online or on godot Q&A about this. Any help would be much appreciated

in Engine by (58 points)

2 Answers

+1 vote
Best answer

One way to do this is by using AnimatedTexture to store your animations, and then assigning that to a tile in your TileSet.

Here's an example of doing so:

by (20,477 points)
selected by

Is there anyway i can use an sprite sheet instead of a multiple png files ?

0 votes

You should try using an AnimatedSprite node instead of just a sprite. When you use the animated sprite, you just have to recreate each frame (maybe not all of them if there are loads) and then upload them in the right order to the animated sprite frame. Then, attach it to a a static body, make a script for the static body and put this script into it:

func _ready():

You don't need to use those exact names, but the $BlockAnim would be the name of the AnimatedSprite node and "animation" would be the name of the animation that will be displayed.

by (298 points)

I'm afraid this doesn't answer the question, because it was specifically about using TileMap to make animated tiles.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.