+2 votes

I'm currently trying to build a top down world, with seven biomes that all butt up against each other, essentially what (I think) is called a non-binary tilemap.

So the plan is I have one master tilemap that defines all my artwork and 4 "artwork" tilemaps that will actually be the visible artwork. I can really easily figure out the bitmask value that should be being used in a tile by seeing what mastertilemaps overlap with my current artwork tile across all 4 tilemaps, however the artwork I'm using does not have identical arrangements of tiles across all biomes.

essentially I'm looking for a command like
setcell(x, y, tile, flipx, flip_y, transpose, AutotileBindings)

Otherwise I suppose I could just make all the artwork the same. But it would make life so much easier if I could just hijack the autotile function, or even just change how bitmaps are calculated.

in Engine by (84 points)

1 Answer

0 votes
Best answer

Answer so far is... no.

In the end I had to make all the spritesheets identically arranged and then create two dictionaries to go from bitmask to vector, and vector to bitmask...

by (84 points)
selected by
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.