0 votes

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

Here is my bitmask


Can anyone help me?

in Engine by (124 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:

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.

by (856 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

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