Tiled 1.9 Compatibility Update

This commit is contained in:
Darren Eberly
2022-08-02 20:28:19 -04:00
parent ddf314e4f0
commit 54ad83245f
107 changed files with 549 additions and 425 deletions

View File

@@ -100,7 +100,7 @@ EXPECTED = [
size=common_types.Size(69.3333333333333, 52.6666666666667),
coordinates=common_types.OrderedPair(46.3333333333333, 39),
visible=True,
type="",
class_="",
)
],
),

View File

@@ -3,7 +3,12 @@
"infinite":false,
"layers":[
{
"data":[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48],
"data":[1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32,
33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48],
"height":6,
"id":1,
"name":"Tile Layer 1",
@@ -34,11 +39,11 @@
"name":"Object Layer 1",
"objects":[
{
"class":"",
"height":52.6666666666667,
"id":1,
"name":"",
"rotation":0,
"type":"",
"visible":true,
"width":69.3333333333333,
"x":46.3333333333333,
@@ -88,7 +93,7 @@
"nextobjectid":3,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.7.2",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -97,6 +102,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="6" nextobjectid="3">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="6" nextobjectid="3">
<tileset firstgid="1" source="tileset.tsx"/>
<layer id="1" name="Tile Layer 1" width="8" height="6" tintcolor="#aaffff" offsetx="1" offsety="3" parallaxx="1.4" parallaxy="1.3">
<properties>

View File

@@ -6,9 +6,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -92,7 +92,7 @@ EXPECTED = [
size=common_types.Size(69.3333333333333, 52.6666666666667),
coordinates=common_types.OrderedPair(46.3333333333333, 39),
visible=True,
type="",
class_="",
)
],
),

View File

@@ -25,11 +25,11 @@
"name":"Object Layer 1",
"objects":[
{
"class":"",
"height":52.6666666666667,
"id":1,
"name":"",
"rotation":0,
"type":"",
"visible":true,
"width":69.3333333333333,
"x":46.3333333333333,
@@ -63,7 +63,7 @@
"nextobjectid":3,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -72,6 +72,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="5" nextobjectid="3">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="5" nextobjectid="3">
<tileset firstgid="1" source="../all_layer_types/tileset.tsx"/>
<layer id="1" name="Tile Layer 1" width="8" height="6">
<data encoding="base64">

View File

@@ -6,9 +6,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -92,7 +92,7 @@ EXPECTED = [
size=common_types.Size(69.3333333333333, 52.6666666666667),
coordinates=common_types.OrderedPair(46.3333333333333, 39),
visible=True,
type="",
class_="",
)
],
),

View File

@@ -25,11 +25,11 @@
"name":"Object Layer 1",
"objects":[
{
"class":"",
"height":52.6666666666667,
"id":1,
"name":"",
"rotation":0,
"type":"",
"visible":true,
"width":69.3333333333333,
"x":46.3333333333333,
@@ -63,7 +63,7 @@
"nextobjectid":3,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -72,6 +72,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="5" nextobjectid="3">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="5" nextobjectid="3">
<tileset firstgid="1" source="../all_layer_types/tileset.tsx"/>
<layer id="1" name="Tile Layer 1" width="8" height="6">
<data encoding="base64" compression="gzip">
H4sIAAAAAAAACg3DBRKCQAAAwDMRA7BQLMTE9v+vY3dmWyGEth279uwbOTB26MixExNTM6fOnLtwae7KtYUbt+7ce7D0aOXJsxev3rxb+/Dpy7cfv/782wAcvDirwAAAAA==
H4sIAAAAAAAAAw3DBRKCQAAAwDMRA7BQLMTE9v+vY3dmWyGEth279uwbOTB26MixExNTM6fOnLtwae7KtYUbt+7ce7D0aOXJsxev3rxb+/Dpy7cfv/782wAcvDirwAAAAA==
</data>
</layer>
<group id="4" name="Group 1">

View File

@@ -6,9 +6,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -92,7 +92,7 @@ EXPECTED = [
size=common_types.Size(69.3333333333333, 52.6666666666667),
coordinates=common_types.OrderedPair(46.3333333333333, 39),
visible=True,
type="",
class_="",
)
],
),

View File

@@ -25,11 +25,11 @@
"name":"Object Layer 1",
"objects":[
{
"class":"",
"height":52.6666666666667,
"id":1,
"name":"",
"rotation":0,
"type":"",
"visible":true,
"width":69.3333333333333,
"x":46.3333333333333,
@@ -63,7 +63,7 @@
"nextobjectid":3,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -72,6 +72,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="5" nextobjectid="3">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="5" nextobjectid="3">
<tileset firstgid="1" source="../all_layer_types/tileset.tsx"/>
<layer id="1" name="Tile Layer 1" width="8" height="6">
<data encoding="base64" compression="zlib">

View File

@@ -6,9 +6,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -25,11 +25,11 @@
"name":"Object Layer 1",
"objects":[
{
"class":"",
"height":52.6666666666667,
"id":1,
"name":"",
"rotation":0,
"type":"",
"visible":true,
"width":69.3333333333333,
"x":46.3333333333333,
@@ -63,7 +63,7 @@
"nextobjectid":3,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.8.5",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -72,6 +72,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.8",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.8" tiledversion="1.8.5" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="5" nextobjectid="3">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="5" nextobjectid="3">
<tileset firstgid="1" source="../all_layer_types/tileset.json"/>
<layer id="1" name="Tile Layer 1" width="8" height="6">
<data encoding="base64" compression="zstd">

View File

@@ -6,7 +6,7 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.8.5",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",

View File

@@ -17,14 +17,28 @@
{
"chunks":[
{
"data":[1, 2, 3, 4, 9, 10, 11, 12, 17, 18, 19, 20, 25, 26, 27, 28, 33, 34, 35, 36, 41, 42, 43, 44, 0, 0, 0, 0, 0, 0, 0, 0],
"data":[1, 2, 3, 4,
9, 10, 11, 12,
17, 18, 19, 20,
25, 26, 27, 28,
33, 34, 35, 36,
41, 42, 43, 44,
0, 0, 0, 0,
0, 0, 0, 0],
"height":8,
"width":4,
"x":0,
"y":0
},
{
"data":[5, 6, 7, 8, 13, 14, 15, 16, 21, 22, 23, 24, 29, 30, 31, 32, 37, 38, 39, 40, 45, 46, 47, 48, 0, 0, 0, 0, 0, 0, 0, 0],
"data":[5, 6, 7, 8,
13, 14, 15, 16,
21, 22, 23, 24,
29, 30, 31, 32,
37, 38, 39, 40,
45, 46, 47, 48,
0, 0, 0, 0,
0, 0, 0, 0],
"height":8,
"width":4,
"x":4,
@@ -54,7 +68,7 @@
"nextobjectid":3,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -63,6 +77,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="1" nextlayerid="6" nextobjectid="3">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="1" nextlayerid="6" nextobjectid="3">
<editorsettings>
<chunksize width="4" height="8"/>
<export target="../tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/tests/test_data/layer_tests/all_layer_types"/>

View File

@@ -37,7 +37,7 @@
"nextobjectid":3,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -46,6 +46,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="1" nextlayerid="6" nextobjectid="3">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="1" nextlayerid="6" nextobjectid="3">
<tileset firstgid="1" source="../all_layer_types/tileset.tsx"/>
<layer id="1" name="Tile Layer 1" width="16" height="16" offsetx="1" offsety="3">
<properties>

View File

@@ -42,7 +42,7 @@
"value":"Hello, World!!"
}],
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -51,6 +51,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="2" nextobjectid="1">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="2" nextobjectid="1">
<properties>
<property name="bool property - false" type="bool" value="false"/>
<property name="bool property - true" type="bool" value="true"/>

View File

@@ -6,9 +6,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -29,7 +29,7 @@
"id":1,
"name":"",
"rotation":0,
"type":"",
"class":"",
"visible":true,
"width":69.3333333333333,
"x":46.3333333333333,

View File

@@ -38,7 +38,7 @@
"value":"Hello, World!!"
}],
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -47,6 +47,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" backgroundcolor="#ff0004" nextlayerid="2" nextobjectid="1">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" backgroundcolor="#ff0004" nextlayerid="2" nextobjectid="1">
<properties>
<property name="bool property - true" type="bool" value="true"/>
<property name="color property" type="color" value="#ff49fcff"/>

View File

@@ -6,9 +6,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.6" tiledversion="1.6.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -6,7 +6,7 @@
"nextobjectid":1,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -24,6 +24,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="2" nextobjectid="1">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="2" nextobjectid="1">
<tileset firstgid="1" name="tileset" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -104,7 +104,7 @@ EXPECTED = tiled_map.TiledMap(
image_height=32,
image_width=32,
properties={"float property": 2.2},
type="tile",
class_="tile",
),
1: tileset.Tile(
id=1,
@@ -126,7 +126,7 @@ EXPECTED = tiled_map.TiledMap(
14.4766410408043, 13.7196924896511
),
rotation=0,
type="",
class_="",
visible=True,
coordinates=common_types.OrderedPair(
13.4358367829687, 13.5304553518628
@@ -139,7 +139,7 @@ EXPECTED = tiled_map.TiledMap(
14.287403903016, 11.070372560615
),
rotation=0,
type="",
class_="",
visible=True,
coordinates=common_types.OrderedPair(
13.8143110585452, 1.98698994677705
@@ -148,7 +148,7 @@ EXPECTED = tiled_map.TiledMap(
],
),
properties={"string property": "testing"},
type="tile",
class_="tile",
),
2: tileset.Tile(
id=2,
@@ -158,7 +158,7 @@ EXPECTED = tiled_map.TiledMap(
image_height=32,
image_width=32,
properties={"bool property": True},
type="tile",
class_="tile",
),
3: tileset.Tile(
id=3,
@@ -167,7 +167,7 @@ EXPECTED = tiled_map.TiledMap(
.resolve(),
image_height=32,
image_width=32,
type="tile",
class_="tile",
),
},
)

View File

@@ -52,7 +52,7 @@
"value":"Hello, World!!"
}],
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -61,6 +61,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" backgroundcolor="#ff0004" nextlayerid="3" nextobjectid="1">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" backgroundcolor="#ff0004" nextlayerid="3" nextobjectid="1">
<properties>
<property name="bool property - true" type="bool" value="true"/>
<property name="color property" type="color" value="#ff49fcff"/>

View File

@@ -9,7 +9,7 @@
"name":"tileset",
"spacing":0,
"tilecount":4,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tiles":[
{
@@ -30,6 +30,7 @@
"duration":100,
"tileid":3
}],
"class":"tile",
"id":0,
"image":"..\/..\/..\/images\/tile_01.png",
"imageheight":32,
@@ -39,10 +40,10 @@
"name":"float property",
"type":"float",
"value":2.2
}],
"type":"tile"
}]
},
{
"class":"tile",
"id":1,
"image":"..\/..\/..\/images\/tile_02.png",
"imageheight":32,
@@ -53,23 +54,23 @@
"name":"",
"objects":[
{
"class":"",
"height":13.7196924896511,
"id":2,
"name":"",
"rotation":0,
"type":"",
"visible":true,
"width":14.4766410408043,
"x":13.4358367829687,
"y":13.5304553518628
},
{
"class":"",
"ellipse":true,
"height":11.070372560615,
"id":3,
"name":"",
"rotation":0,
"type":"",
"visible":true,
"width":14.287403903016,
"x":13.8143110585452,
@@ -86,10 +87,10 @@
"name":"string property",
"type":"string",
"value":"testing"
}],
"type":"tile"
}]
},
{
"class":"tile",
"id":2,
"image":"..\/..\/..\/images\/tile_03.png",
"imageheight":32,
@@ -99,17 +100,16 @@
"name":"bool property",
"type":"bool",
"value":true
}],
"type":"tile"
}]
},
{
"class":"tile",
"id":3,
"image":"..\/..\/..\/images\/tile_04.png",
"imageheight":32,
"imagewidth":32,
"type":"tile"
"imagewidth":32
}],
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tileset" tilewidth="32" tileheight="32" tilecount="4" columns="0">
<tileset version="1.9" tiledversion="1.9.0" name="tileset" tilewidth="32" tileheight="32" tilecount="4" columns="0">
<grid orientation="orthogonal" width="1" height="1"/>
<tile id="0" type="tile">
<tile id="0" class="tile">
<properties>
<property name="float property" type="float" value="2.2"/>
</properties>
@@ -13,7 +13,7 @@
<frame tileid="3" duration="100"/>
</animation>
</tile>
<tile id="1" type="tile">
<tile id="1" class="tile">
<properties>
<property name="string property" value="testing"/>
</properties>
@@ -25,13 +25,13 @@
</object>
</objectgroup>
</tile>
<tile id="2" type="tile">
<tile id="2" class="tile">
<properties>
<property name="bool property" type="bool" value="true"/>
</properties>
<image width="32" height="32" source="../../../images/tile_03.png"/>
</tile>
<tile id="3" type="tile">
<tile id="3" class="tile">
<image width="32" height="32" source="../../../images/tile_04.png"/>
</tile>
</tileset>

