mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-09 01:56:02 +03:00
Read new image size properties in tmj from Tiled 1.11.1
This commit is contained in:
parent
c27049780a
commit
58bb446e2b
4 changed files with 11 additions and 7 deletions
|
@ -19,7 +19,7 @@ public partial class TestData
|
|||
CompressionLevel = -1,
|
||||
BackgroundColor = new TiledColor { R = 0, G = 0, B = 0, A = 0 },
|
||||
Version = "1.10",
|
||||
TiledVersion = "1.11.0",
|
||||
TiledVersion = "1.11.2",
|
||||
NextLayerID = 8,
|
||||
NextObjectID = 7,
|
||||
Tilesets = [
|
||||
|
@ -172,8 +172,8 @@ public partial class TestData
|
|||
{
|
||||
Format = ImageFormat.Png,
|
||||
Source = "tileset.png",
|
||||
Width = fileExt == "tmx" ? 256 : 0, // Currently, json format does not
|
||||
Height = fileExt == "tmx" ? 96 : 0 // include image dimensions in image layer https://github.com/mapeditor/tiled/issues/4028
|
||||
Width = 256,
|
||||
Height = 96
|
||||
},
|
||||
RepeatX = true
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue