diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-09 20:34:59 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-09 20:34:59 -0500 |
commit | 315ca2fb388f790791c9ce372cf44e00d51e0e7f (patch) | |
tree | 99fd0a66ce191959c73fe5058e538a4dcd07100e /res/maps | |
parent | 0c2cd251fa0427b19f7c995bc7da7319d2ac80a5 (diff) | |
download | tanetane-315ca2fb388f790791c9ce372cf44e00d51e0e7f.tar.gz tanetane-315ca2fb388f790791c9ce372cf44e00d51e0e7f.tar.bz2 tanetane-315ca2fb388f790791c9ce372cf44e00d51e0e7f.zip |
Added trigger zones to the map
Walking into a trigger zone runs a script.
Diffstat (limited to 'res/maps')
-rw-r--r-- | res/maps/map1.tmx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/res/maps/map1.tmx b/res/maps/map1.tmx index d830158..9b1d1b1 100644 --- a/res/maps/map1.tmx +++ b/res/maps/map1.tmx | |||
@@ -1,5 +1,5 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="48" height="32" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="6"> | 2 | <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="48" height="32" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="8"> |
3 | <tileset firstgid="1" name="fromRom" tilewidth="16" tileheight="16" tilecount="240" columns="10"> | 3 | <tileset firstgid="1" name="fromRom" tilewidth="16" tileheight="16" tilecount="240" columns="10"> |
4 | <image source="map1_tiles.png" width="160" height="384"/> | 4 | <image source="map1_tiles.png" width="160" height="384"/> |
5 | <tile id="77"> | 5 | <tile id="77"> |
@@ -774,6 +774,11 @@ | |||
774 | <object id="5" name="spawn" type="warp" x="201.931" y="284.096"> | 774 | <object id="5" name="spawn" type="warp" x="201.931" y="284.096"> |
775 | <point/> | 775 | <point/> |
776 | </object> | 776 | </object> |
777 | <object id="7" name="testTrigger" type="trigger" x="70.3333" y="344.333" width="37.3333" height="67.3333"> | ||
778 | <properties> | ||
779 | <property name="script" value="test_trigger"/> | ||
780 | </properties> | ||
781 | </object> | ||
777 | </objectgroup> | 782 | </objectgroup> |
778 | <layer id="1" name="Layer 0" width="48" height="32"> | 783 | <layer id="1" name="Layer 0" width="48" height="32"> |
779 | <data encoding="csv"> | 784 | <data encoding="csv"> |