View File

@@ -4,7 +4,16 @@
"infinite":false,
"layers":[
{
"data":[3, 3, 3, 3, 9, 9, 9, 9, 17, 17, 3, 3, 3, 9, 9, 9, 9, 17, 17, 17, 3, 3, 3, 9, 9, 9, 9, 9, 17, 17, 3, 3, 1, 7, 9, 9, 9, 15, 17, 17, 1, 1, 12, 5, 7, 7, 7, 15, 15, 15, 12, 1, 5, 5, 7, 7, 7, 15, 15, 15, 2, 2, 5, 5, 5, 5, 4, 14, 14, 14, 2, 2, 5, 5, 5, 4, 14, 14, 14, 14, 2, 2, 2, 5, 5, 5, 4, 14, 14, 14, 2, 2, 2, 2, 5, 5, 4, 4, 14, 14],
"data":[3, 3, 3, 3, 9, 9, 9, 9, 17, 17,
3, 3, 3, 9, 9, 9, 9, 17, 17, 17,
3, 3, 3, 9, 9, 9, 9, 9, 17, 17,
3, 3, 1, 7, 9, 9, 9, 15, 17, 17,
1, 1, 12, 5, 7, 7, 7, 15, 15, 15,
12, 1, 5, 5, 7, 7, 7, 15, 15, 15,
2, 2, 5, 5, 5, 5, 4, 14, 14, 14,
2, 2, 5, 5, 5, 4, 14, 14, 14, 14,
2, 2, 2, 5, 5, 5, 4, 14, 14, 14,
2, 2, 2, 2, 5, 5, 4, 4, 14, 14],
"height":10,
"id":1,
"name":"Tile Layer 1",
@@ -21,7 +30,7 @@
"renderorder":"right-down",
"staggeraxis":"y",
"staggerindex":"odd",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":12,
"tilesets":[
{
@@ -30,6 +39,6 @@
}],
"tilewidth":14,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":10
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="hexagonal" renderorder="right-down" width="10" height="10" tilewidth="14" tileheight="12" infinite="0" hexsidelength="6" staggeraxis="y" staggerindex="odd" nextlayerid="2" nextobjectid="1">
<map version="1.9" tiledversion="1.9.0" orientation="hexagonal" renderorder="right-down" width="10" height="10" tilewidth="14" tileheight="12" infinite="0" hexsidelength="6" staggeraxis="y" staggerindex="odd" nextlayerid="2" nextobjectid="1">
<tileset firstgid="1" source="tileset.tsx"/>
<layer id="1" name="Tile Layer 1" width="10" height="10">
<data encoding="csv">

View File

@@ -6,7 +6,7 @@
"name":"tileset",
"spacing":0,
"tilecount":20,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":18,
"tileoffset":
{
@@ -15,5 +15,5 @@
},
"tilewidth":18,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tileset" tilewidth="18" tileheight="18" tilecount="20" columns="5">
<tileset version="1.9" tiledversion="1.9.0" name="tileset" tilewidth="18" tileheight="18" tilecount="20" columns="5">
<tileoffset x="0" y="1"/>
<image source="../../images/hexmini.png" width="106" height="72"/>
</tileset>

View File

@@ -38,7 +38,7 @@
"value":"Hello, World!!"
}],
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -47,6 +47,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -6,7 +6,7 @@
"nextobjectid":1,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -15,6 +15,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.6" tiledversion="1.6.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="2" nextobjectid="1">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextlayerid="2" nextobjectid="1">
<tileset firstgid="1" source="tileset.tsx"/>
</map>

