HowToUseTiledToCreateStendhalMaps: Difference between revisions

Content deleted Content added
imported>MiguelAngelBlanchLardin
No edit summary
imported>MiguelAngelBlanchLardin
No edit summary
Line 20:
==Layers==
As you see there are five layers at the map. It is mandatory for all of them to exists. Although you can let them be empty.
 
The three firsts layers are the ones that hosts graphics:
* floor
* object
* roof
 
The draw order is:
# roof
# object and sprites like players, monsters, etc... sorted from lowest y, lowest x
# roof
 
That means that everything will be draw as common games, and roof will be above everything. Right?
Ok, now let's edit.
 
= Editing the map =
Choose floor Layer.
 
Our village is a rich one, so let's look for a nice ground for it.
Now click on Fill and fill the floor. ok?
 
It is too tiled, so let's add a few details.
 
Yes? But the map still looks too simple.
So now let's add some details on the object layer, like walls and so.
Make sure you choose object layer.
 
Again, we draw the basic and add more details.
See how to play with layers.
 
Now let's add a house and a tree for our cementery.
 
And now the tree
 
Did you noticed how to handle layers?
 
Let's add a path to the house and create a door at the wall.
 
Yes? Still there?
Ok, now let's add lots of details to make a good map!.
 
Complete the map yourself :)
 
Finally we need to add two important things:
* Objects
* Collision
 
Collision layer determines what is trespasable and what not.
Draw in red everything that is not trespasable.
 
Finally let's add a portal for tomb and a few zone entries. And of course a waiter for our Bar.
 
And done! :)