diff options
author | Patrick 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) |
commit | d8a21f482778a14dc39c637923fa8bd422a656ee (patch) | |
tree | 2bc82bd10caec0b37249236842fe3b34698fa4bf /games/classic/level09.tmx | |
parent | 2dd861e04a8c27448adbe7ffb5f5ef3cd4d6a143 (diff) | |
download | dodge-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/level09.tmx')
-rw-r--r-- | games/classic/level09.tmx | 71 |
1 files changed, 62 insertions, 9 deletions
diff --git a/games/classic/level09.tmx b/games/classic/level09.tmx index 86cf250..1497271 100644 --- a/games/classic/level09.tmx +++ b/games/classic/level09.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="14"> + <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,14 +10,64 @@ </data> </layer> <objectgroup name="Object Layer 1"> - <object id="2" gid="4" x="32" y="448" width="32" height="32"/> - <object id="6" gid="5" x="128" y="448" width="32" height="32"/> - <object id="7" gid="5" x="96" y="288" width="32" height="32"/> - <object id="8" gid="5" x="96" y="128" width="32" height="32"/> - <object id="9" gid="5" x="192" y="128" width="32" height="32"/> - <object id="10" gid="5" x="544" y="64" width="32" height="32"/> - <object id="11" gid="5" x="288" y="192" width="32" height="32"/> - <object id="12" gid="5" x="544" y="448" width="32" height="32"/> - <object id="13" gid="6" x="256" y="448" width="32" height="32"/> + <object id="2" gid="4" x="32" y="448" width="32" height="32"> + <properties> + <property name="type" value="player"/> + </properties> + </object> + <object id="6" gid="5" x="128" y="448" 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="7" gid="5" x="96" 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="8" gid="5" x="96" y="128" 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="192" y="128" 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="10" gid="5" x="544" y="64" 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="11" gid="5" x="288" y="192" width="32" height="32"> + <properties> + <property name="direction" value="random"/> + <property name="speed" type="int" value="120"/> + <property name="type" value="ball"/> + </properties> + </object> + <object id="12" gid="5" x="544" y="448" width="32" height="32"> + <properties> + <property name="direction" value="random"/> + <property name="speed" type="int" value="120"/> + <property name="type" value="ball"/> + </properties> + </object> + <object id="13" gid="6" x="256" y="448" width="32" height="32"> + <properties> + <property name="type" value="target"/> + </properties> + </object> </objectgroup> </map> |