diff options
author | Stefan Beller <stefanbeller@googlemail.com> | 2010-11-14 19:56:11 +0100 |
---|---|---|
committer | Stefan Beller <stefanbeller@googlemail.com> | 2010-11-20 20:21:02 +0100 |
commit | 0bc8034b04e852c69ffcf6e99563398e956a9672 (patch) | |
tree | 5fd7da2d528915e302dca97b61fa82581692f0fe /rules | |
parent | b98866cd80af1bb62b276dba7808da795672252b (diff) | |
download | clientdata-0bc8034b04e852c69ffcf6e99563398e956a9672.tar.gz clientdata-0bc8034b04e852c69ffcf6e99563398e956a9672.tar.bz2 clientdata-0bc8034b04e852c69ffcf6e99563398e956a9672.tar.xz clientdata-0bc8034b04e852c69ffcf6e99563398e956a9672.zip |
rules improved
Diffstat (limited to 'rules')
-rw-r--r-- | rules/cave/rule_cave.txt | 2 | ||||
-rw-r--r-- | rules/cave/rule_cave_001.tmx | 13 | ||||
-rw-r--r-- | rules/example_cave.tmx | 12 | ||||
-rw-r--r-- | rules/icemountain/rule_icemountain.txt | 2 |
4 files changed, 16 insertions, 13 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> diff --git a/rules/example_cave.tmx b/rules/example_cave.tmx index 876670f4..5e06bbcc 100644 --- a/rules/example_cave.tmx +++ b/rules/example_cave.tmx @@ -3,18 +3,6 @@ <tileset firstgid="1" name="set_cave" tilewidth="32" tileheight="32"> <image source="../graphics/tiles/set_cave.png" width="256" height="256"/> </tileset> - <tileset firstgid="65" name="collision" tilewidth="32" tileheight="32"> - <image source="../graphics/tiles/collision.png" width="64" height="32"/> - </tileset> - <tileset firstgid="67" name="cave" tilewidth="32" tileheight="32"> - <image source="../graphics/tiles/cave.png" width="512" height="256"/> - </tileset> - <tileset firstgid="195" name="cave_x2" tilewidth="32" tileheight="64"> - <image source="../graphics/tiles/cave_x2.png" width="512" height="64"/> - </tileset> - <tileset firstgid="211" name="set_rules" tilewidth="32" tileheight="32"> - <image source="../graphics/tiles/set_rules.png" width="64" height="64"/> - </tileset> <layer name="set" width="64" height="32" opacity="0.73"> <data encoding="base64" compression="gzip"> H4sIAAAAAAAAA+2X2wrCMAxA52WC8wKOKSj4MP//I2WgUEqSpkl6QftwGNtakpO0u/Rd1/WNRgPlyhizM4x3rsB5RUCNG4ixklhUvFL+EGvmOEkMjv8zo7/r6vc7Rc005Oo/hFubMYNraX/IMdTjR4U1sIwds8bvRn41+dfSP2v3zQfq3sLBO4fmhJ6htfj7Hpify4Rch/bIBbhmuX41czG/Y8Afq4/1+ufGkPhz/fxaUPOh/nPrcAt45/TfEvfGQF6zg+Q7isrL0l+z/6mcXP/lfG/kr9lLsT2Q9GImKO2f4/3v+r4U/hJS+nOfY1b9T+Ee6z94R2qc/z+k8Zbka+0v+X/9zhkQf04OkrytvqG0/tweST1y+qdyx3KIdbCglHttaB1OFThY8ms+jUaj8W+8Afgjpy8AIAAA diff --git a/rules/icemountain/rule_icemountain.txt b/rules/icemountain/rule_icemountain.txt index 3cce7ee5..c01afdb9 100644 --- a/rules/icemountain/rule_icemountain.txt +++ b/rules/icemountain/rule_icemountain.txt @@ -8,7 +8,7 @@ # dark red: below # the transitions "black<->dark red" and "black<->light red" can be mapped with # this ruleset. -# When you wan tto have more than 3 different heights, you should use the +# When you wan to have more than 3 different heights, you should use the # transition "light red<->dark red". So there is no wall at this transition and # you can start over from the red to black, having a wall to another height. |