0 votes

I am looking at creating a rather robust tilemap that goes beyond edge and corners, and clicking back and forth is incredibly time consuming. Any help is appreciated!

Is there a way to have shortcut keys select which tile/next tile/previous tile I lay down as I click?

-and/or-

Is there a way to set a sequence of tiles? So if I click and drag it will place id 1-8 in sequence?

Thanks!

in Engine by (28 points)

2 Answers

–1 vote
by (158 points)

While this is a great tutorial it does not answer my question. I understand that autotile can auto place edges and corners and fills, but it doesn’t let me set a sequence of tiles. For example, if I want to make slopes spanning over 4 tiles I have to place one tile at a time to get the order I want.

My guess is that for that type of custom functionality you will need to make a plugin: https://docs.godotengine.org/en/stable/tutorials/plugins/gdnative/gdnative-c-example.html

0 votes

I know this is old, but the easiest way I can think of is to use multiple tilemaps with different tile sizes. For example, create two tilemap sibling nodes. If your tiles are 32x32, one tilemap will have all your tiles at that size, the other tilemap will have a tile size of (328)x(328). In this larger tileset you can make one tile that consists of your eight tiles in a sequence (keep the rest transparent). You can also do this for other patterns.

With these two tilemaps overlayed, it will give the illusion that all the tiles are a uniform size from the same set.

by (38 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 Frequently asked questions and 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.