0 votes

Hello! I am having difficulties in setting bitmask for this tileset. The floor near to any wall, should be different with normal floor. I have no idea how to draw the bitmask on this tileset. Anyone please help to give me a guides on this.

Here is my current bitmask setting:
https://ibb.co/gDyxNqj

Here is the original file i get from itch io:
https://ibb.co/xhRgRS2

Godot version 3.2.2
in Engine by (69 points)

1 Answer

0 votes

The tileset appears to have a bunch of repeated tiles. You should use the same bitmask for them and the tilemap placer will randomly choose between them. Here is how you should draw the bitmasks if you want to use all of the tiles (if you don't just don't set a bitmask for them).

enter image description here

by (7,190 points)

Hi! Thank you for your help. I have tried with your bitmask setting, but ends up like this ( https://ibb.co/8733hFn ). Do you know how to make the the correct floor tile will always stick to the correct corner of wall?

Sorry, there's no way for the autotiler to do that right now. It only checks for neighboring tiles, not neighbors of neighbors. You could increase the cell size and use 32 by 32 cells, though. In fact, I think the tiles here might be 32 by 32.

I see. Isit possible to make a wall only tilemap out from this tileset? Meaning I using this tileset and generate into wall tilemap and also floor tilemap, separately. Given if with 16*16. I am just begin to understand how tilemap and autotile works. Would like to knows what is the best practice for processing autotile here.

Yeah, you can add multiple sets of tiles to one TileMap.

Alright, thanks!

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.