0 votes

I am wondering if it is possible to draw more than one sprite per tile in a Tilemap (like, say, a background behind a foreground image, where the background is tiled and changes depending on the tile being used). Obviously, this could be done by layering a tile's sprites in a program like GIMP, then saving the image and using that as the tile's sprite. But this makes it tedious to change the sprites, so I am wondering if there is a more convenient way to do this within Godot.

in Engine by (29 points)

1 Answer

+4 votes
Best answer

You can't put more than one tile per tile, but you can layer multiple Tilemaps.

You can even script their interaction using get_tile() on the background to choose what to set_tile() on the foreground, for example.

by (21,920 points)
selected by
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 Frequently asked questions and 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 [email protected] with your username.