commit 9cfbf8ab4398046a6078aa679f2648a58e7a3c06
parent bcb15af4e2f62d6847f04a3af19b1995e72332bf
Author: Erik Letson <hmagellan@hmagellan.com>
Date: Sat, 12 Sep 2020 15:15:13 -0500
resized tiles to correct dim
Diffstat:
3 files changed, 22 insertions(+), 20 deletions(-)
diff --git a/data/img/testtiles1.png b/data/img/testtiles1.png
Binary files differ.
diff --git a/data/map/testmap1.tmx b/data/map/testmap1.tmx
@@ -1,24 +1,26 @@
<?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">
+<map version="1.4" tiledversion="1.4.1" orientation="orthogonal" renderorder="right-down" width="18" height="18" tilewidth="64" tileheight="64" infinite="0" nextlayerid="2" nextobjectid="1">
<tileset firstgid="1" source="tsx/testtiles1.tsx"/>
- <layer id="1" name="Tile Layer 1" width="16" height="16">
+ <layer id="1" name="Tile Layer 1" width="18" height="18">
<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,3,3,3,
-1,1,1,1,2,2,1,1,1,1,1,1,3,3,4,4,
-1,1,1,1,1,2,2,1,1,1,1,3,3,4,4,4,
-1,1,1,1,1,1,2,2,1,1,3,3,4,4,4,4,
-1,1,1,1,1,1,1,2,1,1,3,4,4,4,4,4
+1,1,1,1,1,1,2,2,3,4,4,4,4,4,4,4,4,4,
+1,1,1,1,1,1,2,2,3,4,4,4,4,4,4,4,4,4,
+1,1,1,1,1,1,2,2,3,4,4,4,4,4,4,4,4,4,
+1,1,1,1,1,2,2,2,3,3,4,4,4,4,4,4,4,4,
+1,1,1,1,1,2,2,2,2,3,4,4,4,4,4,4,4,4,
+1,1,1,1,1,1,2,2,2,2,3,4,4,4,4,4,4,4,
+1,1,1,1,1,1,1,2,2,2,3,3,4,4,4,4,4,4,
+1,1,1,1,1,1,1,2,2,2,2,3,3,4,4,4,4,4,
+1,1,1,1,1,1,1,1,2,2,2,2,3,3,4,4,4,4,
+1,1,1,1,1,1,1,1,1,2,2,2,2,3,3,4,4,4,
+1,1,1,1,1,1,1,1,1,1,2,2,2,2,3,3,4,4,
+1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,3,3,4,
+1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,3,4,
+1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,3,3,
+1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,
+1,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,1,1,2,
+1,1,1,1,1,1,1,1,1,1,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
@@ -1,4 +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 version="1.4" tiledversion="1.4.1" name="testtiles1" tilewidth="64" tileheight="64" tilecount="4" columns="2">
+ <image source="../../img/testtiles1.png" trans="ff00ff" width="128" height="128"/>
</tileset>