Tileset - configuring the bitmask correctly

Hi All, I need help setting up an autotile tileset for a platformer game. I’m having trouble configuring the bitmask correctly for all the tiles in the tileset image. Godot 4

This isn’t a standard tileset „47” like the ones shown in most YouTube and tutorials. An artist created it for me, and the tiles are 32×32. I’ve been struggling with this for few days. Whenever I paint the grass tiles, some corners or edges are missing or appear incorrectly.

I’ve tried marking the bitmask (orange color)in different ways and on different sides, but something is always wrong. It’svery important to me to draw the bitmap on this specific tileset. I don’t want a simplified or reduced version because I’ve already worked with one and it’s not accurate enough for me. This is a challenge.Could someone help me set this up properly?

Tilset picture in link

Tilset with bitmap how I Draw - picture

Thank you very much.

Change the TerrainSet’s mode to “Match Corners”. Make sure the center bit is drawn on every tile.
Also, the terrain set is missing a fully light green tile.

1 Like

Hey Mate,

Could you Please show directly on my tileset how you would mark it exactly? I tried following your advice, but unfortunately it’s not working. I’m either selecting too much or too little. Could you mark it on this image the way it should be selected so I can copy it and check if it actually works? I would really appreciate if you send a pictures with your correct marked

Make sure the mode is set to “Match Corners”, not “Match Corners and Sides”.

I used the tile at atlas coordinates (1, 1) as placeholder for the missing tile (fully light green/no dark green corners). Without that tile, there will be issues when placing them.

I would like to sincerely thank you for solving my problem. My God :clap: , it finally works as it should. I’m extremely grateful to you :hugs: . Is there any way we could stay in touch privately? I really value your help and advice. I’m designing a game in Godot, and as a beginner developer, I sometimes run into small issues with it.

Glad I could help! I’m mainly here on the forums, and you’ll find many other people here able and willing to help you too (even with seemingly simple issues).

Also, if your problem got solved please mark a reply as solution, so other people know this topic has been solved.