diff options
Diffstat (limited to 'rules/cave')
-rw-r--r-- | rules/cave/rule_cave.txt | 2 | ||||
-rw-r--r-- | rules/cave/rule_cave_001.tmx | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/rules/cave/rule_cave.txt b/rules/cave/rule_cave.txt index fc567ece..8308c683 100644 --- a/rules/cave/rule_cave.txt +++ b/rules/cave/rule_cave.txt @@ -4,6 +4,8 @@ # Rules for caves # basic stuff: each rule-tile gets a default tile +# here is a map attribute set: "DeleteTiles := true" This means to delete all +# tiles in all touched tileslayers first. ./rule_cave_001.tmx # straight walls: diff --git a/rules/cave/rule_cave_001.tmx b/rules/cave/rule_cave_001.tmx index c520e25a..e1788147 100644 --- a/rules/cave/rule_cave_001.tmx +++ b/rules/cave/rule_cave_001.tmx @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <map version="1.0" orientation="orthogonal" width="17" height="17" tilewidth="32" tileheight="32"> + <properties> + <property name="DeleteTiles" value="true"/> + </properties> <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32"> <image source="../../graphics/tiles/collision.png" width="64" height="32"/> </tileset> @@ -40,4 +43,14 @@ H4sIAAAAAAAAA2NgoA1gIsCnFaCXPYQAExpNqjy93UEvMFjiZxQMHgAAgZ1QGoQEAAA= </data> </layer> + <layer name="rule_Over" width="17" height="17"> + <data encoding="base64" compression="gzip"> + H4sIAAAAAAAAA2NgGAWjYBSMgoEDAJPZHwSEBAAA + </data> + </layer> + <layer name="rule_Error" width="17" height="17"> + <data encoding="base64" compression="gzip"> + H4sIAAAAAAAAA2NgGAWjYBSMgoEDAJPZHwSEBAAA + </data> + </layer> </map> |