Using Tiled Map Editor
A tiled map is a grid of cells where the value in the cell indicates what should be at the location. For example, (0,0) is a road, (0,1) is a grass, (0,2) is a river and so on. Tiled maps are very useful but they are pretty hard to create by hand. Tiled is a tool that can be used to just create tiled maps. Tiled is a free application. However, this application is a very powerful, useful and popular tool. There are various kinds of Tiled Map, for example, 2D maps such as Dragon Quest, Horizontal scrolling game map such as Super Mario and so on. In this recipe, you can basically use texture packer.
Getting ready
If you don't have Tiled Map Editor, you can download it from https://www.mapeditor.org/.
And then, after downloading it, you will install the application and copy the example
folder in the dmg
file, into the working space of your computer.
Tiled Map Editor is free application. However, you can donate to this software if you like.
How to do it...
In this part, we explain...