View File

@@ -6,9 +6,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.6" tiledversion="1.6.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -38,7 +38,7 @@
"value":"Hello, World!!"
}],
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -47,6 +47,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -6,9 +6,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -21,14 +21,14 @@ EXPECTED = tiled_map.TiledMap(
98.4987608686521, 46.2385012811358
),
visible=True,
type="",
class_="",
),
tiled_object.Tile(
id=6,
coordinates=common_types.OrderedPair(46, 136.666666666667),
name="",
rotation=0,
type="",
class_="",
visible=True,
size=common_types.Size(32, 32),
gid=49,
@@ -38,7 +38,7 @@ EXPECTED = tiled_map.TiledMap(
coordinates=common_types.OrderedPair(141.333333333333, 148),
name="",
rotation=0,
type="",
class_="",
visible=True,
size=common_types.Size(32, 32),
gid=50,

View File

@@ -67,7 +67,7 @@
"value":"Hello, World!!"
}],
"renderorder":"right-down",
"tiledversion":"1.7.1",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -80,6 +80,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":8
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.7.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" backgroundcolor="#ff0004" nextlayerid="3" nextobjectid="8">
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" backgroundcolor="#ff0004" nextlayerid="3" nextobjectid="8">
<properties>
<property name="bool property - true" type="bool" value="true"/>
<property name="color property" type="color" value="#ff49fcff"/>

View File

@@ -4,7 +4,7 @@
"id":1,
"name":"",
"rotation":0,
"type":"",
"class":"",
"visible":true,
"width":63.6585878103079
},

View File

@@ -5,7 +5,7 @@
"id":7,
"name":"",
"rotation":0,
"type":"",
"class":"",
"visible":true,
"width":32
},

View File

@@ -5,7 +5,7 @@
"id":6,
"name":"",
"rotation":0,
"type":"",
"class":"",
"visible":true,
"width":32
},

View File

@@ -6,9 +6,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -7,7 +7,7 @@
"objectalignment":"topleft",
"spacing":1,
"tilecount":48,
"tiledversion":"1.8.5",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.8" tiledversion="1.8.5" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8" objectalignment="topleft">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8" objectalignment="topleft">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -7,9 +7,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8" backgroundcolor="#5500ff">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8" backgroundcolor="#5500ff">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -20,9 +20,9 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<editorsettings>
<export target="../tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/image" format=""/>
</editorsettings>

View File

@@ -40,9 +40,9 @@
}],
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<editorsettings>
<export target="../tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/image" format=""/>
</editorsettings>

View File

@@ -14,7 +14,7 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tileoffset":
{
@@ -23,5 +23,5 @@
},
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<editorsettings>
<export target="../tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/tests/test_data/tilesets/image" format=""/>
</editorsettings>

