HowToUseTiledToCreateStendhalMaps2: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kiheru
use of "*" for animations and more accurate description of speeds
imported>Kiheru
No edit summary
Line 104: Line 104:
<pre>
<pre>
tileset/item/furniture/light/flames.png * 0:1
tileset/item/furniture/light/flames.png * 0:1
</pre>
The use of * is equivalent to writing a line for each of the tiles in the frame list, and cycling through the list at each line. For example,
<pre>
tileset/ground/water/whirlpool.png * 0:1:2:3
</pre>
is a shorthand to writing
<pre>
tileset/ground/water/whirlpool.png 0 0:1:2:3
tileset/ground/water/whirlpool.png 1 1:2:3:0
tileset/ground/water/whirlpool.png 2 2:3:0:1
tileset/ground/water/whirlpool.png 3 3:0:1:2
</pre>
</pre>