diff --git a/app/extraFiles/samples/AutoLayers_1_basic.ldtk b/app/extraFiles/samples/AutoLayers_1_basic.ldtk index f63c80fd3..0b7f189b8 100644 --- a/app/extraFiles/samples/AutoLayers_1_basic.ldtk +++ b/app/extraFiles/samples/AutoLayers_1_basic.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a22d35f0-7820-11ed-b6fd-213e885f30da", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 108, "identifierStyle": "Capitalize", "toc": [], diff --git a/app/extraFiles/samples/AutoLayers_2_stamps.ldtk b/app/extraFiles/samples/AutoLayers_2_stamps.ldtk index 63f3c177f..ef2d545e7 100644 --- a/app/extraFiles/samples/AutoLayers_2_stamps.ldtk +++ b/app/extraFiles/samples/AutoLayers_2_stamps.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a243f240-7820-11ed-b6fd-f550906acdc3", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 40, "identifierStyle": "Capitalize", "toc": [], diff --git a/app/extraFiles/samples/AutoLayers_3_Mosaic.ldtk b/app/extraFiles/samples/AutoLayers_3_Mosaic.ldtk index aad712cb9..53b51d608 100644 --- a/app/extraFiles/samples/AutoLayers_3_Mosaic.ldtk +++ b/app/extraFiles/samples/AutoLayers_3_Mosaic.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a2533480-7820-11ed-b6fd-e9108160ae94", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 64, "identifierStyle": "Capitalize", "toc": [], diff --git a/app/extraFiles/samples/AutoLayers_4_Assistant.ldtk b/app/extraFiles/samples/AutoLayers_4_Assistant.ldtk index 1672b5285..6368006f4 100644 --- a/app/extraFiles/samples/AutoLayers_4_Assistant.ldtk +++ b/app/extraFiles/samples/AutoLayers_4_Assistant.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a2533480-7820-11ed-b6fd-e9108160ae94", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 424, "identifierStyle": "Capitalize", "toc": [], diff --git a/app/extraFiles/samples/AutoLayers_5_Advanced.ldtk b/app/extraFiles/samples/AutoLayers_5_Advanced.ldtk index d73c62a4d..5fa3492fb 100644 --- a/app/extraFiles/samples/AutoLayers_5_Advanced.ldtk +++ b/app/extraFiles/samples/AutoLayers_5_Advanced.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a26276c0-7820-11ed-b6fd-ed05d55c9a75", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 105, "identifierStyle": "Capitalize", "toc": [], diff --git a/app/extraFiles/samples/AutoLayers_6_OptionalRules.ldtk b/app/extraFiles/samples/AutoLayers_6_OptionalRules.ldtk index 6438c74af..aaada371a 100644 --- a/app/extraFiles/samples/AutoLayers_6_OptionalRules.ldtk +++ b/app/extraFiles/samples/AutoLayers_6_OptionalRules.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a27ed860-7820-11ed-b6fd-7fbe30dcfa27", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 167, "identifierStyle": "Capitalize", "toc": [], diff --git a/app/extraFiles/samples/Entities.ldtk b/app/extraFiles/samples/Entities.ldtk index 3ca759ce4..4f512d6e0 100644 --- a/app/extraFiles/samples/Entities.ldtk +++ b/app/extraFiles/samples/Entities.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a2a4fe00-7820-11ed-b6fd-9b53622ece75", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 173, "identifierStyle": "Capitalize", "toc": [{ diff --git a/app/extraFiles/samples/SeparateLevelFiles.ldtk b/app/extraFiles/samples/SeparateLevelFiles.ldtk index 0ce4fa1b9..b2353da34 100644 --- a/app/extraFiles/samples/SeparateLevelFiles.ldtk +++ b/app/extraFiles/samples/SeparateLevelFiles.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a2d9f0b0-7820-11ed-b6fd-010ddaafa733", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 10, "identifierStyle": "Capitalize", "toc": [], diff --git a/app/extraFiles/samples/SeparateLevelFiles/World_Level_0.ldtkl b/app/extraFiles/samples/SeparateLevelFiles/World_Level_0.ldtkl index e0dcc6563..28f5ede6a 100644 --- a/app/extraFiles/samples/SeparateLevelFiles/World_Level_0.ldtkl +++ b/app/extraFiles/samples/SeparateLevelFiles/World_Level_0.ldtkl @@ -5,7 +5,7 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "identifier": "World_Level_0", diff --git a/app/extraFiles/samples/SeparateLevelFiles/World_Level_1.ldtkl b/app/extraFiles/samples/SeparateLevelFiles/World_Level_1.ldtkl index 0def856d0..c18bfcefe 100644 --- a/app/extraFiles/samples/SeparateLevelFiles/World_Level_1.ldtkl +++ b/app/extraFiles/samples/SeparateLevelFiles/World_Level_1.ldtkl @@ -5,7 +5,7 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "identifier": "World_Level_1", diff --git a/app/extraFiles/samples/SeparateLevelFiles/World_Level_2.ldtkl b/app/extraFiles/samples/SeparateLevelFiles/World_Level_2.ldtkl index d5d9cc0b2..24e172969 100644 --- a/app/extraFiles/samples/SeparateLevelFiles/World_Level_2.ldtkl +++ b/app/extraFiles/samples/SeparateLevelFiles/World_Level_2.ldtkl @@ -5,7 +5,7 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "identifier": "World_Level_2", diff --git a/app/extraFiles/samples/Test_file_for_API_showing_all_features.ldtk b/app/extraFiles/samples/Test_file_for_API_showing_all_features.ldtk index f0bf0545a..4ae7b67db 100644 --- a/app/extraFiles/samples/Test_file_for_API_showing_all_features.ldtk +++ b/app/extraFiles/samples/Test_file_for_API_showing_all_features.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a2e6e900-7820-11ed-b6fd-61d0df8fd468", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 50, "identifierStyle": "Capitalize", "toc": [{ diff --git a/app/extraFiles/samples/Typical_2D_platformer_example.ldtk b/app/extraFiles/samples/Typical_2D_platformer_example.ldtk index fe727c838..dc114b2bf 100644 --- a/app/extraFiles/samples/Typical_2D_platformer_example.ldtk +++ b/app/extraFiles/samples/Typical_2D_platformer_example.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a302fc80-7820-11ed-b6fd-0944dd561895", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 105, "identifierStyle": "Capitalize", "toc": [], diff --git a/app/extraFiles/samples/Typical_TopDown_example.ldtk b/app/extraFiles/samples/Typical_TopDown_example.ldtk index 809b7c0d3..c7b126fc7 100644 --- a/app/extraFiles/samples/Typical_TopDown_example.ldtk +++ b/app/extraFiles/samples/Typical_TopDown_example.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a3386460-7820-11ed-b6fd-157a63b4d02d", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 158, "identifierStyle": "Capitalize", "toc": [{ diff --git a/app/extraFiles/samples/WorldMap_Free_layout.ldtk b/app/extraFiles/samples/WorldMap_Free_layout.ldtk index 58cb5ba18..a327a87b8 100644 --- a/app/extraFiles/samples/WorldMap_Free_layout.ldtk +++ b/app/extraFiles/samples/WorldMap_Free_layout.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a3619740-7820-11ed-b6fd-4b64aa0352a1", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 125, "identifierStyle": "Capitalize", "toc": [], diff --git a/app/extraFiles/samples/WorldMap_GridVania_layout.ldtk b/app/extraFiles/samples/WorldMap_GridVania_layout.ldtk index ee2f6c7dc..55b5308db 100644 --- a/app/extraFiles/samples/WorldMap_GridVania_layout.ldtk +++ b/app/extraFiles/samples/WorldMap_GridVania_layout.ldtk @@ -5,12 +5,12 @@ "doc": "https://ldtk.io/json", "schema": "https://ldtk.io/files/JSON_SCHEMA.json", "appAuthor": "Sebastien 'deepnight' Benard", - "appVersion": "1.3.1", + "appVersion": "1.3.2", "url": "https://ldtk.io" }, "iid": "a39fb1b0-7820-11ed-b6fd-87f9a01f3d6b", - "jsonVersion": "1.3.1", - "appBuildId": 467534, + "jsonVersion": "1.3.2", + "appBuildId": 467535, "nextUid": 142, "identifierStyle": "Capitalize", "toc": [{ diff --git a/app/package.json b/app/package.json index dc9d68237..0839dd55d 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "ldtk", - "version": "1.3.1", + "version": "1.3.2", "main": "assets/main.js", "productName": "LDtk", "author": "Sebastien Benard", diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 74dfcdba0..20210ff55 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,8 @@ +# 1.3.2 + + - Fixed invisible auto-layer tiles when loading pre-1.3.1 projects + - Removed tiny debug message (oops) + # 1.3.1 - **Added customizable UI color of layers** diff --git a/docs/JSON_DOC.md b/docs/JSON_DOC.md index 8f19432b1..f422ae0bd 100644 --- a/docs/JSON_DOC.md +++ b/docs/JSON_DOC.md @@ -1,4 +1,4 @@ -# LDtk Json structure (version 1.3.1) +# LDtk Json structure (version 1.3.2) diff --git a/docs/JSON_SCHEMA.json b/docs/JSON_SCHEMA.json index 8f5a9c722..75f811336 100644 --- a/docs/JSON_SCHEMA.json +++ b/docs/JSON_SCHEMA.json @@ -1,9 +1,9 @@ { "description": "This file is a JSON schema of files created by LDtk level editor (https://ldtk.io).", - "title": "LDtk 1.3.1 JSON schema", + "title": "LDtk 1.3.2 JSON schema", "$schema": "https://json-schema.org/draft-07/schema#", "$ref": "#/LdtkJsonRoot", - "version": "1.3.1", + "version": "1.3.2", "LdtkJsonRoot": { "description": "This is the root of any Project JSON file. It contains: - the project settings, - an array of levels, - a group of definitions (that can probably be safely ignored for most users).", "title": "LDtk Json root", diff --git a/docs/MINIMAL_JSON_SCHEMA.json b/docs/MINIMAL_JSON_SCHEMA.json index e35991cac..e5db08792 100644 --- a/docs/MINIMAL_JSON_SCHEMA.json +++ b/docs/MINIMAL_JSON_SCHEMA.json @@ -1,9 +1,9 @@ { "description": "This file is a JSON schema of files created by LDtk level editor (https://ldtk.io).", - "title": "LDtk 1.3.1 JSON schema", + "title": "LDtk 1.3.2 JSON schema", "$schema": "https://json-schema.org/draft-07/schema#", "$ref": "#/LdtkJsonRoot", - "version": "1.3.1", + "version": "1.3.2", "LdtkJsonRoot": { "description": "This is the root of any Project JSON file. It contains: - the project settings, - an array of levels, - a group of definitions (that can probably be safely ignored for most users).", "title": "LDtk Json root", diff --git a/docs/version.txt b/docs/version.txt index 6261a05bb..d5e98f723 100644 --- a/docs/version.txt +++ b/docs/version.txt @@ -1 +1 @@ -1.3.1 \ No newline at end of file +1.3.2 \ No newline at end of file diff --git a/src/electron.renderer/data/inst/LayerInstance.hx b/src/electron.renderer/data/inst/LayerInstance.hx index 8b3ac1cdc..aba0845bd 100644 --- a/src/electron.renderer/data/inst/LayerInstance.hx +++ b/src/electron.renderer/data/inst/LayerInstance.hx @@ -347,7 +347,7 @@ class LayerInstance { srcY: at.src[1], flips: at.f, tid: at.t, - a: at.a, + a: at.a==null ? 1 : at.a, }); } } diff --git a/src/electron.renderer/ui/Tileset.hx b/src/electron.renderer/ui/Tileset.hx index d55961f25..bf12a6d7a 100644 --- a/src/electron.renderer/ui/Tileset.hx +++ b/src/electron.renderer/ui/Tileset.hx @@ -773,8 +773,6 @@ class Tileset { } public function update() { - App.ME.debugPre(Std.int(scrollX)+" "+Std.int(right), true); - // Focus scrolling animation final spd = M.fmin(1, 0.38 * App.ME.tmod); if( tx!=null ) {