Skip to content

Commit

Permalink
new sample saves and new test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed Apr 17, 2024
1 parent 8c59159 commit 4edde06
Show file tree
Hide file tree
Showing 21 changed files with 5,703 additions and 336 deletions.
9 changes: 6 additions & 3 deletions Assets/LDtkUnity/Samples~/Samples/AutoLayers_2_stamps.ldtk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"iid": "a243f240-7820-11ed-b6fd-f550906acdc3",
"jsonVersion": "1.5.3",
"appBuildId": 473702,
"appBuildId": 473703,
"nextUid": 40,
"identifierStyle": "Capitalize",
"toc": [],
Expand Down Expand Up @@ -38,7 +38,10 @@
"backupRelPath": null,
"levelNamePattern": "%world_Level_%idx",
"tutorialDesc": "\"STAMPS\" are groups of multiple tiles that are generated by RULES.\n\nClick on the RULES button on the left to see them.",
"customCommands": [{ "command": "../../../Library/LDtkTilesetExporter/ExportTilesetDefinition.exe \"AutoLayers_2_stamps\"", "when": "AfterSave" }],
"customCommands": [{
"command": "../../../Library/LDtkTilesetExporter/ExportTilesetDefinition.exe \"AutoLayers_2_stamps\"",
"when": "AfterSave"
}],
"flags": [ "ExportOldTableOfContentData", "UseMultilinesType" ],
"defs": { "layers": [
{
Expand Down Expand Up @@ -372,4 +375,4 @@
],
"worlds": [],
"dummyWorldIid": "c9259b80-c640-11ed-ad34-65fb5dfe1c19"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ SpriteAtlas:
isAtlasV2: 0
cachedData: {fileID: 0}
packedSpriteRenderDataKeys:
- 566acb5424d924248aac272ce07221c7: -6073340741769635905
- 566acb5424d924248aac272ce07221c7: 6859268035762454882
- 566acb5424d924248aac272ce07221c7: -8520189078810823290
- 566acb5424d924248aac272ce07221c7: 8969729926321275606
Expand Down Expand Up @@ -193,6 +194,7 @@ SpriteAtlas:
- 566acb5424d924248aac272ce07221c7: 4870343054379809437
- 566acb5424d924248aac272ce07221c7: 8601954787207494909
- 566acb5424d924248aac272ce07221c7: -6873762911607000563
- 566acb5424d924248aac272ce07221c7: -4296556146876630784
- 566acb5424d924248aac272ce07221c7: -3571689454164756519
- 566acb5424d924248aac272ce07221c7: 2557760892586602073
- 566acb5424d924248aac272ce07221c7: -2512919210243303367
Expand Down Expand Up @@ -307,6 +309,7 @@ SpriteAtlas:
- 566acb5424d924248aac272ce07221c7: 7095640693152958881
- 566acb5424d924248aac272ce07221c7: 3360214616518631177
- 566acb5424d924248aac272ce07221c7: -2051055541907020408
- 566acb5424d924248aac272ce07221c7: -3506715125780710117
- 566acb5424d924248aac272ce07221c7: -6626059517321825476
- 566acb5424d924248aac272ce07221c7: 7761297968509617341
- 566acb5424d924248aac272ce07221c7: -4134612953348152256
Expand All @@ -332,6 +335,7 @@ SpriteAtlas:
- 566acb5424d924248aac272ce07221c7: -649002060121052771
m_MasterAtlas: {fileID: 0}
m_PackedSprites:
- {fileID: -6073340741769635905, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: 6859268035762454882, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: -8520189078810823290, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: 8969729926321275606, guid: 566acb5424d924248aac272ce07221c7, type: 3}
Expand Down Expand Up @@ -475,6 +479,7 @@ SpriteAtlas:
- {fileID: 4870343054379809437, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: 8601954787207494909, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: -6873762911607000563, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: -4296556146876630784, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: -3571689454164756519, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: 2557760892586602073, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: -2512919210243303367, guid: 566acb5424d924248aac272ce07221c7, type: 3}
Expand Down Expand Up @@ -589,6 +594,7 @@ SpriteAtlas:
- {fileID: 7095640693152958881, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: 3360214616518631177, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: -2051055541907020408, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: -3506715125780710117, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: -6626059517321825476, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: 7761297968509617341, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: -4134612953348152256, guid: 566acb5424d924248aac272ce07221c7, type: 3}
Expand All @@ -613,6 +619,7 @@ SpriteAtlas:
- {fileID: -7256587251488306842, guid: 566acb5424d924248aac272ce07221c7, type: 3}
- {fileID: -649002060121052771, guid: 566acb5424d924248aac272ce07221c7, type: 3}
m_PackedSpriteNamesToIndex:
- Inca_front_by_Kronbits_32_160_32_32
- Inca_front_by_Kronbits_233
- Inca_front_by_Kronbits_232
- Inca_front_by_Kronbits_231
Expand Down Expand Up @@ -756,6 +763,7 @@ SpriteAtlas:
- Inca_front_by_Kronbits_76
- Inca_front_by_Kronbits_96_192_32_32
- Inca_front_by_Kronbits_116_160_21_28
- Inca_front_by_Kronbits_0_96_16_16
- Inca_front_by_Kronbits_5
- Inca_front_by_Kronbits_6
- Inca_front_by_Kronbits_7
Expand Down Expand Up @@ -870,6 +878,7 @@ SpriteAtlas:
- Inca_front_by_Kronbits_29
- Inca_front_by_Kronbits_91
- Inca_front_by_Kronbits_155
- Inca_front_by_Kronbits_32_96_16_16
- Inca_front_by_Kronbits_90
- Inca_front_by_Kronbits_152
- Inca_front_by_Kronbits_153
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
{
"Rects": null,
"Rects": [
{
"x": 32,
"y": 32,
"w": 32,
"h": 32
},
{
"x": 32,
"y": 112,
"w": 16,
"h": 16
},
{
"x": 0,
"y": 112,
"w": 16,
"h": 16
}
],
"Def": {
"__cHei": 14,
"__cWid": 20,
Expand Down
9 changes: 6 additions & 3 deletions Assets/LDtkUnity/Samples~/Samples/AutoLayers_3_Mosaic.ldtk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"iid": "a2533480-7820-11ed-b6fd-e9108160ae94",
"jsonVersion": "1.5.3",
"appBuildId": 473702,
"appBuildId": 473703,
"nextUid": 64,
"identifierStyle": "Capitalize",
"toc": [],
Expand Down Expand Up @@ -38,7 +38,10 @@
"backupRelPath": null,
"levelNamePattern": "%world_Level_%idx",
"tutorialDesc": "This example demonstrates the use of rules to create complex but dynamic mosaics.",
"customCommands": [{ "command": "../../../Library/LDtkTilesetExporter/ExportTilesetDefinition.exe \"AutoLayers_3_Mosaic\"", "when": "AfterSave" }],
"customCommands": [{
"command": "../../../Library/LDtkTilesetExporter/ExportTilesetDefinition.exe \"AutoLayers_3_Mosaic\"",
"when": "AfterSave"
}],
"flags": [ "ExportOldTableOfContentData", "UseMultilinesType" ],
"defs": { "layers": [
{
Expand Down Expand Up @@ -1742,4 +1745,4 @@
],
"worlds": [],
"dummyWorldIid": "c9361640-c640-11ed-ad34-af90bc56df47"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ SpriteAtlas:
- 17388a9b254334449af3968527790d04: 2587808056712219972
- 17388a9b254334449af3968527790d04: -4091991522331360088
- 17388a9b254334449af3968527790d04: 2245365342272398986
- 17388a9b254334449af3968527790d04: -6981699675631027842
- 17388a9b254334449af3968527790d04: 8300999273966062387
- 17388a9b254334449af3968527790d04: -4060676803387656179
- 17388a9b254334449af3968527790d04: -7668659059482802503
Expand Down Expand Up @@ -141,6 +142,8 @@ SpriteAtlas:
- 17388a9b254334449af3968527790d04: -4200920453924964828
- 17388a9b254334449af3968527790d04: -2746282868596418741
- 17388a9b254334449af3968527790d04: -8052769070389615356
- 17388a9b254334449af3968527790d04: -7092327182755457567
- 17388a9b254334449af3968527790d04: 3370786781088342670
- 17388a9b254334449af3968527790d04: 3936865418393023007
- 17388a9b254334449af3968527790d04: -2011965230689860788
- 17388a9b254334449af3968527790d04: -2813245591081619501
Expand Down Expand Up @@ -331,6 +334,8 @@ SpriteAtlas:
- 73a5ed3f78c93734e86c8c29bc45c043: 5891871975497215761
- 73a5ed3f78c93734e86c8c29bc45c043: 4882993590964763733
- 73a5ed3f78c93734e86c8c29bc45c043: 1689543980653740940
- 73a5ed3f78c93734e86c8c29bc45c043: 2946512280340518543
- 73a5ed3f78c93734e86c8c29bc45c043: -2414293334797060275
- 73a5ed3f78c93734e86c8c29bc45c043: 7868601732299731749
- 73a5ed3f78c93734e86c8c29bc45c043: -6587837951795200556
- 73a5ed3f78c93734e86c8c29bc45c043: 3247591955084044033
Expand Down Expand Up @@ -380,6 +385,7 @@ SpriteAtlas:
- 73a5ed3f78c93734e86c8c29bc45c043: -4884924320812175156
- 73a5ed3f78c93734e86c8c29bc45c043: 8676589634697299900
- 73a5ed3f78c93734e86c8c29bc45c043: 1075998595554275395
- 73a5ed3f78c93734e86c8c29bc45c043: 3880607211048106415
- 73a5ed3f78c93734e86c8c29bc45c043: -5635480206580214797
- 73a5ed3f78c93734e86c8c29bc45c043: 2308203676476338402
- 73a5ed3f78c93734e86c8c29bc45c043: -7915132417341540972
Expand Down Expand Up @@ -503,6 +509,7 @@ SpriteAtlas:
- {fileID: 2587808056712219972, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: -4091991522331360088, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: 2245365342272398986, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: -6981699675631027842, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: 8300999273966062387, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: -4060676803387656179, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: -7668659059482802503, guid: 17388a9b254334449af3968527790d04, type: 3}
Expand Down Expand Up @@ -563,6 +570,8 @@ SpriteAtlas:
- {fileID: -4200920453924964828, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: -2746282868596418741, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: -8052769070389615356, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: -7092327182755457567, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: 3370786781088342670, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: 3936865418393023007, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: -2011965230689860788, guid: 17388a9b254334449af3968527790d04, type: 3}
- {fileID: -2813245591081619501, guid: 17388a9b254334449af3968527790d04, type: 3}
Expand Down Expand Up @@ -753,6 +762,8 @@ SpriteAtlas:
- {fileID: 5891871975497215761, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: 4882993590964763733, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: 1689543980653740940, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: 2946512280340518543, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: -2414293334797060275, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: 7868601732299731749, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: -6587837951795200556, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: 3247591955084044033, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
Expand Down Expand Up @@ -802,6 +813,7 @@ SpriteAtlas:
- {fileID: -4884924320812175156, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: 8676589634697299900, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: 1075998595554275395, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: 3880607211048106415, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: -5635480206580214797, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: 2308203676476338402, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
- {fileID: -7915132417341540972, guid: 73a5ed3f78c93734e86c8c29bc45c043, type: 3}
Expand Down Expand Up @@ -924,6 +936,7 @@ SpriteAtlas:
- Inca_back2_by_Kronbits_1
- Inca_back2_by_Kronbits_2
- Inca_back2_by_Kronbits_3
- Inca_back2_by_Kronbits_0_96_16_16
- Inca_back2_by_Kronbits_71
- Inca_back2_by_Kronbits_70
- Inca_back2_by_Kronbits_73
Expand Down Expand Up @@ -984,6 +997,8 @@ SpriteAtlas:
- Inca_back2_by_Kronbits_122
- Inca_back2_by_Kronbits_121
- Inca_back2_by_Kronbits_120
- Inca_back2_by_Kronbits_0_16_16_16
- Inca_back2_by_Kronbits_112_48_16_16
- Inca_back2_by_Kronbits_17
- Inca_back2_by_Kronbits_48
- Inca_back2_by_Kronbits_16
Expand Down Expand Up @@ -1174,6 +1189,8 @@ SpriteAtlas:
- Inca_extended_front_by_Kronbits_140
- Inca_extended_front_by_Kronbits_143
- Inca_extended_front_by_Kronbits_142
- Inca_extended_front_by_Kronbits_0_96_16_16
- Inca_extended_front_by_Kronbits_96_96_16_16
- Inca_extended_front_by_Kronbits_93
- Inca_extended_front_by_Kronbits_92
- Inca_extended_front_by_Kronbits_91
Expand Down Expand Up @@ -1223,6 +1240,7 @@ SpriteAtlas:
- Inca_extended_front_by_Kronbits_260
- Inca_extended_front_by_Kronbits_261
- Inca_extended_front_by_Kronbits_219
- Inca_extended_front_by_Kronbits_128_176_48_48
- Inca_extended_front_by_Kronbits_262
- Inca_extended_front_by_Kronbits_218
- Inca_extended_front_by_Kronbits_0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
{
"Rects": null,
"Rects": [
{
"x": 112,
"y": 160,
"w": 16,
"h": 16
},
{
"x": 0,
"y": 192,
"w": 16,
"h": 16
},
{
"x": 0,
"y": 112,
"w": 16,
"h": 16
}
],
"Def": {
"__cHei": 14,
"__cWid": 10,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
{
"Rects": null,
"Rects": [
{
"x": 128,
"y": 0,
"w": 48,
"h": 48
},
{
"x": 96,
"y": 112,
"w": 16,
"h": 16
},
{
"x": 0,
"y": 112,
"w": 16,
"h": 16
}
],
"Def": {
"__cHei": 14,
"__cWid": 20,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"iid": "a302fc80-7820-11ed-b6fd-0944dd561895",
"jsonVersion": "1.5.3",
"appBuildId": 473702,
"appBuildId": 473703,
"nextUid": 107,
"identifierStyle": "Capitalize",
"toc": [],
Expand Down Expand Up @@ -38,7 +38,10 @@
"backupRelPath": null,
"levelNamePattern": "%world_Level_%idx",
"tutorialDesc": "This sample demonstrates a typical 2D platformer with auto-rendered walls and various gameplay entities.\nPress [Shift+A] to toggle \"Single layer mode\", which helps understanding which layer contains what.\nPress [SHIFT+R] to toggle auto-rendered layers.",
"customCommands": [{ "command": "../../../Library/LDtkTilesetExporter/ExportTilesetDefinition.exe \"Typical_2D_platformer_example\"", "when": "AfterSave" }],
"customCommands": [{
"command": "../../../Library/LDtkTilesetExporter/ExportTilesetDefinition.exe \"Typical_2D_platformer_example\"",
"when": "AfterSave"
}],
"flags": [ "ExportOldTableOfContentData", "UseMultilinesType" ],
"defs": { "layers": [
{
Expand Down Expand Up @@ -6570,4 +6573,4 @@
],
"worlds": [],
"dummyWorldIid": "c9c92e80-c640-11ed-ad34-c59cb14ce5ef"
}
}
Loading

0 comments on commit 4edde06

Please sign in to comment.