summaryrefslogtreecommitdiffstats
path: root/games/classic/level07.tmx
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-03-14 13:20:37 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-03-14 14:55:14 (EDT)
commitd8a21f482778a14dc39c637923fa8bd422a656ee (patch)
tree2bc82bd10caec0b37249236842fe3b34698fa4bf /games/classic/level07.tmx
parent2dd861e04a8c27448adbe7ffb5f5ef3cd4d6a143 (diff)
downloaddodge-balls-d8a21f482778a14dc39c637923fa8bd422a656ee.zip
dodge-balls-d8a21f482778a14dc39c637923fa8bd422a656ee.tar.gz
dodge-balls-d8a21f482778a14dc39c637923fa8bd422a656ee.tar.bz2
games/classic: Add map and object properties
Diffstat (limited to 'games/classic/level07.tmx')
-rw-r--r--games/classic/level07.tmx47
1 files changed, 41 insertions, 6 deletions
diff --git a/games/classic/level07.tmx b/games/classic/level07.tmx
index 0129836..e26e621 100644
--- a/games/classic/level07.tmx
+++ b/games/classic/level07.tmx
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="20" height="15" tilewidth="32" tileheight="32" backgroundcolor="#7f7f7f" nextobjectid="11">
+ <properties>
+ <property name="framerate" type="int" value="30"/>
+ </properties>
<tileset firstgid="1" source="tileset.tsx"/>
<layer name="Tile Layer 1" width="20" height="15">
<data encoding="base64" compression="zlib">
@@ -7,11 +10,43 @@
</data>
</layer>
<objectgroup name="Object Layer 1">
- <object id="2" gid="4" x="64" y="448" width="32" height="32"/>
- <object id="6" gid="5" x="32" y="288" width="32" height="32"/>
- <object id="7" gid="5" x="32" y="192" width="32" height="32"/>
- <object id="8" gid="5" x="416" y="160" width="32" height="32"/>
- <object id="9" gid="5" x="576" y="288" width="32" height="32"/>
- <object id="10" gid="6" x="480" y="448" width="32" height="32"/>
+ <object id="2" gid="4" x="64" y="448" width="32" height="32">
+ <properties>
+ <property name="type" value="player"/>
+ </properties>
+ </object>
+ <object id="6" gid="5" x="32" y="288" width="32" height="32">
+ <properties>
+ <property name="direction" value="lr"/>
+ <property name="speed" type="int" value="120"/>
+ <property name="type" value="ball"/>
+ </properties>
+ </object>
+ <object id="7" gid="5" x="32" y="192" width="32" height="32">
+ <properties>
+ <property name="direction" value="lr"/>
+ <property name="speed" type="int" value="120"/>
+ <property name="type" value="ball"/>
+ </properties>
+ </object>
+ <object id="8" gid="5" x="416" y="160" width="32" height="32">
+ <properties>
+ <property name="direction" value="lr"/>
+ <property name="speed" type="int" value="120"/>
+ <property name="type" value="ball"/>
+ </properties>
+ </object>
+ <object id="9" gid="5" x="576" y="288" width="32" height="32">
+ <properties>
+ <property name="direction" value="random"/>
+ <property name="speed" type="int" value="60"/>
+ <property name="type" value="ball"/>
+ </properties>
+ </object>
+ <object id="10" gid="6" x="480" y="448" width="32" height="32">
+ <properties>
+ <property name="type" value="target"/>
+ </properties>
+ </object>
</objectgroup>
</map>