summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-24 01:20:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-24 01:20:22 +0300
commit5fc287a31fd77187840eb92c32e7e9ba4dfcd282 (patch)
treea7c395137fb0da5b6baeecc26a360f3e6db4ca1c
parentfd589a802fbc7570916f5418a88f33da5c92bd21 (diff)
downloadclientdata-5fc287a31fd77187840eb92c32e7e9ba4dfcd282.tar.gz
clientdata-5fc287a31fd77187840eb92c32e7e9ba4dfcd282.tar.bz2
clientdata-5fc287a31fd77187840eb92c32e7e9ba4dfcd282.tar.xz
clientdata-5fc287a31fd77187840eb92c32e7e9ba4dfcd282.zip
Add to test map switchable layers.
-rw-r--r--maps/test.tmx22
1 files changed, 22 insertions, 0 deletions
diff --git a/maps/test.tmx b/maps/test.tmx
index f15e5033..40587644 100644
--- a/maps/test.tmx
+++ b/maps/test.tmx
@@ -1,10 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map SYSTEM "http://mapeditor.org/dtd/1.0/map.dtd">
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="100" height="100" tilewidth="32" tileheight="32">
+ <properties>
+ <property name="manaplus version" value="2"/>
+ <property name="overlay0image" value="graphics/images/ambient/fog.png"/>
+ <property name="overlay0mask" value="2"/>
+ <property name="overlay0parallax" value="1.0"/>
+ <property name="overlay0scrollX" value="0.3"/>
+ <property name="overlay0scrollY" value="0.2"/>
+ </properties>
<tileset firstgid="1" name="artis-indoor" tilewidth="32" tileheight="32">
<image source="../graphics/tilesets/artis-indoor.png" width="512" height="512"/>
</tileset>
+ <tileset firstgid="257" name="Ground" tilewidth="32" tileheight="32">
+ <image source="../graphics/tilesets/ground.png" width="512" height="512"/>
+ </tileset>
+ <layer name="Grass" width="100" height="100">
+ <properties>
+ <property name="Mask" value="8"/>
+ </properties>
+ <data encoding="base64" compression="zlib">
+ eJzt1rENACAIRUHYfwuHYS5jr7VEr7j+h9dQGVEAAPChEWe3t/1o3T039NADPbrRoxc9evFfAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IoJ9ZpIZQ==
+ </data>
+ </layer>
<layer name="Ground" width="100" height="100">
+ <properties>
+ <property name="Mask" value="4"/>
+ </properties>
<data encoding="base64" compression="zlib">
eJzt1rENACAIAEHYfwuXcw1rC20hesX1hA8JGREJAAAfGhfVs/3otHc99GDf+9SjnPvoRY9e/FcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC8YgFJ/DcP
</data>