326 lines
8 KiB
Text
326 lines
8 KiB
Text
|
|
{
|
||
|
|
"__header__": {
|
||
|
|
"fileType": "LDtk Project JSON",
|
||
|
|
"app": "LDtk",
|
||
|
|
"doc": "https://ldtk.io/json",
|
||
|
|
"schema": "https://ldtk.io/files/JSON_SCHEMA.json",
|
||
|
|
"appAuthor": "Sebastien 'deepnight' Benard",
|
||
|
|
"appVersion": "1.5.3",
|
||
|
|
"url": "https://ldtk.io"
|
||
|
|
},
|
||
|
|
"iid": "test-project-iid",
|
||
|
|
"jsonVersion": "1.5.3",
|
||
|
|
"appBuildId": 0,
|
||
|
|
"nextUid": 100,
|
||
|
|
"identifierStyle": "Capitalize",
|
||
|
|
"toc": [],
|
||
|
|
"worldLayout": "Free",
|
||
|
|
"worldGridWidth": 256,
|
||
|
|
"worldGridHeight": 256,
|
||
|
|
"defaultLevelWidth": 256,
|
||
|
|
"defaultLevelHeight": 256,
|
||
|
|
"defaultPivotX": 0,
|
||
|
|
"defaultPivotY": 0,
|
||
|
|
"defaultGridSize": 16,
|
||
|
|
"defaultEntityWidth": 16,
|
||
|
|
"defaultEntityHeight": 16,
|
||
|
|
"bgColor": "#40465B",
|
||
|
|
"defaultLevelBgColor": "#696A79",
|
||
|
|
"minifyJson": false,
|
||
|
|
"externalLevels": false,
|
||
|
|
"exportTiled": false,
|
||
|
|
"simplifiedExport": false,
|
||
|
|
"imageExportMode": "None",
|
||
|
|
"exportLevelBg": true,
|
||
|
|
"pngFilePattern": null,
|
||
|
|
"backupOnSave": false,
|
||
|
|
"backupLimit": 10,
|
||
|
|
"backupRelPath": null,
|
||
|
|
"levelNamePattern": "Level_%idx",
|
||
|
|
"tutorialDesc": null,
|
||
|
|
"customCommands": [],
|
||
|
|
"flags": [],
|
||
|
|
"defs": {
|
||
|
|
"layers": [
|
||
|
|
{
|
||
|
|
"__type": "IntGrid",
|
||
|
|
"identifier": "Terrain",
|
||
|
|
"type": "IntGrid",
|
||
|
|
"uid": 1,
|
||
|
|
"doc": null,
|
||
|
|
"uiColor": null,
|
||
|
|
"gridSize": 16,
|
||
|
|
"guideGridWid": 0,
|
||
|
|
"guideGridHei": 0,
|
||
|
|
"displayOpacity": 1,
|
||
|
|
"inactiveOpacity": 0.6,
|
||
|
|
"hideInList": false,
|
||
|
|
"hideFieldsWhenInactive": true,
|
||
|
|
"canSelectWhenInactive": true,
|
||
|
|
"renderInWorldView": true,
|
||
|
|
"pxOffsetX": 0,
|
||
|
|
"pxOffsetY": 0,
|
||
|
|
"parallaxFactorX": 0,
|
||
|
|
"parallaxFactorY": 0,
|
||
|
|
"parallaxScaling": true,
|
||
|
|
"requiredTags": [],
|
||
|
|
"excludedTags": [],
|
||
|
|
"autoTilesetDefUid": 10,
|
||
|
|
"tilesetDefUid": 10,
|
||
|
|
"tilePivotX": 0,
|
||
|
|
"tilePivotY": 0,
|
||
|
|
"biomeFieldUid": null,
|
||
|
|
"intGridValues": [
|
||
|
|
{ "value": 1, "identifier": "wall", "color": "#FFFFFF", "tile": null, "groupUid": 0 },
|
||
|
|
{ "value": 2, "identifier": "floor", "color": "#808080", "tile": null, "groupUid": 0 },
|
||
|
|
{ "value": 3, "identifier": "water", "color": "#0000FF", "tile": null, "groupUid": 0 }
|
||
|
|
],
|
||
|
|
"intGridValuesGroups": [],
|
||
|
|
"autoRuleGroups": [
|
||
|
|
{
|
||
|
|
"uid": 50,
|
||
|
|
"name": "Walls",
|
||
|
|
"color": null,
|
||
|
|
"icon": null,
|
||
|
|
"active": true,
|
||
|
|
"isOptional": false,
|
||
|
|
"rules": [
|
||
|
|
{
|
||
|
|
"uid": 51,
|
||
|
|
"active": true,
|
||
|
|
"size": 3,
|
||
|
|
"tileRectsIds": [[[0, 0]]],
|
||
|
|
"alpha": 1,
|
||
|
|
"chance": 1,
|
||
|
|
"breakOnMatch": true,
|
||
|
|
"pattern": [
|
||
|
|
0, 0, 0,
|
||
|
|
0, 1, 0,
|
||
|
|
0, 0, 0
|
||
|
|
],
|
||
|
|
"flipX": false,
|
||
|
|
"flipY": false,
|
||
|
|
"xModulo": 1,
|
||
|
|
"yModulo": 1,
|
||
|
|
"xOffset": 0,
|
||
|
|
"yOffset": 0,
|
||
|
|
"tileXOffset": 0,
|
||
|
|
"tileYOffset": 0,
|
||
|
|
"tileRandomXMin": 0,
|
||
|
|
"tileRandomXMax": 0,
|
||
|
|
"tileRandomYMin": 0,
|
||
|
|
"tileRandomYMax": 0,
|
||
|
|
"checker": "None",
|
||
|
|
"tileMode": "Single",
|
||
|
|
"pivotX": 0,
|
||
|
|
"pivotY": 0,
|
||
|
|
"outOfBoundsValue": -1,
|
||
|
|
"perlinActive": false,
|
||
|
|
"perlinSeed": 0,
|
||
|
|
"perlinScale": 0.2,
|
||
|
|
"perlinOctaves": 2,
|
||
|
|
"invalidated": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"uid": 52,
|
||
|
|
"active": true,
|
||
|
|
"size": 3,
|
||
|
|
"tileRectsIds": [[[16, 0]]],
|
||
|
|
"alpha": 1,
|
||
|
|
"chance": 1,
|
||
|
|
"breakOnMatch": true,
|
||
|
|
"pattern": [
|
||
|
|
0, -1, 0,
|
||
|
|
0, 1, 0,
|
||
|
|
0, 0, 0
|
||
|
|
],
|
||
|
|
"flipX": true,
|
||
|
|
"flipY": false,
|
||
|
|
"xModulo": 1,
|
||
|
|
"yModulo": 1,
|
||
|
|
"xOffset": 0,
|
||
|
|
"yOffset": 0,
|
||
|
|
"tileXOffset": 0,
|
||
|
|
"tileYOffset": 0,
|
||
|
|
"tileRandomXMin": 0,
|
||
|
|
"tileRandomXMax": 0,
|
||
|
|
"tileRandomYMin": 0,
|
||
|
|
"tileRandomYMax": 0,
|
||
|
|
"checker": "None",
|
||
|
|
"tileMode": "Single",
|
||
|
|
"pivotX": 0,
|
||
|
|
"pivotY": 0,
|
||
|
|
"outOfBoundsValue": -1,
|
||
|
|
"perlinActive": false,
|
||
|
|
"perlinSeed": 0,
|
||
|
|
"perlinScale": 0.2,
|
||
|
|
"perlinOctaves": 2,
|
||
|
|
"invalidated": false
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"usesWizard": false,
|
||
|
|
"requiredBiomeValues": [],
|
||
|
|
"biomeRequirementMode": 0
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"uid": 60,
|
||
|
|
"name": "Floors",
|
||
|
|
"color": null,
|
||
|
|
"icon": null,
|
||
|
|
"active": true,
|
||
|
|
"isOptional": false,
|
||
|
|
"rules": [
|
||
|
|
{
|
||
|
|
"uid": 61,
|
||
|
|
"active": true,
|
||
|
|
"size": 1,
|
||
|
|
"tileRectsIds": [[[32, 0]], [[48, 0]]],
|
||
|
|
"alpha": 1,
|
||
|
|
"chance": 1,
|
||
|
|
"breakOnMatch": true,
|
||
|
|
"pattern": [2],
|
||
|
|
"flipX": false,
|
||
|
|
"flipY": false,
|
||
|
|
"xModulo": 1,
|
||
|
|
"yModulo": 1,
|
||
|
|
"xOffset": 0,
|
||
|
|
"yOffset": 0,
|
||
|
|
"tileXOffset": 0,
|
||
|
|
"tileYOffset": 0,
|
||
|
|
"tileRandomXMin": 0,
|
||
|
|
"tileRandomXMax": 0,
|
||
|
|
"tileRandomYMin": 0,
|
||
|
|
"tileRandomYMax": 0,
|
||
|
|
"checker": "None",
|
||
|
|
"tileMode": "Single",
|
||
|
|
"pivotX": 0,
|
||
|
|
"pivotY": 0,
|
||
|
|
"outOfBoundsValue": -1,
|
||
|
|
"perlinActive": false,
|
||
|
|
"perlinSeed": 0,
|
||
|
|
"perlinScale": 0.2,
|
||
|
|
"perlinOctaves": 2,
|
||
|
|
"invalidated": false
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"usesWizard": false,
|
||
|
|
"requiredBiomeValues": [],
|
||
|
|
"biomeRequirementMode": 0
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"autoSourceLayerDefUid": null
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"entities": [],
|
||
|
|
"tilesets": [
|
||
|
|
{
|
||
|
|
"__cWid": 4,
|
||
|
|
"__cHei": 4,
|
||
|
|
"identifier": "Test_Tileset",
|
||
|
|
"uid": 10,
|
||
|
|
"relPath": "test_tileset.png",
|
||
|
|
"embedAtlas": null,
|
||
|
|
"pxWid": 64,
|
||
|
|
"pxHei": 64,
|
||
|
|
"tileGridSize": 16,
|
||
|
|
"spacing": 0,
|
||
|
|
"padding": 0,
|
||
|
|
"tags": [],
|
||
|
|
"tagsSourceEnumUid": null,
|
||
|
|
"enumTags": [],
|
||
|
|
"customData": [],
|
||
|
|
"savedSelections": [],
|
||
|
|
"cachedPixelData": null
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"enums": [
|
||
|
|
{
|
||
|
|
"identifier": "TileType",
|
||
|
|
"uid": 20,
|
||
|
|
"values": [
|
||
|
|
{ "id": "Solid", "tileRect": null, "color": 0 },
|
||
|
|
{ "id": "Platform", "tileRect": null, "color": 0 }
|
||
|
|
],
|
||
|
|
"iconTilesetUid": null,
|
||
|
|
"externalRelPath": null,
|
||
|
|
"externalFileChecksum": null,
|
||
|
|
"tags": []
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"externalEnums": [],
|
||
|
|
"levelFields": []
|
||
|
|
},
|
||
|
|
"levels": [
|
||
|
|
{
|
||
|
|
"identifier": "Level_0",
|
||
|
|
"iid": "level-0-iid",
|
||
|
|
"uid": 30,
|
||
|
|
"worldX": 0,
|
||
|
|
"worldY": 0,
|
||
|
|
"worldDepth": 0,
|
||
|
|
"pxWid": 80,
|
||
|
|
"pxHei": 80,
|
||
|
|
"__bgColor": "#696A79",
|
||
|
|
"bgColor": null,
|
||
|
|
"useAutoIdentifier": false,
|
||
|
|
"bgRelPath": null,
|
||
|
|
"bgPos": null,
|
||
|
|
"bgPivotX": 0.5,
|
||
|
|
"bgPivotY": 0.5,
|
||
|
|
"__smartColor": "#ADADB5",
|
||
|
|
"__bgPos": null,
|
||
|
|
"externalRelPath": null,
|
||
|
|
"fieldInstances": [],
|
||
|
|
"layerInstances": [
|
||
|
|
{
|
||
|
|
"__identifier": "Terrain",
|
||
|
|
"__type": "IntGrid",
|
||
|
|
"__cWid": 5,
|
||
|
|
"__cHei": 5,
|
||
|
|
"__gridSize": 16,
|
||
|
|
"__opacity": 1,
|
||
|
|
"__pxTotalOffsetX": 0,
|
||
|
|
"__pxTotalOffsetY": 0,
|
||
|
|
"__tilesetDefUid": 10,
|
||
|
|
"__tilesetRelPath": "test_tileset.png",
|
||
|
|
"iid": "layer-iid",
|
||
|
|
"levelId": 30,
|
||
|
|
"layerDefUid": 1,
|
||
|
|
"pxOffsetX": 0,
|
||
|
|
"pxOffsetY": 0,
|
||
|
|
"visible": true,
|
||
|
|
"optionalRules": [],
|
||
|
|
"intGridCsv": [
|
||
|
|
1, 1, 1, 1, 1,
|
||
|
|
1, 2, 2, 2, 1,
|
||
|
|
1, 2, 3, 2, 1,
|
||
|
|
1, 2, 2, 2, 1,
|
||
|
|
1, 1, 1, 1, 1
|
||
|
|
],
|
||
|
|
"autoLayerTiles": [
|
||
|
|
{ "px": [0, 0], "src": [0, 0], "f": 0, "t": 0, "d": [51], "a": 1 },
|
||
|
|
{ "px": [16, 0], "src": [0, 0], "f": 0, "t": 0, "d": [51], "a": 1 },
|
||
|
|
{ "px": [32, 0], "src": [0, 0], "f": 0, "t": 0, "d": [51], "a": 1 },
|
||
|
|
{ "px": [48, 0], "src": [0, 0], "f": 0, "t": 0, "d": [51], "a": 1 },
|
||
|
|
{ "px": [64, 0], "src": [0, 0], "f": 0, "t": 0, "d": [51], "a": 1 },
|
||
|
|
{ "px": [16, 16], "src": [32, 0], "f": 0, "t": 2, "d": [61], "a": 1 },
|
||
|
|
{ "px": [32, 16], "src": [32, 0], "f": 0, "t": 2, "d": [61], "a": 1 },
|
||
|
|
{ "px": [48, 16], "src": [32, 0], "f": 0, "t": 2, "d": [61], "a": 1 },
|
||
|
|
{ "px": [16, 32], "src": [32, 0], "f": 0, "t": 2, "d": [61], "a": 1 },
|
||
|
|
{ "px": [48, 32], "src": [32, 0], "f": 0, "t": 2, "d": [61], "a": 1 },
|
||
|
|
{ "px": [16, 48], "src": [32, 0], "f": 0, "t": 2, "d": [61], "a": 1 },
|
||
|
|
{ "px": [32, 48], "src": [32, 0], "f": 0, "t": 2, "d": [61], "a": 1 },
|
||
|
|
{ "px": [48, 48], "src": [32, 0], "f": 0, "t": 2, "d": [61], "a": 1 }
|
||
|
|
],
|
||
|
|
"seed": 1234,
|
||
|
|
"overrideTilesetUid": null,
|
||
|
|
"gridTiles": [],
|
||
|
|
"entityInstances": []
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"__neighbours": []
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"worlds": [],
|
||
|
|
"dummyWorldIid": "dummy-iid"
|
||
|
|
}
|