0 votes

Hi, I'm wanting to have the player of my game autotile the world as they walk around.

I've set up an autotile in a tileset of a tilemap and I assumed after I had a bitmasked autotile working I could do so with something like:

Relevant code

and I can tell something is actually being created in the world, as if I add the line "print(CurrentTileIndex)" and run around, the numbers are what I'd expect, but no tiles are appearing. So I clearly have no idea what the tilemap methods actually do, and the documentation isn't making much sense to me. I'd greatly appreciate some insight into how to do this!

in Engine by (12 points)

what about having them invisible and disable the collision of them and when the player is at the position where you want them to appear return the visibility on and the collision

Please log in or register to answer this question.

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.