diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-12 00:45:43 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-12 00:45:43 -0500 |
commit | 0a3ec1862fd479295639a38ab4799e4d36e12c13 (patch) | |
tree | 8651ccafcae9d53fb63234e089158a7cb29c278c /res/maps | |
parent | 5ecd0f428dd8292a17c5013c525a4f5d3967acb8 (diff) | |
download | tanetane-0a3ec1862fd479295639a38ab4799e4d36e12c13.tar.gz tanetane-0a3ec1862fd479295639a38ab4799e4d36e12c13.tar.bz2 tanetane-0a3ec1862fd479295639a38ab4799e4d36e12c13.zip |
Added tile-sized invisible sprites
These are used when you want a solid, interactable object that is part of the map instead of sprite animated (e.g. the mailboxes).
Diffstat (limited to 'res/maps')
-rw-r--r-- | res/maps/map2.tmx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/res/maps/map2.tmx b/res/maps/map2.tmx index 43fa850..ee9931c 100644 --- a/res/maps/map2.tmx +++ b/res/maps/map2.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="64" height="64" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="4"> | 2 | <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="64" height="64" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="5"> |
3 | <tileset firstgid="1" name="fromRom" tilewidth="16" tileheight="16" tilecount="180" columns="10"> | 3 | <tileset firstgid="1" name="fromRom" tilewidth="16" tileheight="16" tilecount="180" columns="10"> |
4 | <image source="map2_tiles.png" width="160" height="288"/> | 4 | <image source="map2_tiles.png" width="160" height="288"/> |
5 | <tile id="61"> | 5 | <tile id="61"> |
@@ -224,7 +224,7 @@ | |||
224 | </tile> | 224 | </tile> |
225 | <tile id="105"> | 225 | <tile id="105"> |
226 | <properties> | 226 | <properties> |
227 | <property name="solid" type="bool" value="true"/> | 227 | <property name="solid" type="bool" value="false"/> |
228 | </properties> | 228 | </properties> |
229 | </tile> | 229 | </tile> |
230 | <tile id="106"> | 230 | <tile id="106"> |
@@ -645,6 +645,12 @@ | |||
645 | <property name="script" value="off_left"/> | 645 | <property name="script" value="off_left"/> |
646 | </properties> | 646 | </properties> |
647 | </object> | 647 | </object> |
648 | <object id="4" name="mailbox1" type="tileSprite" x="535" y="118.667"> | ||
649 | <properties> | ||
650 | <property name="interactionScript" value="mailbox1"/> | ||
651 | </properties> | ||
652 | <point/> | ||
653 | </object> | ||
648 | </objectgroup> | 654 | </objectgroup> |
649 | <layer id="1" name="Layer 0" width="64" height="64"> | 655 | <layer id="1" name="Layer 0" width="64" height="64"> |
650 | <data encoding="csv"> | 656 | <data encoding="csv"> |