Skip to content

Commit

Permalink
update test projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed Jan 13, 2023
1 parent 8f4fec3 commit c7b591c
Show file tree
Hide file tree
Showing 80 changed files with 2,413 additions and 1,935 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ internal static class LDtkImporterConsts
{
public const int PROJECT_VERSION = 20;
public const int LEVEL_VERSION = 5;
public const string LDTK_JSON_VERSION = "1.1.0";
public const string LDTK_JSON_VERSION = "1.2.0";

public const string PROJECT_EXT = "ldtk";
public const string LEVEL_EXT = "ldtkl";
Expand Down
3,369 changes: 1,893 additions & 1,476 deletions Assets/Tests/Misc/Everything.unity

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions Assets/Tests/Misc/OtherTechTests/Basic.ldtk
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"doc": "https://ldtk.io/json",
"schema": "https://ldtk.io/files/JSON_SCHEMA.json",
"appAuthor": "Sebastien 'deepnight' Benard",
"appVersion": "1.1.3",
"appVersion": "1.2.5",
"url": "https://ldtk.io"
},
"jsonVersion": "1.1.3",
"appBuildId": 458364,
"iid": "4dff3190-7820-11ed-b5d1-9f790aa02a80",
"jsonVersion": "1.2.5",
"appBuildId": 464870,
"nextUid": 1,
"identifierStyle": "Capitalize",
"toc": [],
"worldLayout": "Free",
"worldGridWidth": 256,
"worldGridHeight": 256,
Expand All @@ -27,11 +29,13 @@
"exportTiled": false,
"simplifiedExport": false,
"imageExportMode": "None",
"exportLevelBg": true,
"pngFilePattern": null,
"backupOnSave": false,
"backupLimit": 10,
"levelNamePattern": "%world_Level_%idx",
"tutorialDesc": "Meant to only contain nothing. No tile sets. We just want to gauge basic import capability",
"customCommands": [],
"flags": [],
"defs": { "layers": [], "entities": [], "tilesets": [], "enums": [], "externalEnums": [], "levelFields": [] },
"levels": [
Expand Down
10 changes: 7 additions & 3 deletions Assets/Tests/Misc/OtherTechTests/Basic_Tileset.ldtk
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"doc": "https://ldtk.io/json",
"schema": "https://ldtk.io/files/JSON_SCHEMA.json",
"appAuthor": "Sebastien 'deepnight' Benard",
"appVersion": "1.1.3",
"appVersion": "1.2.5",
"url": "https://ldtk.io"
},
"jsonVersion": "1.1.3",
"appBuildId": 458364,
"iid": "50fe19b0-7820-11ed-a656-efba38f8afd8",
"jsonVersion": "1.2.5",
"appBuildId": 464870,
"nextUid": 2,
"identifierStyle": "Capitalize",
"toc": [],
"worldLayout": "Free",
"worldGridWidth": 256,
"worldGridHeight": 256,
Expand All @@ -27,11 +29,13 @@
"exportTiled": false,
"simplifiedExport": false,
"imageExportMode": "None",
"exportLevelBg": true,
"pngFilePattern": null,
"backupOnSave": false,
"backupLimit": 10,
"levelNamePattern": "%world_Level_%idx",
"tutorialDesc": "Meant to only contain nothing. No tile sets. We just want to gauge basic import capability",
"customCommands": [],
"flags": [],
"defs": { "layers": [], "entities": [], "tilesets": [
{
Expand Down
22 changes: 15 additions & 7 deletions Assets/Tests/Misc/OtherTechTests/Basic_Tileset_GridSize.ldtk
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"doc": "https://ldtk.io/json",
"schema": "https://ldtk.io/files/JSON_SCHEMA.json",
"appAuthor": "Sebastien 'deepnight' Benard",
"appVersion": "1.1.3",
"appVersion": "1.2.5",
"url": "https://ldtk.io"
},
"jsonVersion": "1.1.3",
"appBuildId": 458364,
"iid": "537ab270-7820-11ed-baa0-2bf378dd4d02",
"jsonVersion": "1.2.5",
"appBuildId": 464870,
"nextUid": 15,
"identifierStyle": "Capitalize",
"toc": [],
"worldLayout": "Free",
"worldGridWidth": 256,
"worldGridHeight": 256,
Expand All @@ -27,25 +29,29 @@
"exportTiled": false,
"simplifiedExport": false,
"imageExportMode": "None",
"exportLevelBg": true,
"pngFilePattern": null,
"backupOnSave": false,
"backupLimit": 10,
"levelNamePattern": "%world_Level_%idx",
"tutorialDesc": "Meant to only contain nothing. No tile sets. We just want to gauge basic import capability",
"customCommands": [],
"flags": [],
"defs": { "layers": [
{
"__type": "Tiles",
"identifier": "Tiles16",
"type": "Tiles",
"uid": 11,
"doc": null,
"gridSize": 16,
"guideGridWid": 0,
"guideGridHei": 0,
"displayOpacity": 1,
"inactiveOpacity": 1,
"hideInList": false,
"hideFieldsWhenInactive": false,
"canSelectWhenInactive": true,
"pxOffsetX": 0,
"pxOffsetY": 0,
"parallaxFactorX": 0,
Expand All @@ -54,7 +60,6 @@
"requiredTags": [],
"excludedTags": [],
"intGridValues": [],
"autoTilesetDefUid": 1,
"autoRuleGroups": [],
"autoSourceLayerDefUid": null,
"tilesetDefUid": 1,
Expand All @@ -66,13 +71,15 @@
"identifier": "Tiles8",
"type": "Tiles",
"uid": 12,
"doc": null,
"gridSize": 8,
"guideGridWid": 0,
"guideGridHei": 0,
"displayOpacity": 1,
"inactiveOpacity": 1,
"hideInList": false,
"hideFieldsWhenInactive": false,
"canSelectWhenInactive": true,
"pxOffsetX": 0,
"pxOffsetY": 0,
"parallaxFactorX": 0,
Expand All @@ -81,7 +88,6 @@
"requiredTags": [],
"excludedTags": [],
"intGridValues": [],
"autoTilesetDefUid": 1,
"autoRuleGroups": [],
"autoSourceLayerDefUid": null,
"tilesetDefUid": 1,
Expand All @@ -93,13 +99,15 @@
"identifier": "Tiles4",
"type": "Tiles",
"uid": 13,
"doc": null,
"gridSize": 4,
"guideGridWid": 0,
"guideGridHei": 0,
"displayOpacity": 1,
"inactiveOpacity": 1,
"hideInList": false,
"hideFieldsWhenInactive": false,
"canSelectWhenInactive": true,
"pxOffsetX": 0,
"pxOffsetY": 0,
"parallaxFactorX": 0,
Expand All @@ -108,7 +116,6 @@
"requiredTags": [],
"excludedTags": [],
"intGridValues": [],
"autoTilesetDefUid": 1,
"autoRuleGroups": [],
"autoSourceLayerDefUid": null,
"tilesetDefUid": 1,
Expand All @@ -120,6 +127,8 @@
"identifier": "Entity",
"uid": 6,
"tags": [],
"exportToToc": false,
"doc": null,
"width": 16,
"height": 16,
"resizableX": false,
Expand All @@ -133,7 +142,6 @@
"renderMode": "Rectangle",
"showName": true,
"tilesetId": null,
"tileId": null,
"tileRenderMode": "FitInside",
"tileRect": null,
"nineSliceBorders": [],
Expand Down
Loading

0 comments on commit c7b591c

Please sign in to comment.