summaryrefslogtreecommitdiff
path: root/hercules/templates/example.tmx
diff options
context:
space:
mode:
Diffstat (limited to 'hercules/templates/example.tmx')
-rw-r--r--hercules/templates/example.tmx38
1 files changed, 38 insertions, 0 deletions
diff --git a/hercules/templates/example.tmx b/hercules/templates/example.tmx
new file mode 100644
index 0000000..1d14957
--- /dev/null
+++ b/hercules/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>