+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.

in Engine by (47 points)

1 Answer

+1 vote
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.

by (134 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 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.