I’n the process of recreating the 40+ year old XTank game, I need to create a maze for the tanks to play in. One of my former co-workers managed to dig up an ancient picture (circa 1993) of the playing field.
The individual dots in the maze picture are drawing aids provided by the original game’s built-in map editor
I’m wondering if there’s any way I pull this image into the Godot editor as some sort of “background” so that I can “trace” it, or at least get close to it, with tiles.
I’m actually kind of suprised that there doesn’t appear to be a tool that can take an image like this (lots of lines) and, given some parameters, convert it into a tile-based map automatically.
If I ever decide to write a Godot plugin, I’ve definitely got my first project.
You could load it as a Sprite2D and put it behind the tilemap, maybe use a translucent version of the tiles while “tracing”, and then swap out the tileset for opaque tiles.
I gave this a shot and it worked very well, so thank you very much!
I’ve now hit my next challenge.
Since the maze is symmetric both horizontally and vertically, ideally I should be able to do the tiles for the bottom-left quarter of it, then mirror things a couple of times to get the whole maze.
The problem is that I don’t see a way to do this. Is this sort of thing doable, and I’m just missing it?
Select the tiles with the cursor icon in the tilemap dock toolbar. Paint them again with the pen icon and use the 4 icons next to the dice in the same toolbar to rotate or flip them vertically/horizontally.