mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2026-02-23 15:49:52 +01:00
Update test files for Tiled 1.6(still needs work)
This commit is contained in:
@@ -62,7 +62,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":3,
|
"id":3,
|
||||||
"image":"..\/..\/images\/tile_04.png",
|
"image":"..\/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\/images\/tile_04.png",
|
||||||
"name":"Image Layer 1",
|
"name":"Image Layer 1",
|
||||||
"opacity":1,
|
"opacity":1,
|
||||||
"tintcolor":"#ff0000",
|
"tintcolor":"#ff0000",
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":5,
|
"id":5,
|
||||||
"image":"..\/..\/images\/tile_04.png",
|
"image":"..\/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\/images\/tile_04.png",
|
||||||
"name":"Image Layer 2",
|
"name":"Image Layer 2",
|
||||||
"opacity":1,
|
"opacity":1,
|
||||||
"parallaxx":1.5,
|
"parallaxx":1.5,
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
"nextobjectid":3,
|
"nextobjectid":3,
|
||||||
"orientation":"orthogonal",
|
"orientation":"orthogonal",
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.5.0",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
@@ -97,6 +97,6 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.5,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -1,12 +1,4 @@
|
|||||||
{ "columns":8,
|
{ "columns":8,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"format":"",
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
"imageheight":199,
|
"imageheight":199,
|
||||||
"imagewidth":265,
|
"imagewidth":265,
|
||||||
@@ -14,9 +6,9 @@
|
|||||||
"name":"tile_set_image",
|
"name":"tile_set_image",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":3,
|
"id":3,
|
||||||
"image":"..\/..\/images\/tile_04.png",
|
"image":"..\/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\/images\/tile_04.png",
|
||||||
"name":"Image Layer 1",
|
"name":"Image Layer 1",
|
||||||
"opacity":1,
|
"opacity":1,
|
||||||
"transparentcolor":"#000000",
|
"transparentcolor":"#000000",
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
"nextobjectid":3,
|
"nextobjectid":3,
|
||||||
"orientation":"orthogonal",
|
"orientation":"orthogonal",
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
@@ -72,6 +72,6 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -1,12 +1,4 @@
|
|||||||
{ "columns":8,
|
{ "columns":8,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"format":"",
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
"imageheight":199,
|
"imageheight":199,
|
||||||
"imagewidth":265,
|
"imagewidth":265,
|
||||||
@@ -14,9 +6,9 @@
|
|||||||
"name":"tile_set_image",
|
"name":"tile_set_image",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":3,
|
"id":3,
|
||||||
"image":"..\/..\/images\/tile_04.png",
|
"image":"..\/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\/images\/tile_04.png",
|
||||||
"name":"Image Layer 1",
|
"name":"Image Layer 1",
|
||||||
"opacity":1,
|
"opacity":1,
|
||||||
"transparentcolor":"#000000",
|
"transparentcolor":"#000000",
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
"nextobjectid":3,
|
"nextobjectid":3,
|
||||||
"orientation":"orthogonal",
|
"orientation":"orthogonal",
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
@@ -72,6 +72,6 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -1,12 +1,4 @@
|
|||||||
{ "columns":8,
|
{ "columns":8,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"format":"",
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
"imageheight":199,
|
"imageheight":199,
|
||||||
"imagewidth":265,
|
"imagewidth":265,
|
||||||
@@ -14,9 +6,9 @@
|
|||||||
"name":"tile_set_image",
|
"name":"tile_set_image",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":3,
|
"id":3,
|
||||||
"image":"..\/..\/images\/tile_04.png",
|
"image":"..\/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\/images\/tile_04.png",
|
||||||
"name":"Image Layer 1",
|
"name":"Image Layer 1",
|
||||||
"opacity":1,
|
"opacity":1,
|
||||||
"transparentcolor":"#000000",
|
"transparentcolor":"#000000",
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
"nextobjectid":3,
|
"nextobjectid":3,
|
||||||
"orientation":"orthogonal",
|
"orientation":"orthogonal",
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
@@ -72,6 +72,6 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -1,12 +1,4 @@
|
|||||||
{ "columns":8,
|
{ "columns":8,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"format":"",
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
"imageheight":199,
|
"imageheight":199,
|
||||||
"imagewidth":265,
|
"imagewidth":265,
|
||||||
@@ -14,9 +6,9 @@
|
|||||||
"name":"tile_set_image",
|
"name":"tile_set_image",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -1,109 +0,0 @@
|
|||||||
from pathlib import Path
|
|
||||||
|
|
||||||
from pytiled_parser import common_types, layer, tiled_object
|
|
||||||
|
|
||||||
EXPECTED = [
|
|
||||||
layer.TileLayer(
|
|
||||||
name="Tile Layer 1",
|
|
||||||
opacity=1,
|
|
||||||
visible=True,
|
|
||||||
id=1,
|
|
||||||
size=common_types.Size(8, 6),
|
|
||||||
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,
|
|
||||||
],
|
|
||||||
],
|
|
||||||
),
|
|
||||||
layer.LayerGroup(
|
|
||||||
name="Group 1",
|
|
||||||
opacity=1,
|
|
||||||
visible=True,
|
|
||||||
id=4,
|
|
||||||
layers=[
|
|
||||||
layer.ObjectLayer(
|
|
||||||
name="Object Layer 1",
|
|
||||||
opacity=1,
|
|
||||||
visible=True,
|
|
||||||
id=2,
|
|
||||||
draw_order="topdown",
|
|
||||||
tiled_objects=[
|
|
||||||
tiled_object.Rectangle(
|
|
||||||
id=1,
|
|
||||||
name="",
|
|
||||||
rotation=0,
|
|
||||||
size=common_types.Size(69.3333333333333, 52.6666666666667),
|
|
||||||
coordinates=common_types.OrderedPair(46.3333333333333, 39),
|
|
||||||
visible=True,
|
|
||||||
type="",
|
|
||||||
)
|
|
||||||
],
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
layer.ImageLayer(
|
|
||||||
name="Image Layer 1",
|
|
||||||
opacity=1,
|
|
||||||
visible=True,
|
|
||||||
id=3,
|
|
||||||
image=Path("../../images/tile_04.png"),
|
|
||||||
transparent_color=common_types.Color(0, 0, 0, 255),
|
|
||||||
),
|
|
||||||
]
|
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
{ "compressionlevel":-1,
|
{ "compressionlevel":-1,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"height":6,
|
"height":6,
|
||||||
"infinite":false,
|
"infinite":false,
|
||||||
"layers":[
|
"layers":[
|
||||||
@@ -57,7 +50,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":3,
|
"id":3,
|
||||||
"image":"..\/..\/images\/tile_04.png",
|
"image":"..\/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\/images\/tile_04.png",
|
||||||
"name":"Image Layer 1",
|
"name":"Image Layer 1",
|
||||||
"opacity":1,
|
"opacity":1,
|
||||||
"transparentcolor":"#000000",
|
"transparentcolor":"#000000",
|
||||||
@@ -70,7 +63,7 @@
|
|||||||
"nextobjectid":3,
|
"nextobjectid":3,
|
||||||
"orientation":"orthogonal",
|
"orientation":"orthogonal",
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.4.3",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
@@ -79,6 +72,6 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -1,22 +1,14 @@
|
|||||||
{ "columns":8,
|
{ "columns":8,
|
||||||
"editorsettings":
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
{
|
"imageheight":199,
|
||||||
"export":
|
"imagewidth":265,
|
||||||
{
|
"margin":1,
|
||||||
"format":"",
|
"name":"tile_set_image",
|
||||||
"target":"."
|
"spacing":1,
|
||||||
}
|
"tilecount":48,
|
||||||
},
|
"tiledversion":"1.6.0",
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"tileheight":32,
|
||||||
"imageheight":199,
|
"tilewidth":32,
|
||||||
"imagewidth":265,
|
"type":"tileset",
|
||||||
"margin":1,
|
"version":"1.6"
|
||||||
"name":"tile_set_image",
|
}
|
||||||
"spacing":1,
|
|
||||||
"tilecount":48,
|
|
||||||
"tiledversion":"1.3.5",
|
|
||||||
"tileheight":32,
|
|
||||||
"tilewidth":32,
|
|
||||||
"type":"tileset",
|
|
||||||
"version":1.2
|
|
||||||
}
|
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"export":
|
"export":
|
||||||
{
|
{
|
||||||
"target":"..\/all_layer_types"
|
"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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"height":6,
|
"height":6,
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
"nextobjectid":3,
|
"nextobjectid":3,
|
||||||
"orientation":"orthogonal",
|
"orientation":"orthogonal",
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
@@ -63,6 +63,6 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
"nextobjectid":3,
|
"nextobjectid":3,
|
||||||
"orientation":"orthogonal",
|
"orientation":"orthogonal",
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
@@ -46,6 +46,6 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,4 @@
|
|||||||
{ "compressionlevel":0,
|
{ "compressionlevel":0,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"height":6,
|
"height":6,
|
||||||
"infinite":false,
|
"infinite":false,
|
||||||
"layers":[],
|
"layers":[],
|
||||||
@@ -31,7 +24,7 @@
|
|||||||
{
|
{
|
||||||
"name":"file property",
|
"name":"file property",
|
||||||
"type":"file",
|
"type":"file",
|
||||||
"value":"..\/..\/..\/..\/..\/..\/var\/log\/syslog"
|
"value":"..\/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\/var\/log\/syslog"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name":"float property",
|
"name":"float property",
|
||||||
@@ -49,15 +42,15 @@
|
|||||||
"value":"Hello, World!!"
|
"value":"Hello, World!!"
|
||||||
}],
|
}],
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
"firstgid":1,
|
"firstgid":1,
|
||||||
"source":"tileset_image.json"
|
"source":"tileset.json"
|
||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -6,9 +6,9 @@
|
|||||||
"name":"tile_set_image",
|
"name":"tile_set_image",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -10,9 +10,9 @@ EXPECTED = tiled_map.TiledMap(
|
|||||||
next_object_id=1,
|
next_object_id=1,
|
||||||
orientation="orthogonal",
|
orientation="orthogonal",
|
||||||
render_order="right-down",
|
render_order="right-down",
|
||||||
tiled_version="1.4.1",
|
tiled_version="1.6.0",
|
||||||
tile_size=common_types.Size(32, 32),
|
tile_size=common_types.Size(32, 32),
|
||||||
version=1.4,
|
version="1.6",
|
||||||
tilesets={
|
tilesets={
|
||||||
1: tileset.Tileset(
|
1: tileset.Tileset(
|
||||||
columns=8,
|
columns=8,
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
{ "compressionlevel":0,
|
{ "compressionlevel":0,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"height":6,
|
"height":6,
|
||||||
"infinite":false,
|
"infinite":false,
|
||||||
"layers":[],
|
"layers":[],
|
||||||
@@ -13,24 +6,24 @@
|
|||||||
"nextobjectid":1,
|
"nextobjectid":1,
|
||||||
"orientation":"orthogonal",
|
"orientation":"orthogonal",
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
"columns":8,
|
"columns":8,
|
||||||
"firstgid":1,
|
"firstgid":1,
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/images\/tmw_desert_spacing.png",
|
||||||
"imageheight":199,
|
"imageheight":199,
|
||||||
"imagewidth":265,
|
"imagewidth":265,
|
||||||
"margin":1,
|
"margin":1,
|
||||||
"name":"tileset",
|
"name":"tileset",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":0,
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32
|
"tilewidth":32
|
||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -9,9 +9,9 @@ EXPECTED = tiled_map.TiledMap(
|
|||||||
next_object_id=1,
|
next_object_id=1,
|
||||||
orientation="orthogonal",
|
orientation="orthogonal",
|
||||||
render_order="right-down",
|
render_order="right-down",
|
||||||
tiled_version="1.5.0",
|
tiled_version="1.6.0",
|
||||||
tile_size=common_types.Size(32, 32),
|
tile_size=common_types.Size(32, 32),
|
||||||
version=1.5,
|
version="1.6",
|
||||||
background_color=common_types.Color(255, 0, 4, 255),
|
background_color=common_types.Color(255, 0, 4, 255),
|
||||||
layers=[
|
layers=[
|
||||||
layer.TileLayer(
|
layer.TileLayer(
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
{
|
{
|
||||||
"name":"file property",
|
"name":"file property",
|
||||||
"type":"file",
|
"type":"file",
|
||||||
"value":"..\/..\/..\/..\/..\/..\/var\/log\/syslog"
|
"value":"..\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/var\/log\/syslog"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name":"float property",
|
"name":"float property",
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"value":"Hello, World!!"
|
"value":"Hello, World!!"
|
||||||
}],
|
}],
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.5.0",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
@@ -61,6 +61,6 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.5,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -1,124 +1,115 @@
|
|||||||
{ "columns":0,
|
{ "columns":0,
|
||||||
"editorsettings":
|
"grid":
|
||||||
{
|
{
|
||||||
"export":
|
"height":1,
|
||||||
{
|
"orientation":"orthogonal",
|
||||||
"format":"",
|
"width":1
|
||||||
"target":"."
|
},
|
||||||
}
|
"margin":0,
|
||||||
},
|
"name":"tileset",
|
||||||
"grid":
|
"spacing":0,
|
||||||
{
|
"tilecount":4,
|
||||||
"height":1,
|
"tiledversion":"1.6.0",
|
||||||
"orientation":"orthogonal",
|
"tileheight":32,
|
||||||
"width":1
|
"tiles":[
|
||||||
},
|
{
|
||||||
"margin":0,
|
"animation":[
|
||||||
"name":"tileset",
|
{
|
||||||
"spacing":0,
|
"duration":100,
|
||||||
"tilecount":4,
|
"tileid":0
|
||||||
"tiledversion":"1.3.5",
|
},
|
||||||
"tileheight":32,
|
{
|
||||||
"tiles":[
|
"duration":100,
|
||||||
{
|
"tileid":1
|
||||||
"animation":[
|
},
|
||||||
{
|
{
|
||||||
"duration":100,
|
"duration":100,
|
||||||
"tileid":0
|
"tileid":2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"duration":100,
|
"duration":100,
|
||||||
"tileid":1
|
"tileid":3
|
||||||
},
|
}],
|
||||||
{
|
"id":0,
|
||||||
"duration":100,
|
"image":"..\/..\/..\/images\/tile_01.png",
|
||||||
"tileid":2
|
"imageheight":32,
|
||||||
},
|
"imagewidth":32,
|
||||||
{
|
"properties":[
|
||||||
"duration":100,
|
{
|
||||||
"tileid":3
|
"name":"float property",
|
||||||
}],
|
"type":"float",
|
||||||
"id":0,
|
"value":2.2
|
||||||
"image":"..\/..\/..\/images\/tile_01.png",
|
}],
|
||||||
"imageheight":32,
|
"type":"tile"
|
||||||
"imagewidth":32,
|
},
|
||||||
"properties":[
|
{
|
||||||
{
|
"id":1,
|
||||||
"name":"float property",
|
"image":"..\/..\/..\/images\/tile_02.png",
|
||||||
"type":"float",
|
"imageheight":32,
|
||||||
"value":2.2
|
"imagewidth":32,
|
||||||
}],
|
"objectgroup":
|
||||||
"type":"tile"
|
{
|
||||||
},
|
"draworder":"index",
|
||||||
{
|
"name":"",
|
||||||
"id":1,
|
"objects":[
|
||||||
"image":"..\/..\/..\/images\/tile_02.png",
|
{
|
||||||
"imageheight":32,
|
"height":13.7196924896511,
|
||||||
"imagewidth":32,
|
"id":2,
|
||||||
"objectgroup":
|
"name":"",
|
||||||
{
|
"rotation":0,
|
||||||
"draworder":"index",
|
"type":"",
|
||||||
"name":"",
|
"visible":true,
|
||||||
"objects":[
|
"width":14.4766410408043,
|
||||||
{
|
"x":13.4358367829687,
|
||||||
"height":13.7196924896511,
|
"y":13.5304553518628
|
||||||
"id":2,
|
},
|
||||||
"name":"",
|
{
|
||||||
"rotation":0,
|
"ellipse":true,
|
||||||
"type":"",
|
"height":11.070372560615,
|
||||||
"visible":true,
|
"id":3,
|
||||||
"width":14.4766410408043,
|
"name":"",
|
||||||
"x":13.4358367829687,
|
"rotation":0,
|
||||||
"y":13.5304553518628
|
"type":"",
|
||||||
},
|
"visible":true,
|
||||||
{
|
"width":14.287403903016,
|
||||||
"ellipse":true,
|
"x":13.8143110585452,
|
||||||
"height":11.070372560615,
|
"y":1.98698994677705
|
||||||
"id":3,
|
}],
|
||||||
"name":"",
|
"opacity":1,
|
||||||
"rotation":0,
|
"type":"objectgroup",
|
||||||
"type":"",
|
"visible":true,
|
||||||
"visible":true,
|
"x":0,
|
||||||
"width":14.287403903016,
|
"y":0
|
||||||
"x":13.8143110585452,
|
},
|
||||||
"y":1.98698994677705
|
"properties":[
|
||||||
}],
|
{
|
||||||
"opacity":1,
|
"name":"string property",
|
||||||
"type":"objectgroup",
|
"type":"string",
|
||||||
"visible":true,
|
"value":"testing"
|
||||||
"x":0,
|
}],
|
||||||
"y":0
|
"type":"tile"
|
||||||
},
|
},
|
||||||
"properties":[
|
{
|
||||||
{
|
"id":2,
|
||||||
"name":"string property",
|
"image":"..\/..\/..\/images\/tile_03.png",
|
||||||
"type":"string",
|
"imageheight":32,
|
||||||
"value":"testing"
|
"imagewidth":32,
|
||||||
}],
|
"properties":[
|
||||||
"type":"tile"
|
{
|
||||||
},
|
"name":"bool property",
|
||||||
{
|
"type":"bool",
|
||||||
"id":2,
|
"value":true
|
||||||
"image":"..\/..\/..\/images\/tile_03.png",
|
}],
|
||||||
"imageheight":32,
|
"type":"tile"
|
||||||
"imagewidth":32,
|
},
|
||||||
"properties":[
|
{
|
||||||
{
|
"id":3,
|
||||||
"name":"bool property",
|
"image":"..\/..\/..\/images\/tile_04.png",
|
||||||
"type":"bool",
|
"imageheight":32,
|
||||||
"value":true
|
"imagewidth":32,
|
||||||
}],
|
"type":"tile"
|
||||||
"type":"tile"
|
}],
|
||||||
},
|
"tilewidth":32,
|
||||||
{
|
"type":"tileset",
|
||||||
"id":3,
|
"version":"1.6"
|
||||||
"image":"..\/..\/..\/images\/tile_04.png",
|
}
|
||||||
"imageheight":32,
|
|
||||||
"imagewidth":32,
|
|
||||||
"type":"tile"
|
|
||||||
}],
|
|
||||||
"tilewidth":32,
|
|
||||||
"type":"tileset",
|
|
||||||
"version":1.2
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -132,9 +132,9 @@ EXPECTED = tiled_map.TiledMap(
|
|||||||
next_object_id=1,
|
next_object_id=1,
|
||||||
orientation="hexagonal",
|
orientation="hexagonal",
|
||||||
render_order="right-down",
|
render_order="right-down",
|
||||||
tiled_version="1.4.1",
|
tiled_version="1.6.0",
|
||||||
tile_size=common_types.Size(14, 12),
|
tile_size=common_types.Size(14, 12),
|
||||||
version=1.4,
|
version="1.6",
|
||||||
tilesets={
|
tilesets={
|
||||||
1: tileset.Tileset(
|
1: tileset.Tileset(
|
||||||
columns=5,
|
columns=5,
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"staggeraxis":"y",
|
"staggeraxis":"y",
|
||||||
"staggerindex":"odd",
|
"staggerindex":"odd",
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":12,
|
"tileheight":12,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
@@ -30,6 +30,6 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":14,
|
"tilewidth":14,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":10
|
"width":10
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
"name":"tileset",
|
"name":"tileset",
|
||||||
"spacing":0,
|
"spacing":0,
|
||||||
"tilecount":20,
|
"tilecount":20,
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":18,
|
"tileheight":18,
|
||||||
"tileoffset":
|
"tileoffset":
|
||||||
{
|
{
|
||||||
@@ -15,5 +15,5 @@
|
|||||||
},
|
},
|
||||||
"tilewidth":18,
|
"tilewidth":18,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.4
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -10,9 +10,9 @@ EXPECTED = tiled_map.TiledMap(
|
|||||||
next_object_id=1,
|
next_object_id=1,
|
||||||
orientation="orthogonal",
|
orientation="orthogonal",
|
||||||
render_order="right-down",
|
render_order="right-down",
|
||||||
tiled_version="1.4.1",
|
tiled_version="1.6.0",
|
||||||
tile_size=common_types.Size(32, 32),
|
tile_size=common_types.Size(32, 32),
|
||||||
version=1.4,
|
version="1.6",
|
||||||
tilesets={
|
tilesets={
|
||||||
1: tileset.Tileset(
|
1: tileset.Tileset(
|
||||||
columns=8,
|
columns=8,
|
||||||
@@ -28,7 +28,7 @@ EXPECTED = tiled_map.TiledMap(
|
|||||||
tiled_version="1.3.1",
|
tiled_version="1.3.1",
|
||||||
tile_height=32,
|
tile_height=32,
|
||||||
tile_width=32,
|
tile_width=32,
|
||||||
version=1.2,
|
version="1.6.0",
|
||||||
type="tileset",
|
type="tileset",
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
{ "compressionlevel":0,
|
{ "compressionlevel":0,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"height":6,
|
"height":6,
|
||||||
"infinite":false,
|
"infinite":false,
|
||||||
"layers":[],
|
"layers":[],
|
||||||
@@ -13,15 +6,15 @@
|
|||||||
"nextobjectid":1,
|
"nextobjectid":1,
|
||||||
"orientation":"orthogonal",
|
"orientation":"orthogonal",
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
"firstgid":1,
|
"firstgid":1,
|
||||||
"source":"tileset_image.json"
|
"source":"tileset.json"
|
||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -6,9 +6,9 @@
|
|||||||
"name":"tile_set_image",
|
"name":"tile_set_image",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -10,9 +10,9 @@ EXPECTED = tiled_map.TiledMap(
|
|||||||
next_object_id=1,
|
next_object_id=1,
|
||||||
orientation="orthogonal",
|
orientation="orthogonal",
|
||||||
render_order="right-down",
|
render_order="right-down",
|
||||||
tiled_version="1.4.1",
|
tiled_version="1.6.0",
|
||||||
tile_size=common_types.Size(32, 32),
|
tile_size=common_types.Size(32, 32),
|
||||||
version=1.4,
|
version="1.6",
|
||||||
background_color=common_types.Color(255, 0, 4, 255),
|
background_color=common_types.Color(255, 0, 4, 255),
|
||||||
tilesets={
|
tilesets={
|
||||||
1: tileset.Tileset(
|
1: tileset.Tileset(
|
||||||
@@ -26,10 +26,10 @@ EXPECTED = tiled_map.TiledMap(
|
|||||||
spacing=1,
|
spacing=1,
|
||||||
name="tile_set_image",
|
name="tile_set_image",
|
||||||
tile_count=48,
|
tile_count=48,
|
||||||
tiled_version="1.3.1",
|
tiled_version="1.6.0",
|
||||||
tile_height=32,
|
tile_height=32,
|
||||||
tile_width=32,
|
tile_width=32,
|
||||||
version=1.2,
|
version="1.6",
|
||||||
type="tileset",
|
type="tileset",
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
{ "backgroundcolor":"#ff0004",
|
{ "backgroundcolor":"#ff0004",
|
||||||
"compressionlevel":0,
|
"compressionlevel":0,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"height":6,
|
"height":6,
|
||||||
"infinite":false,
|
"infinite":false,
|
||||||
"layers":[],
|
"layers":[],
|
||||||
@@ -27,7 +20,7 @@
|
|||||||
{
|
{
|
||||||
"name":"file property",
|
"name":"file property",
|
||||||
"type":"file",
|
"type":"file",
|
||||||
"value":"..\/..\/..\/..\/..\/..\/var\/log\/syslog"
|
"value":"..\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/test_data\/map_tests\/tests\/var\/log\/syslog"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name":"float property",
|
"name":"float property",
|
||||||
@@ -45,15 +38,15 @@
|
|||||||
"value":"Hello, World!!"
|
"value":"Hello, World!!"
|
||||||
}],
|
}],
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.4.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
"firstgid":1,
|
"firstgid":1,
|
||||||
"source":"tileset_image.json"
|
"source":"tileset.json"
|
||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.4,
|
"version":"1.6",
|
||||||
"width":8
|
"width":8
|
||||||
}
|
}
|
||||||
@@ -6,9 +6,9 @@
|
|||||||
"name":"tile_set_image",
|
"name":"tile_set_image",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.1",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -11,9 +11,9 @@ EXPECTED = tileset.Tileset(
|
|||||||
spacing=1,
|
spacing=1,
|
||||||
name="tile_set_image",
|
name="tile_set_image",
|
||||||
tile_count=48,
|
tile_count=48,
|
||||||
tiled_version="1.3.5",
|
tiled_version="1.6.0",
|
||||||
tile_height=32,
|
tile_height=32,
|
||||||
tile_width=32,
|
tile_width=32,
|
||||||
version=1.2,
|
version="1.6",
|
||||||
type="tileset",
|
type="tileset",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,12 +1,4 @@
|
|||||||
{ "columns":8,
|
{ "columns":8,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"format":"",
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
"imageheight":199,
|
"imageheight":199,
|
||||||
"imagewidth":265,
|
"imagewidth":265,
|
||||||
@@ -14,9 +6,9 @@
|
|||||||
"name":"tile_set_image",
|
"name":"tile_set_image",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -12,10 +12,10 @@ EXPECTED = tileset.Tileset(
|
|||||||
spacing=1,
|
spacing=1,
|
||||||
name="tile_set_image",
|
name="tile_set_image",
|
||||||
tile_count=48,
|
tile_count=48,
|
||||||
tiled_version="1.3.5",
|
tiled_version="1.6.0",
|
||||||
tile_height=32,
|
tile_height=32,
|
||||||
tile_width=32,
|
tile_width=32,
|
||||||
version=1.2,
|
version="1.6",
|
||||||
background_color=Color(85, 0, 255, 255),
|
background_color=Color(85, 0, 255, 255),
|
||||||
type="tileset",
|
type="tileset",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,13 +1,5 @@
|
|||||||
{ "backgroundcolor":"#5500ff",
|
{ "backgroundcolor":"#5500ff",
|
||||||
"columns":8,
|
"columns":8,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"format":"",
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
"imageheight":199,
|
"imageheight":199,
|
||||||
"imagewidth":265,
|
"imagewidth":265,
|
||||||
@@ -15,9 +7,9 @@
|
|||||||
"name":"tile_set_image",
|
"name":"tile_set_image",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -11,10 +11,10 @@ EXPECTED = tileset.Tileset(
|
|||||||
spacing=1,
|
spacing=1,
|
||||||
name="tile_set_image",
|
name="tile_set_image",
|
||||||
tile_count=48,
|
tile_count=48,
|
||||||
tiled_version="1.3.5",
|
tiled_version="1.6.0",
|
||||||
tile_height=32,
|
tile_height=32,
|
||||||
tile_width=32,
|
tile_width=32,
|
||||||
version=1.2,
|
version="1.6",
|
||||||
grid=tileset.Grid(orientation="isometric", width=32, height=32),
|
grid=tileset.Grid(orientation="isometric", width=32, height=32),
|
||||||
type="tileset",
|
type="tileset",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,26 +1,28 @@
|
|||||||
{
|
{ "columns":8,
|
||||||
"columns": 8,
|
"editorsettings":
|
||||||
"editorsettings": {
|
{
|
||||||
"export": {
|
"export":
|
||||||
"format": "",
|
{
|
||||||
"target": "../image"
|
"format":"",
|
||||||
}
|
"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"
|
||||||
},
|
}
|
||||||
"grid": {
|
},
|
||||||
"height": 32,
|
"grid":
|
||||||
"orientation": "isometric",
|
{
|
||||||
"width": 32
|
"height":32,
|
||||||
},
|
"orientation":"isometric",
|
||||||
"image": "../../images/tmw_desert_spacing.png",
|
"width":32
|
||||||
"imageheight": 199,
|
},
|
||||||
"imagewidth": 265,
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
"margin": 1,
|
"imageheight":199,
|
||||||
"name": "tile_set_image",
|
"imagewidth":265,
|
||||||
"spacing": 1,
|
"margin":1,
|
||||||
"tilecount": 48,
|
"name":"tile_set_image",
|
||||||
"tiledversion": "1.3.5",
|
"spacing":1,
|
||||||
"tileheight": 32,
|
"tilecount":48,
|
||||||
"tilewidth": 32,
|
"tiledversion":"1.6.0",
|
||||||
"type": "tileset",
|
"tileheight":32,
|
||||||
"version": 1.2
|
"tilewidth":32,
|
||||||
}
|
"type":"tileset",
|
||||||
|
"version":"1.6"
|
||||||
|
}
|
||||||
@@ -12,10 +12,10 @@ EXPECTED = tileset.Tileset(
|
|||||||
spacing=1,
|
spacing=1,
|
||||||
name="tile_set_image",
|
name="tile_set_image",
|
||||||
tile_count=48,
|
tile_count=48,
|
||||||
tiled_version="1.3.5",
|
tiled_version="1.6.0",
|
||||||
tile_height=32,
|
tile_height=32,
|
||||||
tile_width=32,
|
tile_width=32,
|
||||||
version=1.2,
|
version="1.6",
|
||||||
properties={
|
properties={
|
||||||
"bool property": True,
|
"bool property": True,
|
||||||
"color property": Color(255, 0, 0, 255),
|
"color property": Color(255, 0, 0, 255),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"export":
|
"export":
|
||||||
{
|
{
|
||||||
"format":"",
|
"format":"",
|
||||||
"target":"..\/image"
|
"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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
@@ -40,9 +40,9 @@
|
|||||||
}],
|
}],
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -12,10 +12,10 @@ EXPECTED = tileset.Tileset(
|
|||||||
spacing=1,
|
spacing=1,
|
||||||
name="tile_set_image",
|
name="tile_set_image",
|
||||||
tile_count=48,
|
tile_count=48,
|
||||||
tiled_version="1.3.5",
|
tiled_version="1.6.0",
|
||||||
tile_height=32,
|
tile_height=32,
|
||||||
tile_width=32,
|
tile_width=32,
|
||||||
version=1.2,
|
version="1.6",
|
||||||
tile_offset=OrderedPair(3, 5),
|
tile_offset=OrderedPair(3, 5),
|
||||||
type="tileset",
|
type="tileset",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"export":
|
"export":
|
||||||
{
|
{
|
||||||
"format":"",
|
"format":"",
|
||||||
"target":"..\/image"
|
"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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
"name":"tile_set_image",
|
"name":"tile_set_image",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tileoffset":
|
"tileoffset":
|
||||||
{
|
{
|
||||||
@@ -23,5 +23,5 @@
|
|||||||
},
|
},
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -12,10 +12,10 @@ EXPECTED = tileset.Tileset(
|
|||||||
spacing=1,
|
spacing=1,
|
||||||
name="tileset",
|
name="tileset",
|
||||||
tile_count=48,
|
tile_count=48,
|
||||||
tiled_version="1.3.5",
|
tiled_version="1.6.0",
|
||||||
tile_height=32,
|
tile_height=32,
|
||||||
tile_width=32,
|
tile_width=32,
|
||||||
version=1.2,
|
version="1.6",
|
||||||
transparent_color=Color(255, 0, 255, 255),
|
transparent_color=Color(255, 0, 255, 255),
|
||||||
type="tileset",
|
type="tileset",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,12 +1,4 @@
|
|||||||
{ "columns":8,
|
{ "columns":8,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"format":"",
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
"imageheight":199,
|
"imageheight":199,
|
||||||
"imagewidth":265,
|
"imagewidth":265,
|
||||||
@@ -14,10 +6,10 @@
|
|||||||
"name":"tileset",
|
"name":"tileset",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"transparentcolor":"#ff00ff",
|
"transparentcolor":"#ff00ff",
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -8,10 +8,10 @@ EXPECTED = tileset.Tileset(
|
|||||||
spacing=0,
|
spacing=0,
|
||||||
name="tileset",
|
name="tileset",
|
||||||
tile_count=4,
|
tile_count=4,
|
||||||
tiled_version="1.3.5",
|
tiled_version="1.6.0",
|
||||||
tile_height=32,
|
tile_height=32,
|
||||||
tile_width=32,
|
tile_width=32,
|
||||||
version=1.2,
|
version="1.6",
|
||||||
type="tileset",
|
type="tileset",
|
||||||
grid=tileset.Grid(orientation="orthogonal", width=1, height=1),
|
grid=tileset.Grid(orientation="orthogonal", width=1, height=1),
|
||||||
tiles={
|
tiles={
|
||||||
|
|||||||
@@ -1,12 +1,4 @@
|
|||||||
{ "columns":0,
|
{ "columns":0,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"format":"",
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"grid":
|
"grid":
|
||||||
{
|
{
|
||||||
"height":1,
|
"height":1,
|
||||||
@@ -17,7 +9,7 @@
|
|||||||
"name":"tileset",
|
"name":"tileset",
|
||||||
"spacing":0,
|
"spacing":0,
|
||||||
"tilecount":4,
|
"tilecount":4,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tiles":[
|
"tiles":[
|
||||||
{
|
{
|
||||||
@@ -119,5 +111,5 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6"
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from pytiled_parser import common_types, layer, tileset
|
from pytiled_parser import common_types, tileset, wang_set
|
||||||
|
|
||||||
EXPECTED = tileset.Tileset(
|
EXPECTED = tileset.Tileset(
|
||||||
columns=8,
|
columns=8,
|
||||||
@@ -11,261 +11,84 @@ EXPECTED = tileset.Tileset(
|
|||||||
image_height=199,
|
image_height=199,
|
||||||
image_width=265,
|
image_width=265,
|
||||||
tile_count=48,
|
tile_count=48,
|
||||||
tiled_version="1.3.5",
|
tiled_version="1.6.0",
|
||||||
tile_height=32,
|
tile_height=32,
|
||||||
tile_width=32,
|
tile_width=32,
|
||||||
version=1.2,
|
version="1.6",
|
||||||
type="tileset",
|
type="tileset",
|
||||||
terrain_types=[
|
wang_sets=[
|
||||||
tileset.Terrain(
|
wang_set.WangSet(
|
||||||
name="Sand",
|
name="Terrains",
|
||||||
tile=29,
|
tile=-1,
|
||||||
properties={"terrain property": "test terrain property"},
|
wang_type="mixed",
|
||||||
),
|
wang_colors=[
|
||||||
tileset.Terrain(name="Cobblestone", tile=29),
|
wang_set.WangColor(
|
||||||
tileset.Terrain(name="Pavement", tile=29),
|
name="Sand",
|
||||||
tileset.Terrain(name="Dirt", tile=29),
|
probability=1,
|
||||||
|
tile=-1,
|
||||||
|
color=common_types.Color(255, 0, 0, 255),
|
||||||
|
),
|
||||||
|
wang_set.WangColor(
|
||||||
|
name="Cobblestone",
|
||||||
|
probability=1,
|
||||||
|
tile=-1,
|
||||||
|
color=common_types.Color(0, 255, 0, 255),
|
||||||
|
),
|
||||||
|
wang_set.WangColor(
|
||||||
|
name="Pavement",
|
||||||
|
probability=1,
|
||||||
|
tile=-1,
|
||||||
|
color=common_types.Color(0, 0, 255, 255),
|
||||||
|
),
|
||||||
|
wang_set.WangColor(
|
||||||
|
name="Dirt",
|
||||||
|
probability=1,
|
||||||
|
tile=-1,
|
||||||
|
color=common_types.Color(255, 119, 0, 255),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
wang_tiles={
|
||||||
|
0: wang_set.WangTile(tile_id=0, wang_id=[1, 1, 0, 2, 0, 1, 1, 1]),
|
||||||
|
1: wang_set.WangTile(tile_id=1, wang_id=[1, 1, 0, 2, 2, 2, 0, 1]),
|
||||||
|
2: wang_set.WangTile(tile_id=2, wang_id=[1, 1, 1, 1, 0, 2, 0, 1]),
|
||||||
|
3: wang_set.WangTile(tile_id=3, wang_id=[4, 4, 0, 1, 0, 4, 4, 4]),
|
||||||
|
4: wang_set.WangTile(tile_id=4, wang_id=[4, 4, 4, 4, 0, 1, 0, 4]),
|
||||||
|
5: wang_set.WangTile(tile_id=5, wang_id=[1, 1, 0, 4, 0, 1, 1, 1]),
|
||||||
|
6: wang_set.WangTile(tile_id=6, wang_id=[1, 1, 0, 4, 4, 4, 0, 1]),
|
||||||
|
7: wang_set.WangTile(tile_id=7, wang_id=[1, 1, 1, 1, 0, 4, 0, 1]),
|
||||||
|
8: wang_set.WangTile(tile_id=8, wang_id=[0, 2, 2, 2, 0, 1, 1, 1]),
|
||||||
|
9: wang_set.WangTile(tile_id=9, wang_id=[2, 2, 2, 2, 2, 2, 2, 2]),
|
||||||
|
10: wang_set.WangTile(tile_id=10, wang_id=[0, 1, 1, 1, 0, 2, 2, 2]),
|
||||||
|
11: wang_set.WangTile(tile_id=11, wang_id=[0, 1, 0, 4, 4, 4, 4, 4]),
|
||||||
|
12: wang_set.WangTile(tile_id=12, wang_id=[0, 4, 4, 4, 4, 4, 0, 1]),
|
||||||
|
13: wang_set.WangTile(tile_id=13, wang_id=[0, 4, 4, 4, 0, 1, 1, 1]),
|
||||||
|
14: wang_set.WangTile(tile_id=14, wang_id=[4, 4, 4, 4, 4, 4, 4, 4]),
|
||||||
|
15: wang_set.WangTile(tile_id=15, wang_id=[0, 1, 1, 1, 0, 4, 4, 4]),
|
||||||
|
16: wang_set.WangTile(tile_id=16, wang_id=[0, 2, 0, 1, 1, 1, 1, 1]),
|
||||||
|
17: wang_set.WangTile(tile_id=17, wang_id=[2, 2, 0, 1, 1, 1, 0, 2]),
|
||||||
|
18: wang_set.WangTile(tile_id=18, wang_id=[0, 1, 1, 1, 1, 1, 0, 2]),
|
||||||
|
19: wang_set.WangTile(tile_id=19, wang_id=[2, 2, 0, 1, 0, 2, 2, 2]),
|
||||||
|
20: wang_set.WangTile(tile_id=20, wang_id=[2, 2, 2, 2, 0, 1, 0, 2]),
|
||||||
|
21: wang_set.WangTile(tile_id=21, wang_id=[0, 4, 0, 1, 1, 1, 1, 1]),
|
||||||
|
22: wang_set.WangTile(tile_id=22, wang_id=[4, 4, 0, 1, 1, 1, 0, 4]),
|
||||||
|
23: wang_set.WangTile(tile_id=23, wang_id=[0, 1, 1, 1, 1, 1, 0, 4]),
|
||||||
|
24: wang_set.WangTile(tile_id=24, wang_id=[1, 1, 0, 3, 0, 1, 1, 1]),
|
||||||
|
25: wang_set.WangTile(tile_id=25, wang_id=[1, 1, 0, 3, 3, 3, 0, 1]),
|
||||||
|
26: wang_set.WangTile(tile_id=26, wang_id=[1, 1, 1, 1, 0, 3, 0, 1]),
|
||||||
|
27: wang_set.WangTile(tile_id=27, wang_id=[0, 1, 0, 2, 2, 2, 2, 2]),
|
||||||
|
28: wang_set.WangTile(tile_id=28, wang_id=[0, 2, 2, 2, 2, 2, 0, 1]),
|
||||||
|
29: wang_set.WangTile(tile_id=29, wang_id=[1, 1, 1, 1, 1, 1, 1, 1]),
|
||||||
|
32: wang_set.WangTile(tile_id=32, wang_id=[0, 3, 3, 3, 0, 1, 1, 1]),
|
||||||
|
33: wang_set.WangTile(tile_id=33, wang_id=[3, 3, 3, 3, 3, 3, 3, 3]),
|
||||||
|
34: wang_set.WangTile(tile_id=34, wang_id=[0, 1, 1, 1, 0, 3, 3, 3]),
|
||||||
|
35: wang_set.WangTile(tile_id=35, wang_id=[3, 3, 0, 1, 0, 3, 3, 3]),
|
||||||
|
36: wang_set.WangTile(tile_id=36, wang_id=[3, 3, 3, 3, 0, 1, 0, 3]),
|
||||||
|
40: wang_set.WangTile(tile_id=40, wang_id=[0, 3, 0, 1, 1, 1, 1, 1]),
|
||||||
|
41: wang_set.WangTile(tile_id=41, wang_id=[3, 3, 0, 1, 1, 1, 0, 3]),
|
||||||
|
42: wang_set.WangTile(tile_id=42, wang_id=[0, 1, 1, 1, 1, 1, 0, 3]),
|
||||||
|
43: wang_set.WangTile(tile_id=43, wang_id=[0, 1, 0, 3, 3, 3, 3, 3]),
|
||||||
|
44: wang_set.WangTile(tile_id=44, wang_id=[0, 3, 3, 3, 3, 3, 0, 1]),
|
||||||
|
},
|
||||||
|
)
|
||||||
],
|
],
|
||||||
tiles={
|
|
||||||
0: tileset.Tile(
|
|
||||||
id=0,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=0, bottom_left=0, bottom_right=1
|
|
||||||
),
|
|
||||||
),
|
|
||||||
1: tileset.Tile(
|
|
||||||
id=1,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=0, bottom_left=1, bottom_right=1
|
|
||||||
),
|
|
||||||
),
|
|
||||||
2: tileset.Tile(
|
|
||||||
id=2,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=0, bottom_left=1, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
3: tileset.Tile(
|
|
||||||
id=3,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=3, top_right=3, bottom_left=3, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
4: tileset.Tile(
|
|
||||||
id=4,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=3, top_right=3, bottom_left=0, bottom_right=3
|
|
||||||
),
|
|
||||||
),
|
|
||||||
5: tileset.Tile(
|
|
||||||
id=5,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=0, bottom_left=0, bottom_right=3
|
|
||||||
),
|
|
||||||
),
|
|
||||||
6: tileset.Tile(
|
|
||||||
id=6,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=0, bottom_left=3, bottom_right=3
|
|
||||||
),
|
|
||||||
),
|
|
||||||
7: tileset.Tile(
|
|
||||||
id=7,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=0, bottom_left=3, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
8: tileset.Tile(
|
|
||||||
id=8,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=1, bottom_left=0, bottom_right=1
|
|
||||||
),
|
|
||||||
),
|
|
||||||
9: tileset.Tile(
|
|
||||||
id=9,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=1, top_right=1, bottom_left=1, bottom_right=1
|
|
||||||
),
|
|
||||||
),
|
|
||||||
10: tileset.Tile(
|
|
||||||
id=10,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=1, top_right=0, bottom_left=1, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
11: tileset.Tile(
|
|
||||||
id=11,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=3, top_right=0, bottom_left=3, bottom_right=3
|
|
||||||
),
|
|
||||||
),
|
|
||||||
12: tileset.Tile(
|
|
||||||
id=12,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=3, bottom_left=3, bottom_right=3
|
|
||||||
),
|
|
||||||
),
|
|
||||||
13: tileset.Tile(
|
|
||||||
id=13,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=3, bottom_left=0, bottom_right=3
|
|
||||||
),
|
|
||||||
),
|
|
||||||
14: tileset.Tile(
|
|
||||||
id=14,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=3, top_right=3, bottom_left=3, bottom_right=3
|
|
||||||
),
|
|
||||||
),
|
|
||||||
15: tileset.Tile(
|
|
||||||
id=15,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=3, top_right=0, bottom_left=3, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
16: tileset.Tile(
|
|
||||||
id=16,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=1, bottom_left=0, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
17: tileset.Tile(
|
|
||||||
id=17,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=1, top_right=1, bottom_left=0, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
18: tileset.Tile(
|
|
||||||
id=18,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=1, top_right=0, bottom_left=0, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
19: tileset.Tile(
|
|
||||||
id=19,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=1, top_right=1, bottom_left=1, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
20: tileset.Tile(
|
|
||||||
id=20,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=1, top_right=1, bottom_left=0, bottom_right=1
|
|
||||||
),
|
|
||||||
),
|
|
||||||
21: tileset.Tile(
|
|
||||||
id=21,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=3, bottom_left=0, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
22: tileset.Tile(
|
|
||||||
id=22,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=3, top_right=3, bottom_left=0, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
23: tileset.Tile(
|
|
||||||
id=23,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=3, top_right=0, bottom_left=0, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
24: tileset.Tile(
|
|
||||||
id=24,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=0, bottom_left=0, bottom_right=2
|
|
||||||
),
|
|
||||||
),
|
|
||||||
25: tileset.Tile(
|
|
||||||
id=25,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=0, bottom_left=2, bottom_right=2
|
|
||||||
),
|
|
||||||
),
|
|
||||||
26: tileset.Tile(
|
|
||||||
id=26,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=0, bottom_left=2, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
27: tileset.Tile(
|
|
||||||
id=27,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=1, top_right=0, bottom_left=1, bottom_right=1
|
|
||||||
),
|
|
||||||
),
|
|
||||||
28: tileset.Tile(
|
|
||||||
id=28,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=1, bottom_left=1, bottom_right=1
|
|
||||||
),
|
|
||||||
),
|
|
||||||
29: tileset.Tile(
|
|
||||||
id=29,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=0, bottom_left=0, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
32: tileset.Tile(
|
|
||||||
id=32,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=2, bottom_left=0, bottom_right=2
|
|
||||||
),
|
|
||||||
),
|
|
||||||
33: tileset.Tile(
|
|
||||||
id=33,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=2, top_right=2, bottom_left=2, bottom_right=2
|
|
||||||
),
|
|
||||||
),
|
|
||||||
34: tileset.Tile(
|
|
||||||
id=34,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=2, top_right=0, bottom_left=2, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
35: tileset.Tile(
|
|
||||||
id=35,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=2, top_right=2, bottom_left=2, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
36: tileset.Tile(
|
|
||||||
id=36,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=2, top_right=2, bottom_left=0, bottom_right=2
|
|
||||||
),
|
|
||||||
),
|
|
||||||
40: tileset.Tile(
|
|
||||||
id=40,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=2, bottom_left=0, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
41: tileset.Tile(
|
|
||||||
id=41,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=2, top_right=2, bottom_left=0, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
42: tileset.Tile(
|
|
||||||
id=42,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=2, top_right=0, bottom_left=0, bottom_right=0
|
|
||||||
),
|
|
||||||
),
|
|
||||||
43: tileset.Tile(
|
|
||||||
id=43,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=2, top_right=0, bottom_left=2, bottom_right=2
|
|
||||||
),
|
|
||||||
),
|
|
||||||
44: tileset.Tile(
|
|
||||||
id=44,
|
|
||||||
terrain=tileset.TileTerrain(
|
|
||||||
top_left=0, top_right=2, bottom_left=2, bottom_right=2
|
|
||||||
),
|
|
||||||
),
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,206 +1,206 @@
|
|||||||
{ "columns":8,
|
{ "columns":8,
|
||||||
"editorsettings":
|
|
||||||
{
|
|
||||||
"export":
|
|
||||||
{
|
|
||||||
"format":"",
|
|
||||||
"target":"."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
"image":"..\/..\/images\/tmw_desert_spacing.png",
|
||||||
"imageheight":199,
|
"imageheight":199,
|
||||||
"imagewidth":265,
|
"imagewidth":265,
|
||||||
"margin":1,
|
"margin":1,
|
||||||
"name":"tileset",
|
"name":"tileset",
|
||||||
"spacing":1,
|
"spacing":1,
|
||||||
"terrains":[
|
|
||||||
{
|
|
||||||
"name":"Sand",
|
|
||||||
"properties":[
|
|
||||||
{
|
|
||||||
"name":"terrain property",
|
|
||||||
"type":"string",
|
|
||||||
"value":"test terrain property"
|
|
||||||
}],
|
|
||||||
"tile":29
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name":"Cobblestone",
|
|
||||||
"tile":29
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name":"Pavement",
|
|
||||||
"tile":29
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name":"Dirt",
|
|
||||||
"tile":29
|
|
||||||
}],
|
|
||||||
"tilecount":48,
|
"tilecount":48,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tiles":[
|
|
||||||
{
|
|
||||||
"id":0,
|
|
||||||
"terrain":[0, 0, 0, 1]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":1,
|
|
||||||
"terrain":[0, 0, 1, 1]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":2,
|
|
||||||
"terrain":[0, 0, 1, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":3,
|
|
||||||
"terrain":[3, 3, 3, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":4,
|
|
||||||
"terrain":[3, 3, 0, 3]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":5,
|
|
||||||
"terrain":[0, 0, 0, 3]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":6,
|
|
||||||
"terrain":[0, 0, 3, 3]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":7,
|
|
||||||
"terrain":[0, 0, 3, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":8,
|
|
||||||
"terrain":[0, 1, 0, 1]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":9,
|
|
||||||
"terrain":[1, 1, 1, 1]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":10,
|
|
||||||
"terrain":[1, 0, 1, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":11,
|
|
||||||
"terrain":[3, 0, 3, 3]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":12,
|
|
||||||
"terrain":[0, 3, 3, 3]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":13,
|
|
||||||
"terrain":[0, 3, 0, 3]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":14,
|
|
||||||
"terrain":[3, 3, 3, 3]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":15,
|
|
||||||
"terrain":[3, 0, 3, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":16,
|
|
||||||
"terrain":[0, 1, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":17,
|
|
||||||
"terrain":[1, 1, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":18,
|
|
||||||
"terrain":[1, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":19,
|
|
||||||
"terrain":[1, 1, 1, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":20,
|
|
||||||
"terrain":[1, 1, 0, 1]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":21,
|
|
||||||
"terrain":[0, 3, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":22,
|
|
||||||
"terrain":[3, 3, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":23,
|
|
||||||
"terrain":[3, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":24,
|
|
||||||
"terrain":[0, 0, 0, 2]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":25,
|
|
||||||
"terrain":[0, 0, 2, 2]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":26,
|
|
||||||
"terrain":[0, 0, 2, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":27,
|
|
||||||
"terrain":[1, 0, 1, 1]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":28,
|
|
||||||
"terrain":[0, 1, 1, 1]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":29,
|
|
||||||
"terrain":[0, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":32,
|
|
||||||
"terrain":[0, 2, 0, 2]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":33,
|
|
||||||
"terrain":[2, 2, 2, 2]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":34,
|
|
||||||
"terrain":[2, 0, 2, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":35,
|
|
||||||
"terrain":[2, 2, 2, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":36,
|
|
||||||
"terrain":[2, 2, 0, 2]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":40,
|
|
||||||
"terrain":[0, 2, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":41,
|
|
||||||
"terrain":[2, 2, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":42,
|
|
||||||
"terrain":[2, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":43,
|
|
||||||
"terrain":[2, 0, 2, 2]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id":44,
|
|
||||||
"terrain":[0, 2, 2, 2]
|
|
||||||
}],
|
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":"1.6",
|
||||||
|
"wangsets":[
|
||||||
|
{
|
||||||
|
"colors":[
|
||||||
|
{
|
||||||
|
"color":"#ff0000",
|
||||||
|
"name":"Sand",
|
||||||
|
"probability":1,
|
||||||
|
"tile":-1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color":"#00ff00",
|
||||||
|
"name":"Cobblestone",
|
||||||
|
"probability":1,
|
||||||
|
"tile":-1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color":"#0000ff",
|
||||||
|
"name":"Pavement",
|
||||||
|
"probability":1,
|
||||||
|
"tile":-1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color":"#ff7700",
|
||||||
|
"name":"Dirt",
|
||||||
|
"probability":1,
|
||||||
|
"tile":-1
|
||||||
|
}],
|
||||||
|
"name":"Terrains",
|
||||||
|
"tile":-1,
|
||||||
|
"type":"mixed",
|
||||||
|
"wangtiles":[
|
||||||
|
{
|
||||||
|
"tileid":0,
|
||||||
|
"wangid":[1, 1, 0, 2, 0, 1, 1, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":1,
|
||||||
|
"wangid":[1, 1, 0, 2, 2, 2, 0, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":2,
|
||||||
|
"wangid":[1, 1, 1, 1, 0, 2, 0, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":3,
|
||||||
|
"wangid":[4, 4, 0, 1, 0, 4, 4, 4]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":4,
|
||||||
|
"wangid":[4, 4, 4, 4, 0, 1, 0, 4]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":5,
|
||||||
|
"wangid":[1, 1, 0, 4, 0, 1, 1, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":6,
|
||||||
|
"wangid":[1, 1, 0, 4, 4, 4, 0, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":7,
|
||||||
|
"wangid":[1, 1, 1, 1, 0, 4, 0, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":8,
|
||||||
|
"wangid":[0, 2, 2, 2, 0, 1, 1, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":9,
|
||||||
|
"wangid":[2, 2, 2, 2, 2, 2, 2, 2]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":10,
|
||||||
|
"wangid":[0, 1, 1, 1, 0, 2, 2, 2]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":11,
|
||||||
|
"wangid":[0, 1, 0, 4, 4, 4, 4, 4]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":12,
|
||||||
|
"wangid":[0, 4, 4, 4, 4, 4, 0, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":13,
|
||||||
|
"wangid":[0, 4, 4, 4, 0, 1, 1, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":14,
|
||||||
|
"wangid":[4, 4, 4, 4, 4, 4, 4, 4]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":15,
|
||||||
|
"wangid":[0, 1, 1, 1, 0, 4, 4, 4]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":16,
|
||||||
|
"wangid":[0, 2, 0, 1, 1, 1, 1, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":17,
|
||||||
|
"wangid":[2, 2, 0, 1, 1, 1, 0, 2]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":18,
|
||||||
|
"wangid":[0, 1, 1, 1, 1, 1, 0, 2]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":19,
|
||||||
|
"wangid":[2, 2, 0, 1, 0, 2, 2, 2]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":20,
|
||||||
|
"wangid":[2, 2, 2, 2, 0, 1, 0, 2]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":21,
|
||||||
|
"wangid":[0, 4, 0, 1, 1, 1, 1, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":22,
|
||||||
|
"wangid":[4, 4, 0, 1, 1, 1, 0, 4]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":23,
|
||||||
|
"wangid":[0, 1, 1, 1, 1, 1, 0, 4]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":24,
|
||||||
|
"wangid":[1, 1, 0, 3, 0, 1, 1, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":25,
|
||||||
|
"wangid":[1, 1, 0, 3, 3, 3, 0, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":26,
|
||||||
|
"wangid":[1, 1, 1, 1, 0, 3, 0, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":27,
|
||||||
|
"wangid":[0, 1, 0, 2, 2, 2, 2, 2]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":28,
|
||||||
|
"wangid":[0, 2, 2, 2, 2, 2, 0, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":29,
|
||||||
|
"wangid":[1, 1, 1, 1, 1, 1, 1, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":32,
|
||||||
|
"wangid":[0, 3, 3, 3, 0, 1, 1, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":33,
|
||||||
|
"wangid":[3, 3, 3, 3, 3, 3, 3, 3]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":34,
|
||||||
|
"wangid":[0, 1, 1, 1, 0, 3, 3, 3]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":35,
|
||||||
|
"wangid":[3, 3, 0, 1, 0, 3, 3, 3]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":36,
|
||||||
|
"wangid":[3, 3, 3, 3, 0, 1, 0, 3]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":40,
|
||||||
|
"wangid":[0, 3, 0, 1, 1, 1, 1, 1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":41,
|
||||||
|
"wangid":[3, 3, 0, 1, 1, 1, 0, 3]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":42,
|
||||||
|
"wangid":[0, 1, 1, 1, 1, 1, 0, 3]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":43,
|
||||||
|
"wangid":[0, 1, 0, 3, 3, 3, 3, 3]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tileid":44,
|
||||||
|
"wangid":[0, 3, 3, 3, 3, 3, 0, 1]
|
||||||
|
}]
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
"nextobjectid":1,
|
"nextobjectid":1,
|
||||||
"orientation":"orthogonal",
|
"orientation":"orthogonal",
|
||||||
"renderorder":"right-down",
|
"renderorder":"right-down",
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilesets":[
|
"tilesets":[
|
||||||
{
|
{
|
||||||
@@ -27,6 +27,6 @@
|
|||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"map",
|
"type":"map",
|
||||||
"version":1.2,
|
"version":"1.6",
|
||||||
"width":20
|
"width":20
|
||||||
}
|
}
|
||||||
@@ -6,15 +6,14 @@
|
|||||||
"name":"tileset",
|
"name":"tileset",
|
||||||
"spacing":0,
|
"spacing":0,
|
||||||
"tilecount":81,
|
"tilecount":81,
|
||||||
"tiledversion":"1.3.5",
|
"tiledversion":"1.6.0",
|
||||||
"tileheight":32,
|
"tileheight":32,
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2,
|
"version":"1.6",
|
||||||
"wangsets":[
|
"wangsets":[
|
||||||
{
|
{
|
||||||
"cornercolors":[],
|
"colors":[
|
||||||
"edgecolors":[
|
|
||||||
{
|
{
|
||||||
"color":"#ff0000",
|
"color":"#ff0000",
|
||||||
"name":"Path",
|
"name":"Path",
|
||||||
@@ -35,572 +34,330 @@
|
|||||||
}],
|
}],
|
||||||
"name":"My Wang Set",
|
"name":"My Wang Set",
|
||||||
"tile":-1,
|
"tile":-1,
|
||||||
|
"type":"edge",
|
||||||
"wangtiles":[
|
"wangtiles":[
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":0,
|
"tileid":0,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 3, 0, 3, 0, 2, 0]
|
"wangid":[2, 0, 3, 0, 3, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":1,
|
"tileid":1,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 3, 0, 3, 0, 3, 0]
|
"wangid":[2, 0, 3, 0, 3, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":2,
|
"tileid":2,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 1, 0, 3, 0, 3, 0]
|
"wangid":[2, 0, 1, 0, 3, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":3,
|
"tileid":3,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 3, 0, 3, 0, 1, 0]
|
"wangid":[2, 0, 3, 0, 3, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":4,
|
"tileid":4,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 2, 0, 3, 0, 3, 0]
|
"wangid":[2, 0, 2, 0, 3, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":5,
|
"tileid":5,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 1, 0, 3, 0, 2, 0]
|
"wangid":[2, 0, 1, 0, 3, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":6,
|
"tileid":6,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 1, 0, 3, 0, 1, 0]
|
"wangid":[2, 0, 1, 0, 3, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":7,
|
"tileid":7,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 2, 0, 3, 0, 1, 0]
|
"wangid":[2, 0, 2, 0, 3, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":8,
|
"tileid":8,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 2, 0, 3, 0, 2, 0]
|
"wangid":[2, 0, 2, 0, 3, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":9,
|
"tileid":9,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 3, 0, 3, 0, 2, 0]
|
"wangid":[3, 0, 3, 0, 3, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":10,
|
"tileid":10,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 3, 0, 3, 0, 3, 0]
|
"wangid":[3, 0, 3, 0, 3, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":11,
|
"tileid":11,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 1, 0, 3, 0, 3, 0]
|
"wangid":[3, 0, 1, 0, 3, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":12,
|
"tileid":12,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 3, 0, 3, 0, 1, 0]
|
"wangid":[3, 0, 3, 0, 3, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":13,
|
"tileid":13,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 2, 0, 3, 0, 3, 0]
|
"wangid":[3, 0, 2, 0, 3, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":14,
|
"tileid":14,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 1, 0, 3, 0, 2, 0]
|
"wangid":[3, 0, 1, 0, 3, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":15,
|
"tileid":15,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 1, 0, 3, 0, 1, 0]
|
"wangid":[3, 0, 1, 0, 3, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":16,
|
"tileid":16,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 2, 0, 3, 0, 1, 0]
|
"wangid":[3, 0, 2, 0, 3, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":17,
|
"tileid":17,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 2, 0, 3, 0, 2, 0]
|
"wangid":[3, 0, 2, 0, 3, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":18,
|
"tileid":18,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 3, 0, 1, 0, 2, 0]
|
"wangid":[3, 0, 3, 0, 1, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":19,
|
"tileid":19,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 3, 0, 1, 0, 3, 0]
|
"wangid":[3, 0, 3, 0, 1, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":20,
|
"tileid":20,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 1, 0, 1, 0, 3, 0]
|
"wangid":[3, 0, 1, 0, 1, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":21,
|
"tileid":21,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 3, 0, 1, 0, 1, 0]
|
"wangid":[3, 0, 3, 0, 1, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":22,
|
"tileid":22,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 2, 0, 1, 0, 3, 0]
|
"wangid":[3, 0, 2, 0, 1, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":23,
|
"tileid":23,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 1, 0, 1, 0, 2, 0]
|
"wangid":[3, 0, 1, 0, 1, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":24,
|
"tileid":24,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 1, 0, 1, 0, 1, 0]
|
"wangid":[3, 0, 1, 0, 1, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":25,
|
"tileid":25,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 2, 0, 1, 0, 1, 0]
|
"wangid":[3, 0, 2, 0, 1, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":26,
|
"tileid":26,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 2, 0, 1, 0, 2, 0]
|
"wangid":[3, 0, 2, 0, 1, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":27,
|
"tileid":27,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 3, 0, 3, 0, 2, 0]
|
"wangid":[1, 0, 3, 0, 3, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":28,
|
"tileid":28,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 3, 0, 3, 0, 3, 0]
|
"wangid":[1, 0, 3, 0, 3, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":29,
|
"tileid":29,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 1, 0, 3, 0, 3, 0]
|
"wangid":[1, 0, 1, 0, 3, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":30,
|
"tileid":30,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 3, 0, 3, 0, 1, 0]
|
"wangid":[1, 0, 3, 0, 3, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":31,
|
"tileid":31,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 2, 0, 3, 0, 3, 0]
|
"wangid":[1, 0, 2, 0, 3, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":32,
|
"tileid":32,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 1, 0, 3, 0, 2, 0]
|
"wangid":[1, 0, 1, 0, 3, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":33,
|
"tileid":33,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 1, 0, 3, 0, 1, 0]
|
"wangid":[1, 0, 1, 0, 3, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":34,
|
"tileid":34,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 2, 0, 3, 0, 1, 0]
|
"wangid":[1, 0, 2, 0, 3, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":35,
|
"tileid":35,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 2, 0, 3, 0, 2, 0]
|
"wangid":[1, 0, 2, 0, 3, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":36,
|
"tileid":36,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 3, 0, 2, 0, 2, 0]
|
"wangid":[3, 0, 3, 0, 2, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":37,
|
"tileid":37,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 3, 0, 2, 0, 3, 0]
|
"wangid":[3, 0, 3, 0, 2, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":38,
|
"tileid":38,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 1, 0, 2, 0, 3, 0]
|
"wangid":[3, 0, 1, 0, 2, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":39,
|
"tileid":39,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 3, 0, 2, 0, 1, 0]
|
"wangid":[3, 0, 3, 0, 2, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":40,
|
"tileid":40,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 2, 0, 2, 0, 3, 0]
|
"wangid":[3, 0, 2, 0, 2, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":41,
|
"tileid":41,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 1, 0, 2, 0, 2, 0]
|
"wangid":[3, 0, 1, 0, 2, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":42,
|
"tileid":42,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 1, 0, 2, 0, 1, 0]
|
"wangid":[3, 0, 1, 0, 2, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":43,
|
"tileid":43,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 2, 0, 2, 0, 1, 0]
|
"wangid":[3, 0, 2, 0, 2, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":44,
|
"tileid":44,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[3, 0, 2, 0, 2, 0, 2, 0]
|
"wangid":[3, 0, 2, 0, 2, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":45,
|
"tileid":45,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 3, 0, 1, 0, 2, 0]
|
"wangid":[2, 0, 3, 0, 1, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":46,
|
"tileid":46,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 3, 0, 1, 0, 3, 0]
|
"wangid":[2, 0, 3, 0, 1, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":47,
|
"tileid":47,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 1, 0, 1, 0, 3, 0]
|
"wangid":[2, 0, 1, 0, 1, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":48,
|
"tileid":48,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 3, 0, 1, 0, 1, 0]
|
"wangid":[2, 0, 3, 0, 1, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":49,
|
"tileid":49,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 2, 0, 1, 0, 3, 0]
|
"wangid":[2, 0, 2, 0, 1, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":50,
|
"tileid":50,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 1, 0, 1, 0, 2, 0]
|
"wangid":[2, 0, 1, 0, 1, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":51,
|
"tileid":51,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 1, 0, 1, 0, 1, 0]
|
"wangid":[2, 0, 1, 0, 1, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":52,
|
"tileid":52,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 2, 0, 1, 0, 1, 0]
|
"wangid":[2, 0, 2, 0, 1, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":53,
|
"tileid":53,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 2, 0, 1, 0, 2, 0]
|
"wangid":[2, 0, 2, 0, 1, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":54,
|
"tileid":54,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 3, 0, 1, 0, 2, 0]
|
"wangid":[1, 0, 3, 0, 1, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":55,
|
"tileid":55,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 3, 0, 1, 0, 3, 0]
|
"wangid":[1, 0, 3, 0, 1, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":56,
|
"tileid":56,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 1, 0, 1, 0, 3, 0]
|
"wangid":[1, 0, 1, 0, 1, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":57,
|
"tileid":57,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 3, 0, 1, 0, 1, 0]
|
"wangid":[1, 0, 3, 0, 1, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":58,
|
"tileid":58,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 2, 0, 1, 0, 3, 0]
|
"wangid":[1, 0, 2, 0, 1, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":59,
|
"tileid":59,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 1, 0, 1, 0, 2, 0]
|
"wangid":[1, 0, 1, 0, 1, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":60,
|
"tileid":60,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 1, 0, 1, 0, 1, 0]
|
"wangid":[1, 0, 1, 0, 1, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":61,
|
"tileid":61,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 2, 0, 1, 0, 1, 0]
|
"wangid":[1, 0, 2, 0, 1, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":62,
|
"tileid":62,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 2, 0, 1, 0, 2, 0]
|
"wangid":[1, 0, 2, 0, 1, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":63,
|
"tileid":63,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 3, 0, 2, 0, 2, 0]
|
"wangid":[1, 0, 3, 0, 2, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":64,
|
"tileid":64,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 3, 0, 2, 0, 3, 0]
|
"wangid":[1, 0, 3, 0, 2, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":65,
|
"tileid":65,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 1, 0, 2, 0, 3, 0]
|
"wangid":[1, 0, 1, 0, 2, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":66,
|
"tileid":66,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 3, 0, 2, 0, 1, 0]
|
"wangid":[1, 0, 3, 0, 2, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":67,
|
"tileid":67,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 2, 0, 2, 0, 3, 0]
|
"wangid":[1, 0, 2, 0, 2, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":68,
|
"tileid":68,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 1, 0, 2, 0, 2, 0]
|
"wangid":[1, 0, 1, 0, 2, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":69,
|
"tileid":69,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 1, 0, 2, 0, 1, 0]
|
"wangid":[1, 0, 1, 0, 2, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":70,
|
"tileid":70,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 2, 0, 2, 0, 1, 0]
|
"wangid":[1, 0, 2, 0, 2, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":71,
|
"tileid":71,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[1, 0, 2, 0, 2, 0, 2, 0]
|
"wangid":[1, 0, 2, 0, 2, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":72,
|
"tileid":72,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 3, 0, 2, 0, 2, 0]
|
"wangid":[2, 0, 3, 0, 2, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":73,
|
"tileid":73,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 3, 0, 2, 0, 3, 0]
|
"wangid":[2, 0, 3, 0, 2, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":74,
|
"tileid":74,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 1, 0, 2, 0, 3, 0]
|
"wangid":[2, 0, 1, 0, 2, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":75,
|
"tileid":75,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 3, 0, 2, 0, 1, 0]
|
"wangid":[2, 0, 3, 0, 2, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":76,
|
"tileid":76,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 2, 0, 2, 0, 3, 0]
|
"wangid":[2, 0, 2, 0, 2, 0, 3, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":77,
|
"tileid":77,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 1, 0, 2, 0, 2, 0]
|
"wangid":[2, 0, 1, 0, 2, 0, 2, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":78,
|
"tileid":78,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 1, 0, 2, 0, 1, 0]
|
"wangid":[2, 0, 1, 0, 2, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":79,
|
"tileid":79,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 2, 0, 2, 0, 1, 0]
|
"wangid":[2, 0, 2, 0, 2, 0, 1, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dflip":false,
|
|
||||||
"hflip":false,
|
|
||||||
"tileid":80,
|
"tileid":80,
|
||||||
"vflip":false,
|
|
||||||
"wangid":[2, 0, 2, 0, 2, 0, 2, 0]
|
"wangid":[2, 0, 2, 0, 2, 0, 2, 0]
|
||||||
}]
|
}]
|
||||||
}]
|
}]
|
||||||
|
|||||||
Reference in New Issue
Block a user