View File

@@ -6,7 +6,7 @@
"name":"tile_set_image",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"transformations":
@@ -17,5 +17,5 @@
"vflip":false
},
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tile_set_image" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<transformations hflip="1" vflip="0" rotate="0" preferuntransformed="0"/>
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
</tileset>

View File

@@ -6,10 +6,10 @@
"name":"tileset",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"transparentcolor":"#ff00ff",
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tileset" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tileset" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" trans="ff00ff" width="265" height="199"/>
</tileset>

View File

@@ -28,7 +28,7 @@ EXPECTED = tileset.Tileset(
image_height=32,
image_width=32,
properties={"float property": 2.2},
type="tile",
class_="tile",
),
1: tileset.Tile(
id=1,
@@ -46,7 +46,7 @@ EXPECTED = tileset.Tileset(
name="",
size=common_types.Size(14.4766410408043, 13.7196924896511),
rotation=0,
type="",
class_="",
visible=True,
coordinates=common_types.OrderedPair(
13.4358367829687, 13.5304553518628
@@ -57,7 +57,7 @@ EXPECTED = tileset.Tileset(
name="",
size=common_types.Size(14.287403903016, 11.070372560615),
rotation=0,
type="",
class_="",
visible=True,
coordinates=common_types.OrderedPair(
13.8143110585452, 1.98698994677705
@@ -66,7 +66,7 @@ EXPECTED = tileset.Tileset(
],
),
properties={"string property": "testing"},
type="tile",
class_="tile",
),
2: tileset.Tile(
id=2,
@@ -74,14 +74,14 @@ EXPECTED = tileset.Tileset(
image_height=32,
image_width=32,
properties={"bool property": True},
type="tile",
class_="tile",
),
3: tileset.Tile(
id=3,
image=Path("../../images/tile_04.png"),
image_height=32,
image_width=32,
type="tile",
class_="tile",
),
},
)

View File

@@ -9,7 +9,7 @@
"name":"tileset",
"spacing":0,
"tilecount":4,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tiles":[
{
@@ -30,6 +30,7 @@
"duration":100,
"tileid":3
}],
"class":"tile",
"id":0,
"image":"..\/..\/images\/tile_01.png",
"imageheight":32,
@@ -39,10 +40,10 @@
"name":"float property",
"type":"float",
"value":2.2
}],
"type":"tile"
}]
},
{
"class":"tile",
"id":1,
"image":"..\/..\/images\/tile_02.png",
"imageheight":32,
@@ -53,23 +54,23 @@
"name":"",
"objects":[
{
"class":"",
"height":13.7196924896511,
"id":2,
"name":"",
"rotation":0,
"type":"",
"visible":true,
"width":14.4766410408043,
"x":13.4358367829687,
"y":13.5304553518628
},
{
"class":"",
"ellipse":true,
"height":11.070372560615,
"id":3,
"name":"",
"rotation":0,
"type":"",
"visible":true,
"width":14.287403903016,
"x":13.8143110585452,
@@ -86,10 +87,10 @@
"name":"string property",
"type":"string",
"value":"testing"
}],
"type":"tile"
}]
},
{
"class":"tile",
"id":2,
"image":"..\/..\/images\/tile_03.png",
"imageheight":32,
@@ -99,17 +100,16 @@
"name":"bool property",
"type":"bool",
"value":true
}],
"type":"tile"
}]
},
{
"class":"tile",
"id":3,
"image":"..\/..\/images\/tile_04.png",
"imageheight":32,
"imagewidth":32,
"type":"tile"
"imagewidth":32
}],
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.0" name="tileset" tilewidth="32" tileheight="32" tilecount="4" columns="0">
<tileset version="1.9" tiledversion="1.9.0" name="tileset" tilewidth="32" tileheight="32" tilecount="4" columns="0">
<grid orientation="orthogonal" width="1" height="1"/>
<tile id="0" type="tile">
<tile id="0" class="tile">
<properties>
<property name="float property" type="float" value="2.2"/>
</properties>
@@ -13,7 +13,7 @@
<frame tileid="3" duration="100"/>
</animation>
</tile>
<tile id="1" type="tile">
<tile id="1" class="tile">
<properties>
<property name="string property" value="testing"/>
</properties>
@@ -25,13 +25,13 @@
</object>
</objectgroup>
</tile>
<tile id="2" type="tile">
<tile id="2" class="tile">
<properties>
<property name="bool property" type="bool" value="true"/>
</properties>
<image width="32" height="32" source="../../images/tile_03.png"/>
</tile>
<tile id="3" type="tile">
<tile id="3" class="tile">
<image width="32" height="32" source="../../images/tile_04.png"/>
</tile>
</tileset>

