Single images for each tile or big image for tilesets?

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

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.

:bust_in_silhouette: Reply From: TheThirdPerson

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

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.