summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2010-12-19 17:15:57 +0100
committerStefan Beller <stefanbeller@googlemail.com>2010-12-19 17:15:57 +0100
commit49fde7df635bca1c028f5157d4bf4a2881080ebd (patch)
treeef93dfa307cb8ca7a183124da05f2bdb4d308060 /rules
parentab1ce080444c7f0d3147bf2abf22f6d2ecfb864a (diff)
downloadclientdata-49fde7df635bca1c028f5157d4bf4a2881080ebd.tar.gz
clientdata-49fde7df635bca1c028f5157d4bf4a2881080ebd.tar.bz2
clientdata-49fde7df635bca1c028f5157d4bf4a2881080ebd.tar.xz
clientdata-49fde7df635bca1c028f5157d4bf4a2881080ebd.zip
improving the rules for cave maps
Diffstat (limited to 'rules')
-rw-r--r--rules/cave/rule_cave_001.tmx3
-rw-r--r--rules/cave/rule_cave_002.tmx11
-rw-r--r--rules/cave/rule_cave_004.tmx9
-rw-r--r--rules/cave/rule_cave_005.tmx9
-rw-r--r--rules/cave/rule_cave_006.tmx14
-rw-r--r--rules/cave/rule_cave_010.tmx2
-rw-r--r--rules/example_cave.tmx30
7 files changed, 53 insertions, 25 deletions
diff --git a/rules/cave/rule_cave_001.tmx b/rules/cave/rule_cave_001.tmx
index 871436b4..d3997d9a 100644
--- a/rules/cave/rule_cave_001.tmx
+++ b/rules/cave/rule_cave_001.tmx
@@ -2,6 +2,7 @@
<!DOCTYPE map SYSTEM "http://mapeditor.org/dtd/1.0/map.dtd">
<map version="1.0" orientation="orthogonal" width="17" height="17" tilewidth="32" tileheight="32">
<properties>
+ <property name="AutomappingRadius" value="1"/>
<property name="DeleteTiles" value="true"/>
</properties>
<tileset firstgid="1" name="collision" tilewidth="32" tileheight="32">
@@ -39,7 +40,7 @@
H4sIAAAAAAAAA2NgoC1opLH5xIKJA2RvAhp/IZ3tPwilj9PZXlwgYaAdMAoGHQAA9etQ4oQEAAA=
</data>
</layer>
- <layer name="rule_collision" width="17" height="17">
+ <layer name="rule_Collision" width="17" height="17">
<data encoding="base64" compression="gzip">
H4sIAAAAAAAAA2NgoA1gIsCnFaCXPYQAExpNqjy93UEvMFjiZxQMHgAAgZ1QGoQEAAA=
</data>
diff --git a/rules/cave/rule_cave_002.tmx b/rules/cave/rule_cave_002.tmx
index f0eafcc0..eb2d7fb8 100644
--- a/rules/cave/rule_cave_002.tmx
+++ b/rules/cave/rule_cave_002.tmx
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE map SYSTEM "http://mapeditor.org/dtd/1.0/map.dtd">
<map version="1.0" orientation="orthogonal" width="8" height="6" tilewidth="32" tileheight="32">
<tileset firstgid="1" name="collision" tilewidth="32" tileheight="32">
<image source="../../graphics/tiles/collision.png" width="64" height="32"/>
@@ -7,9 +8,9 @@
<image source="../../graphics/tiles/set_cave.png" width="256" height="256"/>
</tileset>
<tileset firstgid="67" name="set_rules" tilewidth="32" tileheight="32">
- <image source="../../graphics/tiles/set_rules.png" width="32" height="32"/>
+ <image source="../../graphics/tiles/set_rules.png" width="64" height="64"/>
</tileset>
- <tileset firstgid="68" name="cave" tilewidth="32" tileheight="32">
+ <tileset firstgid="71" name="cave" tilewidth="32" tileheight="32">
<image source="../../graphics/tiles/cave.png" width="512" height="256"/>
</tileset>
<layer name="ruleRegions" width="8" height="6">
@@ -29,15 +30,15 @@
</layer>
<layer name="rule_Ground" width="8" height="6" visible="0">
<data encoding="base64" compression="gzip">
- H4sIAAAAAAAAA2NgIAwyCMhXYBELR2J3EGEHMogkQS0AWGap4MAAAAA=
+ H4sIAAAAAAAAA2NgIAyyCchXYxGLQmJ3E2EHMoghQS0Ao0NRssAAAAA=
</data>
</layer>
<layer name="rule_Over" width="8" height="6" visible="0">
<data encoding="base64" compression="gzip">
- H4sIAAAAAAAAA2NgoB+IpoGZADCMP5TAAAAA
+ H4sIAAAAAAAAA2NgoB+Io4GZAIKpQ33AAAAA
</data>
</layer>
- <layer name="rule_collision" width="8" height="6" visible="0">
+ <layer name="rule_Collision" width="8" height="6" visible="0">
<data encoding="base64" compression="gzip">
H4sIAAAAAAAAA2NgIAyYyJBnIiCPzxxi1YMAADYuyefAAAAA
</data>
diff --git a/rules/cave/rule_cave_004.tmx b/rules/cave/rule_cave_004.tmx
index 40d78537..50dc1180 100644
--- a/rules/cave/rule_cave_004.tmx
+++ b/rules/cave/rule_cave_004.tmx
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE map SYSTEM "http://mapeditor.org/dtd/1.0/map.dtd">
<map version="1.0" orientation="orthogonal" width="7" height="7" tilewidth="32" tileheight="32">
<tileset firstgid="1" name="collision" tilewidth="32" tileheight="32">
<image source="../../graphics/tiles/collision.png" width="64" height="32"/>
@@ -7,9 +8,9 @@
<image source="../../graphics/tiles/set_cave.png" width="256" height="256"/>
</tileset>
<tileset firstgid="67" name="set_rules" tilewidth="32" tileheight="32">
- <image source="../../graphics/tiles/set_rules.png" width="32" height="32"/>
+ <image source="../../graphics/tiles/set_rules.png" width="64" height="64"/>
</tileset>
- <tileset firstgid="68" name="cave" tilewidth="32" tileheight="32">
+ <tileset firstgid="71" name="cave" tilewidth="32" tileheight="32">
<image source="../../graphics/tiles/cave.png" width="512" height="256"/>
</tileset>
<layer name="ruleRegions" width="7" height="7">
@@ -29,10 +30,10 @@
</layer>
<layer name="rule_Ground" width="7" height="7" visible="0">
<data encoding="base64" compression="gzip">
- H4sIAAAAAAAAA2NgIAxyoHQWFrkaKF2FRa4HSncRYQclAAAu4il9xAAAAA==
+ H4sIAAAAAAAAA2NgIAzyoXQuFrl6KF2LRa4fSvcSYQclAAD6CzmwxAAAAA==
</data>
</layer>
- <layer name="rule_collision" width="7" height="7">
+ <layer name="rule_Collision" width="7" height="7">
<data encoding="base64" compression="gzip">
H4sIAAAAAAAAA2NgwA+YoBidTYkcA5ocpQAAeqBqScQAAAA=
</data>
diff --git a/rules/cave/rule_cave_005.tmx b/rules/cave/rule_cave_005.tmx
index 385891e2..21b34b6e 100644
--- a/rules/cave/rule_cave_005.tmx
+++ b/rules/cave/rule_cave_005.tmx
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE map SYSTEM "http://mapeditor.org/dtd/1.0/map.dtd">
<map version="1.0" orientation="orthogonal" width="13" height="7" tilewidth="32" tileheight="32">
<tileset firstgid="1" name="collision" tilewidth="32" tileheight="32">
<image source="../../graphics/tiles/collision.png" width="64" height="32"/>
@@ -7,9 +8,9 @@
<image source="../../graphics/tiles/set_cave.png" width="256" height="256"/>
</tileset>
<tileset firstgid="67" name="set_rules" tilewidth="32" tileheight="32">
- <image source="../../graphics/tiles/set_rules.png" width="32" height="32"/>
+ <image source="../../graphics/tiles/set_rules.png" width="64" height="64"/>
</tileset>
- <tileset firstgid="68" name="cave" tilewidth="32" tileheight="32">
+ <tileset firstgid="71" name="cave" tilewidth="32" tileheight="32">
<image source="../../graphics/tiles/cave.png" width="512" height="256"/>
</tileset>
<layer name="ruleRegions" width="13" height="7">
@@ -29,10 +30,10 @@
</layer>
<layer name="rule_Ground" width="13" height="7" visible="0">
<data encoding="base64" compression="gzip">
- H4sIAAAAAAAAA2NgIB+EQukwEvSkQuk0NPF0KJ2JRU8plC5DEy+H0pVY9LRC6TY08XYo3YnHjbQCAPlEcUlsAQAA
+ H4sIAAAAAAAAA2NgIB9EQOlIEvRkQOlMNPEsKJ2DRU8FlK5EE6+C0jVY9HRA6U408S4o3YPHjbQCANIIx+JsAQAA
</data>
</layer>
- <layer name="rule_collision" width="13" height="7">
+ <layer name="rule_Collision" width="13" height="7">
<data encoding="base64" compression="gzip">
H4sIAAAAAAAAA2NgIB8wodGU6MFnFr300BoAAErWG9FsAQAA
</data>
diff --git a/rules/cave/rule_cave_006.tmx b/rules/cave/rule_cave_006.tmx
index 20638185..5dc88e2d 100644
--- a/rules/cave/rule_cave_006.tmx
+++ b/rules/cave/rule_cave_006.tmx
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE map SYSTEM "http://mapeditor.org/dtd/1.0/map.dtd">
<map version="1.0" orientation="orthogonal" width="6" height="6" tilewidth="32" tileheight="32">
<tileset firstgid="1" name="collision" tilewidth="32" tileheight="32">
<image source="../../graphics/tiles/collision.png" width="64" height="32"/>
@@ -7,9 +8,9 @@
<image source="../../graphics/tiles/set_cave.png" width="256" height="256"/>
</tileset>
<tileset firstgid="67" name="set_rules" tilewidth="32" tileheight="32">
- <image source="../../graphics/tiles/set_rules.png" width="32" height="32"/>
+ <image source="../../graphics/tiles/set_rules.png" width="64" height="64"/>
</tileset>
- <tileset firstgid="68" name="cave" tilewidth="32" tileheight="32">
+ <tileset firstgid="71" name="cave" tilewidth="32" tileheight="32">
<image source="../../graphics/tiles/cave.png" width="512" height="256"/>
</tileset>
<layer name="ruleRegions" width="6" height="6">
@@ -67,14 +68,9 @@
H4sIAAAAAAAAA2NgwA1YcbBJBaSYAwDn/W5LkAAAAA==
</data>
</layer>
- <layer name="rule_Ground" width="6" height="6" visible="0">
+ <layer name="rule_Ground" width="6" height="6">
<data encoding="base64" compression="gzip">
- H4sIAAAAAAAAA2NgIAw2o/EXEaHnEBp/IxF6QAAAyo+EwZAAAAA=
- </data>
- </layer>
- <layer name="rule_Over" width="6" height="6" visible="0">
- <data encoding="base64" compression="gzip">
- H4sIAAAAAAAAA2NgGFwAAJwFCnCQAAAA
+ H4sIAAAAAAAAA2NgIAy2ofGXEqHnKBp/CxF6QAAAOgJv95AAAAA=
</data>
</layer>
</map>
diff --git a/rules/cave/rule_cave_010.tmx b/rules/cave/rule_cave_010.tmx
index fc4ae37b..97fff42a 100644
--- a/rules/cave/rule_cave_010.tmx
+++ b/rules/cave/rule_cave_010.tmx
@@ -43,7 +43,7 @@
H4sIAAAAAAAAA2NgoC5oQuM3o/EDoXQwle1FB4VQuphCcyah8SdTYBYAy7rYPmwBAAA=
</data>
</layer>
- <layer name="rule_collision" width="13" height="7" visible="0">
+ <layer name="rule_Collision" width="13" height="7" visible="0">
<data encoding="base64" compression="gzip">
H4sIAAAAAAAAA2NgGAX0AgB8n9a4bAEAAA==
</data>
diff --git a/rules/example_cave.tmx b/rules/example_cave.tmx
index a12a8a1e..3e777f85 100644
--- a/rules/example_cave.tmx
+++ b/rules/example_cave.tmx
@@ -13,9 +13,37 @@
<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">
<data encoding="base64" compression="gzip">
- H4sIAAAAAAAAA+3OsQ0AAAgDoDr4/8ueoSYM7HSSBgAAVtWBAwAAAADw2wAbxVQ5ACAAAA==
+ H4sIAAAAAAAAA+2VTQ+CMAyGZ+YORj2Q6MUb/v8faUgwNqZCP9atSA9PCAmwPm+7UVJKJQiCwIi7gxpac1ihd329vLeSQZ6xcveeA8df6u3Zv0bfhx34r7mNgOn+sUP/J/Cn9H9LuXD7T8lA6986P8znRMjG6lzw4F8LuAbVT5pjTrb/fcvMtP4ZoWYG1Oc53116hjvDmD8ng6W6tDNK8RsBgxP/gtzD9c7zldovqj/XXZKB9tyevntk5qyZ75r+3L3+a52LM38qkjMZ6/0tffYBd81/8JeeL70z0Li//Sk99zoD2v0vrd/LDPTy98J3/Vfl+0EQBEF7XhsOHwAAIAAA
+ </data>
+ </layer>
+ <layer name="Ground" width="64" height="32">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA+2Y204CMRCG+3JeeYwCNx4jCDEeIyrxFlTiO+DhHkUfwKiP5jR0wmTSbadd7K7JXnzJsum2/ad/Z0brSql6RcUc2QAOPKyXYJ9/pbsJXBlWgFVgjbzT7Jc4Bh1yTocB2lF3F7gz7AC7wB55p7kwMQhZIxU9ck43wlg1ie4BsGA4Bc6Ac/JO0zcxkKyRmiE5pwdhrLpMt4S+cI3UNIAn4AWoec6+bTnzUFxrFKX/C/jx7E2f/XUO3Tb9MbmnKPQ9uXfoGgv1t9SsFoTknixPpopfQ6BtEVgClh1jLtWsFuB9is0LeeM3b/2bwBaw7Rhzq2a1gN4n9AX2FfQ5q4eiubul5D7gPZukN5HoPwKOgRPPOKwF9D6hL7CvoM/4m++3wb6X+KDD5sW588TgUxAbH+gL7CvoM/7msWiz7yX3qMfmxbn1nD7vSDyQB+2LgeWZeobGwlaPfPV1aObVNf9ZTes+9mc+74Tor0V8ExInfn+k+rHfeQPegVcSA51DuAd4rmhb1nTtwaVfOg7HZo0J6an0HBOjHcEY6BxCPWDLFdxzfF+8v7HFK2u/En16DK2z4wj9ut97ZDH4UNMcQvOHLVdwz9G6w/eKPSO9a77zssWM66d1JqafdnmAzoe5wuVLV93BnnHiWMOWn7nHbPcyD+iBb8aPJda+u+6qOzzXoM9c+m19Nr+XqYjJ91k+G2XEWLKmjvG8PZBS/0ig27dmER6Q6nflc8nf1lIPpP7fiUS/1Mt59YfO8Z/1lwW+f6o75vui9eQlVH9FRUVFWfgFcduvfQAgAAA=
+ </data>
+ </layer>
+ <layer name="Fringe" width="64" height="32">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA+3SAQ2AMAADwemclUlAwuRgbEEEeRLuFHzSjgEAAO+564DArAMAgM9YdUDsqgNCz/a7jgj9/fsAAJUDnlNqZwAgAAA=
+ </data>
+ </layer>
+ <layer name="Over" width="64" height="32">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA+2YUQ6DIBBE92r91AtYT6y9VSHtJhuidiFF0LyX7B/i7ASHjSIAAAAAIkOo57fGxloAoE9iTsytRcBlmORzp9zpzHi/gdi75y5Vjzw+TQdr7D5n3+GpLk/vqteuO/JW9+w1g/6lS2exnL28Z82+o4aHqr32+bPzKjNrGamH+HkOW7l3B7yZ7+m714zfIzd/4Td7+dTSZztj9aKpNum/oYepkuevzhJqDfVqLQQAIJM3pfFY1QAgAAA=
+ </data>
+ </layer>
+ <layer name="Error" width="64" height="32">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA+3BAQ0AAADCoPdPbQ43oAAAAAAAAACAdwOUmfTYACAAAA==
+ </data>
+ </layer>
+ <layer name="Collision" width="64" height="32">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA+1WWw7EIAjs/Y/Vk+2vISDDs+o6SZNdlSmDPPo8F5V4h+df8ILPaUB1nxgDj/YT4uDVc6p+r+2OyLrD3fVn8FDOHfJC8xH1f+SJ6u+Mn9c/bi1rLqyoXzsn+eyZm53zNZPXq5/aSfYVmHFn9cXIt1RHHXTUGO2NdA+piUr/OmwQzi790f6izUyUV6u/ivxHco7LU2mP49XOcn7M3p8Ji36kJ3NnZlzjOvd7tKmAJS/R2Gic2h1H69EChFvrRdn6O2F550w//a/pl3i6Y5Cp39LnpfVV9Wv5Pzvj4epCxF9qH80lK0cGUP3InlU/MnurIX2foD559a8CTmfkHi8uLi6+wg8T8SqLACAAAA==
</data>
</layer>
</map>