View File

@@ -6,7 +6,7 @@
"name":"tileset",
"spacing":1,
"tilecount":48,
"tiledversion":"1.8.5",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.8" tiledversion="1.8.5" name="tileset" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<tileset version="1.9" tiledversion="1.9.0" name="tileset" tilewidth="32" tileheight="32" spacing="1" margin="1" tilecount="48" columns="8">
<image source="../../images/tmw_desert_spacing.png" width="265" height="199"/>
<wangsets>
<wangset name="Terrains" type="mixed" tile="-1">

View File

@@ -3,7 +3,11 @@
"infinite":false,
"layers":[
{
"data":[30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],
"data":[30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30],
"height":5,
"id":1,
"name":"Tile Layer 1",
@@ -18,7 +22,7 @@
"nextobjectid":1,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -27,6 +31,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":5
}

View File

@@ -3,7 +3,11 @@
"infinite":false,
"layers":[
{
"data":[30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],
"data":[30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30],
"height":5,
"id":1,
"name":"Tile Layer 1",
@@ -18,7 +22,7 @@
"nextobjectid":1,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -27,6 +31,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":5
}

View File

@@ -3,7 +3,11 @@
"infinite":false,
"layers":[
{
"data":[30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],
"data":[30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30],
"height":5,
"id":1,
"name":"Tile Layer 1",
@@ -18,7 +22,7 @@
"nextobjectid":1,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -27,6 +31,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":5
}

View File

@@ -6,9 +6,9 @@
"name":"tileset",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -3,7 +3,11 @@
"infinite":false,
"layers":[
{
"data":[30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],
"data":[30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30],
"height":5,
"id":1,
"name":"Tile Layer 1",
@@ -18,7 +22,7 @@
"nextobjectid":1,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -27,6 +31,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":5
}

View File

@@ -6,9 +6,9 @@
"name":"tileset",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}

View File

@@ -3,7 +3,11 @@
"infinite":false,
"layers":[
{
"data":[30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],
"data":[30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30],
"height":5,
"id":1,
"name":"Tile Layer 1",
@@ -18,7 +22,7 @@
"nextobjectid":1,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -27,6 +31,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":5
}

View File

@@ -3,7 +3,11 @@
"infinite":false,
"layers":[
{
"data":[30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],
"data":[30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30,
30, 30, 30, 30, 30],
"height":5,
"id":1,
"name":"Tile Layer 1",
@@ -18,7 +22,7 @@
"nextobjectid":1,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilesets":[
{
@@ -27,6 +31,6 @@
}],
"tilewidth":32,
"type":"map",
"version":"1.6",
"version":"1.9",
"width":5
}

View File

@@ -6,9 +6,9 @@
"name":"tileset",
"spacing":1,
"tilecount":48,
"tiledversion":"1.6.0",
"tiledversion":"1.9.0",
"tileheight":32,
"tilewidth":32,
"type":"tileset",
"version":"1.6"
"version":"1.8"
}