#What is the relationship between tiles and scale?

3 messages · Page 1 of 1 (latest)

wary ermine
#

I am new to Godot and, like with this question, frequently have a problem that I don't even really know what to google to get an answer or find the right documentation. So I'm sorry if this question is easily found on the docs but I just don't know what to look for.

I have purchased a tileset that is 256x256. In my project settings, my resolution is 1920x1080. When I run my game, the tiles are just way too big. I don't understand how to downscale the tiles. Do I need to use an image editor to make them 16x16 or something? Surely if you want to use higher res textures your game window doesn't need to be something insanely big?

fair hawk
#

Downscaling the tiles can cause anti-aliasing but if you use the enable mipmaps in textures it looks better but increases memory usage. If you're using high res textures that might be a problem but if it's not a concern then it's perfectly reasonable to scale them all down by a factor of 4 or 8 (64x64 & 32x32 respectively). If it's causing performance issues, use an editing software to scale them down before importing them.

As for actually scaling them within godot, you can go to TileMap node>Inspector>Transform>Scale and edit them there.

wary ermine
#

thanks, I just went into photoshop and made them 16x16 instead of 256x256. Do you know what I can look up to learn more about this as I still don't really understand it.