Skip to content

Commit

Permalink
Updated to LDtk 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Sep 22, 2023
1 parent f5517b1 commit 79c70ea
Showing 1 changed file with 93 additions and 88 deletions.
181 changes: 93 additions & 88 deletions res/levels/sampleWorld.ldtk
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"doc": "https://ldtk.io/json",
"schema": "https://ldtk.io/files/JSON_SCHEMA.json",
"appAuthor": "Sebastien 'deepnight' Benard",
"appVersion": "1.3.4",
"appVersion": "1.4.0",
"url": "https://ldtk.io"
},
"iid": "de07ff90-7820-11ed-ac6b-bbc68d89d940",
"jsonVersion": "1.3.4",
"appBuildId": 469053,
"nextUid": 24,
"jsonVersion": "1.4.0",
"appBuildId": 470941,
"nextUid": 25,
"identifierStyle": "Capitalize",
"toc": [],
"worldLayout": null,
Expand Down Expand Up @@ -65,6 +65,7 @@
"requiredTags": [],
"excludedTags": [],
"intGridValues": [],
"intGridValuesGroups": [],
"autoRuleGroups": [],
"autoSourceLayerDefUid": null,
"tilesetDefUid": null,
Expand Down Expand Up @@ -94,18 +95,19 @@
"parallaxScaling": true,
"requiredTags": [],
"excludedTags": [],
"intGridValues": [{ "value": 1, "identifier": "walls", "color": "#000000", "tile": null }],
"intGridValues": [{ "value": 1, "identifier": "walls", "color": "#000000", "tile": { "tilesetUid": 4, "x": 16, "y": 0, "w": 16, "h": 16 }, "groupUid": 0 }],
"intGridValuesGroups": [],
"autoRuleGroups": [
{ "uid": 5, "name": "Walls", "active": true, "isOptional": false, "rules": [
{ "uid": 24, "name": "Details", "color": "#3E8948", "icon": { "tilesetUid": 4, "x": 48, "y": 0, "w": 16, "h": 16 }, "active": true, "isOptional": false, "rules": [
{
"uid": 15,
"uid": 11,
"active": true,
"size": 3,
"tileIds": [34],
"tileIds": [3],
"alpha": 1,
"chance": 1,
"breakOnMatch": false,
"pattern": [0,1,0,0,-1,0,0,0,0],
"pattern": [0,0,0,0,-1,0,0,1,0],
"flipX": false,
"flipY": false,
"xModulo": 1,
Expand All @@ -124,23 +126,23 @@
"pivotY": 0,
"outOfBoundsValue": null,
"perlinActive": false,
"perlinSeed": 6884511,
"perlinSeed": 9994295,
"perlinScale": 0.2,
"perlinOctaves": 2
},
{
"uid": 13,
"uid": 15,
"active": true,
"size": 3,
"tileIds": [32,64,33,65],
"tileIds": [34],
"alpha": 1,
"chance": 0.5,
"chance": 1,
"breakOnMatch": false,
"pattern": [0,0,0,0,1,1,0,1,1],
"pattern": [0,1,0,0,-1,0,0,0,0],
"flipX": false,
"flipY": false,
"xModulo": 2,
"yModulo": 2,
"xModulo": 1,
"yModulo": 1,
"xOffset": 0,
"yOffset": 0,
"tileXOffset": 0,
Expand All @@ -149,29 +151,31 @@
"tileRandomXMax": 0,
"tileRandomYMin": 0,
"tileRandomYMax": 0,
"checker": "Vertical",
"tileMode": "Stamp",
"checker": "None",
"tileMode": "Single",
"pivotX": 0,
"pivotY": 0,
"outOfBoundsValue": null,
"perlinActive": false,
"perlinSeed": 7268775,
"perlinSeed": 6884511,
"perlinScale": 0.2,
"perlinOctaves": 2
},
}
], "usesWizard": false },
{ "uid": 5, "name": "Walls", "color": "#8B9BB4", "icon": { "tilesetUid": 4, "x": 0, "y": 0, "w": 16, "h": 16 }, "active": true, "isOptional": false, "rules": [
{
"uid": 11,
"uid": 13,
"active": true,
"size": 3,
"tileIds": [3],
"tileIds": [32,64,33,65],
"alpha": 1,
"chance": 1,
"chance": 0.5,
"breakOnMatch": false,
"pattern": [0,0,0,0,-1,0,0,1,0],
"pattern": [0,0,0,0,1,1,0,1,1],
"flipX": false,
"flipY": false,
"xModulo": 1,
"yModulo": 1,
"xModulo": 2,
"yModulo": 2,
"xOffset": 0,
"yOffset": 0,
"tileXOffset": 0,
Expand All @@ -180,13 +184,13 @@
"tileRandomXMax": 0,
"tileRandomYMin": 0,
"tileRandomYMax": 0,
"checker": "None",
"tileMode": "Single",
"checker": "Vertical",
"tileMode": "Stamp",
"pivotX": 0,
"pivotY": 0,
"outOfBoundsValue": null,
"perlinActive": false,
"perlinSeed": 9994295,
"perlinSeed": 7268775,
"perlinScale": 0.2,
"perlinOctaves": 2
},
Expand Down Expand Up @@ -253,7 +257,7 @@
"perlinOctaves": 2
}
], "usesWizard": false },
{ "uid": 16, "name": "Background", "active": true, "isOptional": false, "rules": [
{ "uid": 16, "name": "Background", "color": "#68386C", "icon": { "tilesetUid": 4, "x": 80, "y": 0, "w": 16, "h": 16 }, "active": true, "isOptional": false, "rules": [
{
"uid": 19,
"active": true,
Expand Down Expand Up @@ -380,6 +384,7 @@
"tilesetId": 23,
"tileRenderMode": "Stretch",
"tileRect": { "tilesetUid": 23, "x": 208, "y": 80, "w": 16, "h": 16 },
"uiTileRect": null,
"nineSliceBorders": [],
"maxCount": 1,
"limitScope": "PerWorld",
Expand Down Expand Up @@ -1969,63 +1974,6 @@
{ "px": [624,528], "src": [32,0], "f": 0, "t": 2, "d": [12,1524], "a": 1 },
{ "px": [656,528], "src": [32,0], "f": 0, "t": 2, "d": [12,1526], "a": 1 },
{ "px": [688,528], "src": [32,0], "f": 0, "t": 2, "d": [12,1528], "a": 1 },
{ "px": [368,208], "src": [48,0], "f": 0, "t": 3, "d": [11,608], "a": 1 },
{ "px": [384,208], "src": [48,0], "f": 0, "t": 3, "d": [11,609], "a": 1 },
{ "px": [400,208], "src": [48,0], "f": 0, "t": 3, "d": [11,610], "a": 1 },
{ "px": [240,240], "src": [48,0], "f": 0, "t": 3, "d": [11,690], "a": 1 },
{ "px": [256,240], "src": [48,0], "f": 0, "t": 3, "d": [11,691], "a": 1 },
{ "px": [272,240], "src": [48,0], "f": 0, "t": 3, "d": [11,692], "a": 1 },
{ "px": [288,240], "src": [48,0], "f": 0, "t": 3, "d": [11,693], "a": 1 },
{ "px": [304,240], "src": [48,0], "f": 0, "t": 3, "d": [11,694], "a": 1 },
{ "px": [320,240], "src": [48,0], "f": 0, "t": 3, "d": [11,695], "a": 1 },
{ "px": [336,240], "src": [48,0], "f": 0, "t": 3, "d": [11,696], "a": 1 },
{ "px": [352,240], "src": [48,0], "f": 0, "t": 3, "d": [11,697], "a": 1 },
{ "px": [416,240], "src": [48,0], "f": 0, "t": 3, "d": [11,701], "a": 1 },
{ "px": [432,240], "src": [48,0], "f": 0, "t": 3, "d": [11,702], "a": 1 },
{ "px": [448,240], "src": [48,0], "f": 0, "t": 3, "d": [11,703], "a": 1 },
{ "px": [464,240], "src": [48,0], "f": 0, "t": 3, "d": [11,704], "a": 1 },
{ "px": [544,240], "src": [48,0], "f": 0, "t": 3, "d": [11,709], "a": 1 },
{ "px": [560,240], "src": [48,0], "f": 0, "t": 3, "d": [11,710], "a": 1 },
{ "px": [160,256], "src": [48,0], "f": 0, "t": 3, "d": [11,730], "a": 1 },
{ "px": [176,256], "src": [48,0], "f": 0, "t": 3, "d": [11,731], "a": 1 },
{ "px": [192,256], "src": [48,0], "f": 0, "t": 3, "d": [11,732], "a": 1 },
{ "px": [480,304], "src": [48,0], "f": 0, "t": 3, "d": [11,885], "a": 1 },
{ "px": [496,304], "src": [48,0], "f": 0, "t": 3, "d": [11,886], "a": 1 },
{ "px": [208,320], "src": [48,0], "f": 0, "t": 3, "d": [11,913], "a": 1 },
{ "px": [224,320], "src": [48,0], "f": 0, "t": 3, "d": [11,914], "a": 1 },
{ "px": [320,320], "src": [48,0], "f": 0, "t": 3, "d": [11,920], "a": 1 },
{ "px": [352,320], "src": [48,0], "f": 0, "t": 3, "d": [11,922], "a": 1 },
{ "px": [304,352], "src": [48,0], "f": 0, "t": 3, "d": [11,1009], "a": 1 },
{ "px": [368,352], "src": [48,0], "f": 0, "t": 3, "d": [11,1013], "a": 1 },
{ "px": [544,352], "src": [48,0], "f": 0, "t": 3, "d": [11,1024], "a": 1 },
{ "px": [560,352], "src": [48,0], "f": 0, "t": 3, "d": [11,1025], "a": 1 },
{ "px": [320,368], "src": [48,0], "f": 0, "t": 3, "d": [11,1055], "a": 1 },
{ "px": [336,368], "src": [48,0], "f": 0, "t": 3, "d": [11,1056], "a": 1 },
{ "px": [352,368], "src": [48,0], "f": 0, "t": 3, "d": [11,1057], "a": 1 },
{ "px": [160,384], "src": [48,0], "f": 0, "t": 3, "d": [11,1090], "a": 1 },
{ "px": [176,384], "src": [48,0], "f": 0, "t": 3, "d": [11,1091], "a": 1 },
{ "px": [192,384], "src": [48,0], "f": 0, "t": 3, "d": [11,1092], "a": 1 },
{ "px": [208,384], "src": [48,0], "f": 0, "t": 3, "d": [11,1093], "a": 1 },
{ "px": [224,384], "src": [48,0], "f": 0, "t": 3, "d": [11,1094], "a": 1 },
{ "px": [240,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1185], "a": 1 },
{ "px": [256,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1186], "a": 1 },
{ "px": [272,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1187], "a": 1 },
{ "px": [288,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1188], "a": 1 },
{ "px": [304,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1189], "a": 1 },
{ "px": [320,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1190], "a": 1 },
{ "px": [336,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1191], "a": 1 },
{ "px": [352,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1192], "a": 1 },
{ "px": [368,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1193], "a": 1 },
{ "px": [384,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1194], "a": 1 },
{ "px": [400,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1195], "a": 1 },
{ "px": [416,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1196], "a": 1 },
{ "px": [432,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1197], "a": 1 },
{ "px": [448,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1198], "a": 1 },
{ "px": [464,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1199], "a": 1 },
{ "px": [480,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1200], "a": 1 },
{ "px": [496,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1201], "a": 1 },
{ "px": [512,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1202], "a": 1 },
{ "px": [528,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1203], "a": 1 },
{ "px": [64,0], "src": [0,16], "f": 0, "t": 32, "d": [13,4], "a": 1 },
{ "px": [64,16], "src": [0,32], "f": 0, "t": 64, "d": [13,4], "a": 1 },
{ "px": [80,0], "src": [16,16], "f": 0, "t": 33, "d": [13,4], "a": 1 },
Expand Down Expand Up @@ -2582,7 +2530,64 @@
{ "px": [336,400], "src": [32,16], "f": 0, "t": 34, "d": [15,1146], "a": 1 },
{ "px": [352,400], "src": [32,16], "f": 0, "t": 34, "d": [15,1147], "a": 1 },
{ "px": [368,400], "src": [32,16], "f": 0, "t": 34, "d": [15,1148], "a": 1 },
{ "px": [384,400], "src": [32,16], "f": 0, "t": 34, "d": [15,1149], "a": 1 }
{ "px": [384,400], "src": [32,16], "f": 0, "t": 34, "d": [15,1149], "a": 1 },
{ "px": [368,208], "src": [48,0], "f": 0, "t": 3, "d": [11,608], "a": 1 },
{ "px": [384,208], "src": [48,0], "f": 0, "t": 3, "d": [11,609], "a": 1 },
{ "px": [400,208], "src": [48,0], "f": 0, "t": 3, "d": [11,610], "a": 1 },
{ "px": [240,240], "src": [48,0], "f": 0, "t": 3, "d": [11,690], "a": 1 },
{ "px": [256,240], "src": [48,0], "f": 0, "t": 3, "d": [11,691], "a": 1 },
{ "px": [272,240], "src": [48,0], "f": 0, "t": 3, "d": [11,692], "a": 1 },
{ "px": [288,240], "src": [48,0], "f": 0, "t": 3, "d": [11,693], "a": 1 },
{ "px": [304,240], "src": [48,0], "f": 0, "t": 3, "d": [11,694], "a": 1 },
{ "px": [320,240], "src": [48,0], "f": 0, "t": 3, "d": [11,695], "a": 1 },
{ "px": [336,240], "src": [48,0], "f": 0, "t": 3, "d": [11,696], "a": 1 },
{ "px": [352,240], "src": [48,0], "f": 0, "t": 3, "d": [11,697], "a": 1 },
{ "px": [416,240], "src": [48,0], "f": 0, "t": 3, "d": [11,701], "a": 1 },
{ "px": [432,240], "src": [48,0], "f": 0, "t": 3, "d": [11,702], "a": 1 },
{ "px": [448,240], "src": [48,0], "f": 0, "t": 3, "d": [11,703], "a": 1 },
{ "px": [464,240], "src": [48,0], "f": 0, "t": 3, "d": [11,704], "a": 1 },
{ "px": [544,240], "src": [48,0], "f": 0, "t": 3, "d": [11,709], "a": 1 },
{ "px": [560,240], "src": [48,0], "f": 0, "t": 3, "d": [11,710], "a": 1 },
{ "px": [160,256], "src": [48,0], "f": 0, "t": 3, "d": [11,730], "a": 1 },
{ "px": [176,256], "src": [48,0], "f": 0, "t": 3, "d": [11,731], "a": 1 },
{ "px": [192,256], "src": [48,0], "f": 0, "t": 3, "d": [11,732], "a": 1 },
{ "px": [480,304], "src": [48,0], "f": 0, "t": 3, "d": [11,885], "a": 1 },
{ "px": [496,304], "src": [48,0], "f": 0, "t": 3, "d": [11,886], "a": 1 },
{ "px": [208,320], "src": [48,0], "f": 0, "t": 3, "d": [11,913], "a": 1 },
{ "px": [224,320], "src": [48,0], "f": 0, "t": 3, "d": [11,914], "a": 1 },
{ "px": [320,320], "src": [48,0], "f": 0, "t": 3, "d": [11,920], "a": 1 },
{ "px": [352,320], "src": [48,0], "f": 0, "t": 3, "d": [11,922], "a": 1 },
{ "px": [304,352], "src": [48,0], "f": 0, "t": 3, "d": [11,1009], "a": 1 },
{ "px": [368,352], "src": [48,0], "f": 0, "t": 3, "d": [11,1013], "a": 1 },
{ "px": [544,352], "src": [48,0], "f": 0, "t": 3, "d": [11,1024], "a": 1 },
{ "px": [560,352], "src": [48,0], "f": 0, "t": 3, "d": [11,1025], "a": 1 },
{ "px": [320,368], "src": [48,0], "f": 0, "t": 3, "d": [11,1055], "a": 1 },
{ "px": [336,368], "src": [48,0], "f": 0, "t": 3, "d": [11,1056], "a": 1 },
{ "px": [352,368], "src": [48,0], "f": 0, "t": 3, "d": [11,1057], "a": 1 },
{ "px": [160,384], "src": [48,0], "f": 0, "t": 3, "d": [11,1090], "a": 1 },
{ "px": [176,384], "src": [48,0], "f": 0, "t": 3, "d": [11,1091], "a": 1 },
{ "px": [192,384], "src": [48,0], "f": 0, "t": 3, "d": [11,1092], "a": 1 },
{ "px": [208,384], "src": [48,0], "f": 0, "t": 3, "d": [11,1093], "a": 1 },
{ "px": [224,384], "src": [48,0], "f": 0, "t": 3, "d": [11,1094], "a": 1 },
{ "px": [240,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1185], "a": 1 },
{ "px": [256,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1186], "a": 1 },
{ "px": [272,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1187], "a": 1 },
{ "px": [288,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1188], "a": 1 },
{ "px": [304,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1189], "a": 1 },
{ "px": [320,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1190], "a": 1 },
{ "px": [336,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1191], "a": 1 },
{ "px": [352,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1192], "a": 1 },
{ "px": [368,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1193], "a": 1 },
{ "px": [384,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1194], "a": 1 },
{ "px": [400,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1195], "a": 1 },
{ "px": [416,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1196], "a": 1 },
{ "px": [432,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1197], "a": 1 },
{ "px": [448,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1198], "a": 1 },
{ "px": [464,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1199], "a": 1 },
{ "px": [480,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1200], "a": 1 },
{ "px": [496,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1201], "a": 1 },
{ "px": [512,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1202], "a": 1 },
{ "px": [528,416], "src": [48,0], "f": 0, "t": 3, "d": [11,1203], "a": 1 }
],
"seed": 9319627,
"overrideTilesetUid": null,
Expand Down

0 comments on commit 79c70ea

Please sign in to comment.