HowToUseTiledToCreateStendhalMaps2: Difference between revisions
Content deleted Content added
imported>Kymara updates, formatting. |
imported>AntumDeluge →Animations: note about outdated info |
||
| (11 intermediate revisions by 2 users not shown) | |||
Line 70:
=Objects revisited=
Ok, back to the objects layer. This layer is used to place monsters, food growers and portals. Only tiles from
In the ''
In the ''
The last thing that is important in this layer is the portals, at ''
Most of the portals need to be coded using xml to set the source destination. (see) The exceptions are :
* the portal that has a brown door, used to create "standard house" entrances.
: If you place it on the map a new interior will be created, which is entered where you placed the portal. It has the standard interior from tiled/interiors/abstract/house_000.tmx
* the
*: You place one pointing 'down' at coordinates 45, 50 on a Level 0 layer with global coordinates x=499872 y=500000.
*: Then if you place one pointing 'up' at coordinates 45, 50 on a Level -1 layer with global coordinates x=499872 y=500000, the stairway will be created to go in both directions.
Line 92:
=Animations=
'''''NOTE:''' the web client does not yet support tile animations''
Most tiles we use in stendhal now which should be animated, are animated already. For example the white daisy, the flames, etc. We document here how it's done.<br>
'''''NOTE:''' The following is outdated. Animations are now configured in {{StendhalFile|master|data/maps/tileset/animation.json|data/maps/animation.json}}. See {{StendhalFile|master|data/maps/tileset/README.animation.txt|README.animation.txt}}.
<br>
The animations are configured in a file at tiled/tileset/animation.seq. Lets look at a simple example, the flames.
| |||