A worked example, rendered from real sample data. Sign in to run the tool on your own input.
#####
#...#
#.@.#
#.E.#
#.C.#
#...#
#####{
"name": "Level",
"width": 5,
"height": 7,
"legend": {"0":"Empty","1":"Wall","2":"Player","3":"Enemy","4":"Coin","5":"Door","6":"Water","7":"Tree","8":"Spike"},
"tiles": [
[1,1,1,1,1],
[1,0,0,0,1],
[1,0,2,0,1],
[1,0,3,0,1],
[1,0,4,0,1],
[1,0,0,0,1],
[1,1,1,1,1]
]
}
Generate 2D tilemap arrays for grid-based games from a visual text grid. Part of the DevTools Surf developer suite. Browse more tools in the Game Dev collection.