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

@@ -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>