summaryrefslogtreecommitdiff
path: root/mapcache/templates/example.tmx
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-02 13:16:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-02 13:16:26 +0300
commitee4f2984a63e73940d6d729a9ffe3211dc3b68ad (patch)
tree99fbc186f6f5e756816da7f191f2a024192d6b04 /mapcache/templates/example.tmx
parenta23e7cf3a06901565fd664b9609b1373d184a054 (diff)
downloadtools-ee4f2984a63e73940d6d729a9ffe3211dc3b68ad.tar.gz
tools-ee4f2984a63e73940d6d729a9ffe3211dc3b68ad.tar.bz2
tools-ee4f2984a63e73940d6d729a9ffe3211dc3b68ad.tar.xz
tools-ee4f2984a63e73940d6d729a9ffe3211dc3b68ad.zip
add map cache tool for extract mapcache.dat.
Diffstat (limited to 'mapcache/templates/example.tmx')
-rw-r--r--mapcache/templates/example.tmx38
1 files changed, 38 insertions, 0 deletions
diff --git a/mapcache/templates/example.tmx b/mapcache/templates/example.tmx
new file mode 100644
index 0000000..1d14957
--- /dev/null
+++ b/mapcache/templates/example.tmx
@@ -0,0 +1,38 @@
+<?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="10" height="10" tilewidth="32" tileheight="32">
+ <tileset firstgid="1" name="tiles" tilewidth="32" tileheight="32">
+ <image source="tileset.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="Collision" tilewidth="32" tileheight="32">
+ <image source="collision.png" width="64" height="32"/>
+ </tileset>
+ <layer name="ground" width="10" height="10">
+ <data encoding="csv">
+1,2,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Collision" width="10" height="10">
+ <data encoding="csv">
+4,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>