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/level02.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/level02.tmx')
-rw-r--r-- | games/classic/level02.tmx | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/games/classic/level02.tmx b/games/classic/level02.tmx index cd3d9a9..25c7050 100644 --- a/games/classic/level02.tmx +++ b/games/classic/level02.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="9"> + <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,9 +10,29 @@ </data> </layer> <objectgroup name="Object Layer 1"> - <object id="2" gid="4" x="64" y="416" width="32" height="32"/> - <object id="6" gid="5" x="96" y="192" width="32" height="32"/> - <object id="7" gid="5" x="448" y="416" width="32" height="32"/> - <object id="8" gid="6" x="544" y="128" width="32" height="32"/> + <object id="2" gid="4" x="64" y="416" width="32" height="32"> + <properties> + <property name="type" value="player"/> + </properties> + </object> + <object id="6" gid="5" x="96" 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="7" gid="5" x="448" y="416" 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="8" gid="6" x="544" y="128" width="32" height="32"> + <properties> + <property name="type" value="target"/> + </properties> + </object> </objectgroup> </map> |