HowToUseTiledToCreateStendhalMaps: Difference between revisions
Content deleted Content added
imported>Kymara m just moving comment for clarity |
imported>Kymara →Layers: made exactly the same as we use. and big important things written in |
||
Line 40:
As you have already seen there are five layers in the map. <b>They must all exist. However, they can be empty.</b>
The
*
* 1_terrain
* 2_objects
*
* 4_roof_add
the layers
*objects
*collision
*protection
are special. The objects layer must ONLY contain tiles from objects tileset (like monsters and food) NOT other graphics. The collision tileset uses ONLY the red square in the collisions tileset and the proection layer uses the green square from the collision tileset.
The draw order is:
#
# 1_terrain
# 2_objects
# object and sprites like players, monsters, etc... sorted from lowest y, lowest x
#
# 4_roof_add
This basically means that any objects closer to the bottom of the screen, ie the foreground in our pseudo 3D world will be on top of other objects, and roof and roof add will be above everything.
| |||