HowToUseTiledToCreateStendhalMaps: Difference between revisions
Content deleted Content added
imported>Kiheru m →Editing the map: Explicitly mention the layer(s) where tree tops should be |
imported>Kiheru →Editing the map: Added instructions for drawing trees |
||
Line 166:
Now let's add houses and a tree to our village. As you can see adding elements isn't hard, you simply must flip between layers.
And now for the tree. Trees are a bit more complex than houses because they are split over two layers: 1 and 2. <br>Make sure that the <b>upper part</b> of the tree is <b>always</b> on either <b>3_roof or 4_roof_add</b>. This will mean it is drawn over player when they stand 'behind' it.
First we add ''tileset/plant/tree/spruce.png'', and then draw the lower part of it to the ''1_terrain'' layer.
Now switch to the roof layer. The roof layer is for objects that are drawn on top of players and creatures in the game.
Draw the upper part of the tree on roof layer.
Let's practice this. Let's add another tree.
Remember how to deal with two layers? Make sure the top of the tree is on the roof layer.
[[Image:Tiled15.png]] <br><small>Figure 13: The Top of our second tree</small><br>
Still there? Good, now let's add lots of details to make a good map!
| |||