commit 8c6c0330356fa0136888aca0bf8b14b881b5d5ae
parent a07588c18c895c528cf03d21691d4111fead6c08
Author: Erik Letson <hmagellan@hmagellan.com>
Date: Wed, 9 Sep 2020 18:28:51 -0500
Test map via Tiled
Diffstat:
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/data/map/testmap1.tmx b/data/map/testmap1.tmx
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.4" tiledversion="1.4.1" orientation="orthogonal" renderorder="right-down" width="16" height="16" tilewidth="32" tileheight="32" infinite="0" nextlayerid="2" nextobjectid="1">
+ <tileset firstgid="1" source="tsx/testtiles1.tsx"/>
+ <layer id="1" name="Tile Layer 1" width="16" height="16">
+ <data encoding="csv">
+4,3,3,1,1,1,1,2,2,2,2,1,1,1,1,1,
+4,4,3,3,1,2,2,2,1,1,1,1,1,1,1,1,
+3,4,4,3,2,2,1,1,1,1,1,1,1,1,1,1,
+3,3,4,4,3,3,3,1,1,1,1,1,1,1,1,1,
+1,3,3,4,4,4,3,3,1,1,1,1,1,3,3,3,
+1,1,3,3,4,4,4,3,3,1,1,1,3,3,4,4,
+1,1,2,3,3,3,4,4,3,3,3,3,3,4,4,3,
+1,1,2,1,1,3,3,4,4,4,4,4,4,4,3,3,
+1,1,2,1,1,1,3,3,4,4,4,4,4,3,3,1,
+1,2,2,1,1,1,1,3,3,3,3,3,3,3,1,1,
+2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,
+2,1,1,2,2,1,1,1,1,1,1,1,1,1,1,1,
+1,1,1,1,2,2,1,1,1,1,1,1,1,1,1,1,
+1,1,1,1,1,2,2,1,1,1,1,1,1,1,1,1,
+1,1,1,1,1,1,2,2,1,1,1,1,1,1,1,1,
+1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1
+</data>
+ </layer>
+</map>
diff --git a/data/map/tsx/testtiles1.tsx b/data/map/tsx/testtiles1.tsx
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<tileset version="1.4" tiledversion="1.4.1" name="testtiles1" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../../img/testtiles1.png" trans="ff00ff" width="64" height="64"/>
+</tileset>