A map generator for your my_runner.
The generator is currently accessible at https://runner-map.tk
Each time you use the map generator, you must import your configuration file which will adapt the workspace to your needs.
The configuration file is a JSON which is used like this:
{
"width": "<default map width>",
"height": "<default map height>",
"mode": "<map storage mode>",
"sprites": {
"<id1>":"<hex color || url to image>",
"<id2>":"<hex color || url to image>",
"..."
}
}
Then you can draw by choosing your sprites in the toolbox and using your cursor as a pen like in paint.
Shift + Click
will draw a full horizontal line.
Warning : The following features need time to run on large maps (be patient) :
Ctrl + Click
will fill an area with the current color (paint bucket).
Alt + Click
will repeat a pattern everywhere (eg : if you click on an empty block that is on top of a block of ID 1 all the blocks of ID 1 will be covered by your new block. (Valentin Dury's contribution)
Clicking on an existing color will replace it with air.
You can now export your map by clicking on export button.
Copy all the output text and store it as you want on your computer.
You can import your map to work on it whenever you want.
You can choose between "vertical" and "horizontal"
A same map will be stored like this in vertical (only made for Valentin Dury):
1
1
12
122
1222
1
1
1222
122
12
1
1
1
11
121
11
1
1
1
1
And like this in horizontal :
2 2
22 22 1
222 222 121
11111111111111111111
Before importing your map, you can add spaces at the end of the first line of the file. The length of the first line will define the length of your map, by adding spaces you increases the global length of your map.
Sure, it's made for everyone ! That's just a tool to work faster and it's not considered as cheating.
If you're really kind you can talk about this tool during your review without forgetting the credit ! ❤️