+1 vote

I'm creating a 2d game on which I use TileMaps to create the levels and I was wondering on what option is recommended (I'm looking for good performance, so which one is better?)

-Use single images for each tile.
-Use big image and then cut the tiles that I need from the godot tileset editor.

asked Apr 21, 2019 in Engine by TecoSV (45 points)

1 Answer

0 votes
Best answer

Using a single large image is generally better for performance, according to the docs.

https://docs.godotengine.org/en/3.1/tutorials/2d/using_tilemaps.html

Making a tileset

To begin, a tileset needs to be made. Here are some tiles for it. They are all in the same image for optimization reasons. There are so-called texture packers that will generate these spritesheets out of your separate texture files. Having them as separate images also works.

Of course it doesn't really dive into the why of things, but it seems clear enough.

answered Apr 24, 2019 by TheThirdPerson (128 points)
selected May 16, 2019 by TecoSV
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.