0 votes

I need help with auto-tiling. Whenever I use the autotile, it ends up looking like this:
https://imgur.com/abTMYtf

Here is my bitmask

https://imgur.com/H51j3Xk

Can anyone help me?

asked Jul 9 in Engine by ThreeSpark (88 points)

2 Answers

0 votes

Two problems:
1) You don't have enough tiles. You want a tile to handle each permutation when you go to paint them.
2) You aren't using the right approach to the bit mask. Think about it as painting the "walkable" regions. (For example, in the image you linked the small red square should be filled in.)

Consider watching this video for an overview of the concepts:
https://www.youtube.com/watch?v=JiLEkc4G_F0

Before attempting to build your own tile set from scratch I recommend finding an image online of one that someone else has created with all of the required tile shapes, apply a bit mask to it so you can see it painting correctly, and then paint over the image with your own artwork.

answered Jul 10 by JimArtificer (852 points)
0 votes

all you need to do is follow this template (without gaps).

what you fill in is the dark gray (in godot autotile). make sure to use autotile 3x3 (simple).

template: https://i.imgur.com/pcGxq5g.png

answered Jul 11 by shmellyorc (109 points)
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.