HowToUseTiledToCreateStendhalMaps: Difference between revisions
Content deleted Content added
imported>MiguelAngelBlanchLardin No edit summary |
imported>MiguelAngelBlanchLardin No edit summary |
||
Line 4:
= How to create a Map =
Load template.tmx and resize the map to desired size.<br>
So open Tiled by double clicking in <b>tiled.jar</b> or by running it as:
java -jar tiled.jar
http://arianne.sourceforge.net/wiki_images/tiled_0.jpg
Now click on File and now choose Open, find template.tmx and click Open
http://arianne.sourceforge.net/wiki_images/tiled_1.jpg
We are going to work on a 64x64 map. So click on Map and choose Resize.
A 64x64 map is not big, it will take a player around 40 seconds to move from one end to the other, but it is big enough for our example.
http://arianne.sourceforge.net/wiki_images/tiled_6.jpg
As you see you can resize the map and make also bigger so you can create a bigger map later.
http://arianne.sourceforge.net/wiki_images/tiled_7.jpg
Line 19 ⟶ 26:
* small_village_collision
* small_village_objects
* small_village_2_roof
* small_village_1_object
* small_village_0_floor
This step is very important because Stendhal use layers' name and not file name to generate game content. So please make sure you named them correctly.
http://arianne.sourceforge.net/wiki_images/tiled_3.jpg
Don't forget to rename all the layers.
Now save this map as small_village.tmx by click on File and choose Save as.<br> You need to type the complete name with .tmx
http://arianne.sourceforge.net/wiki_images/tiled_5.jpg
Line 58 ⟶ 64:
http://arianne.sourceforge.net/wiki_images/tiled_10.jpg
Our village is a rich one, so let's look for a nice ground for it.<br>
Now click on Fill and fill the floor. ok? It is too tiled, so let's add a few details like borders and a checked board at the main square.<br>
Notice that everything is still done at layer 0.
http://arianne.sourceforge.net/wiki_images/tiled_13.jpg
| |||