summaryrefslogtreecommitdiffstats
path: root/games/classic
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-03-14 13:15:18 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-03-14 13:15:18 (EDT)
commit2dd861e04a8c27448adbe7ffb5f5ef3cd4d6a143 (patch)
tree478cf27224dcfdaed03960f1da68b0dc8c0d2b1f /games/classic
parent16aff8bad034986303e715fb3382b6111a01b212 (diff)
downloaddodge-balls-2dd861e04a8c27448adbe7ffb5f5ef3cd4d6a143.zip
dodge-balls-2dd861e04a8c27448adbe7ffb5f5ef3cd4d6a143.tar.gz
dodge-balls-2dd861e04a8c27448adbe7ffb5f5ef3cd4d6a143.tar.bz2
games/classic: Add collision properties
Diffstat (limited to 'games/classic')
-rw-r--r--games/classic/tileset.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/classic/tileset.tsx b/games/classic/tileset.tsx
index b8d13c7..e3db295 100644
--- a/games/classic/tileset.tsx
+++ b/games/classic/tileset.tsx
@@ -1,4 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset name="tileset" tilewidth="32" tileheight="32" tilecount="6" columns="3">
<image source="tileset.png" width="96" height="64"/>
+ <tile id="1">
+ <properties>
+ <property name="ballcollides" type="bool" value="true"/>
+ <property name="playercollides" type="bool" value="true"/>
+ </properties>
+ </tile>
+ <tile id="2">
+ <properties>
+ <property name="ballcollides" type="bool" value="true"/>
+ <property name="playercollides" type="bool" value="false"/>
+ </properties>
+ </tile>
</tileset>