@almadar/std 16.87.0 → 16.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/ui/game/2d/organisms/ui-holiday-runner-board.orb +53 -0
- package/behaviors/registry/ui/game/2d/organisms/ui-platformer-board.orb +120 -32
- package/dist/behaviors/registry/ui/game/2d/organisms/ui-holiday-runner-board.orb +53 -0
- package/dist/behaviors/registry/ui/game/2d/organisms/ui-platformer-board.orb +120 -32
- package/dist/registry/ui/game/2d/organisms/ui-holiday-runner-board.orb +53 -0
- package/dist/registry/ui/game/2d/organisms/ui-platformer-board.orb +120 -32
- package/package.json +1 -1
|
@@ -1971,6 +1971,11 @@
|
|
|
1971
1971
|
"backgroundImage": "@config.backgroundImage",
|
|
1972
1972
|
"effects": "@entity.effects",
|
|
1973
1973
|
"features": "@config.features",
|
|
1974
|
+
"keyMap": {
|
|
1975
|
+
"ArrowUp": "JUMP",
|
|
1976
|
+
"KeyW": "JUMP",
|
|
1977
|
+
"Space": "JUMP"
|
|
1978
|
+
},
|
|
1974
1979
|
"projection": "flat",
|
|
1975
1980
|
"scale": "@config.scale",
|
|
1976
1981
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2105,6 +2110,11 @@
|
|
|
2105
2110
|
"backgroundImage": "@config.backgroundImage",
|
|
2106
2111
|
"effects": "@entity.effects",
|
|
2107
2112
|
"features": "@config.features",
|
|
2113
|
+
"keyMap": {
|
|
2114
|
+
"ArrowUp": "JUMP",
|
|
2115
|
+
"KeyW": "JUMP",
|
|
2116
|
+
"Space": "JUMP"
|
|
2117
|
+
},
|
|
2108
2118
|
"projection": "flat",
|
|
2109
2119
|
"scale": "@config.scale",
|
|
2110
2120
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2244,6 +2254,11 @@
|
|
|
2244
2254
|
"backgroundImage": "@config.backgroundImage",
|
|
2245
2255
|
"effects": "@entity.effects",
|
|
2246
2256
|
"features": "@config.features",
|
|
2257
|
+
"keyMap": {
|
|
2258
|
+
"ArrowUp": "JUMP",
|
|
2259
|
+
"KeyW": "JUMP",
|
|
2260
|
+
"Space": "JUMP"
|
|
2261
|
+
},
|
|
2247
2262
|
"projection": "flat",
|
|
2248
2263
|
"scale": "@config.scale",
|
|
2249
2264
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2351,6 +2366,34 @@
|
|
|
2351
2366
|
},
|
|
2352
2367
|
{
|
|
2353
2368
|
"effects": [
|
|
2369
|
+
[
|
|
2370
|
+
"set",
|
|
2371
|
+
"@entity.units",
|
|
2372
|
+
[
|
|
2373
|
+
"array/map",
|
|
2374
|
+
"@entity.units",
|
|
2375
|
+
[
|
|
2376
|
+
"fn",
|
|
2377
|
+
"u",
|
|
2378
|
+
[
|
|
2379
|
+
"if",
|
|
2380
|
+
[
|
|
2381
|
+
"==",
|
|
2382
|
+
"@u.unitType",
|
|
2383
|
+
"runner"
|
|
2384
|
+
],
|
|
2385
|
+
[
|
|
2386
|
+
"object/merge",
|
|
2387
|
+
"@u",
|
|
2388
|
+
{
|
|
2389
|
+
"animation": "attack"
|
|
2390
|
+
}
|
|
2391
|
+
],
|
|
2392
|
+
"@u"
|
|
2393
|
+
]
|
|
2394
|
+
]
|
|
2395
|
+
]
|
|
2396
|
+
],
|
|
2354
2397
|
[
|
|
2355
2398
|
"render-ui",
|
|
2356
2399
|
"main",
|
|
@@ -2373,6 +2416,11 @@
|
|
|
2373
2416
|
"backgroundImage": "@config.backgroundImage",
|
|
2374
2417
|
"effects": "@entity.effects",
|
|
2375
2418
|
"features": "@config.features",
|
|
2419
|
+
"keyMap": {
|
|
2420
|
+
"ArrowUp": "JUMP",
|
|
2421
|
+
"KeyW": "JUMP",
|
|
2422
|
+
"Space": "JUMP"
|
|
2423
|
+
},
|
|
2376
2424
|
"projection": "flat",
|
|
2377
2425
|
"scale": "@config.scale",
|
|
2378
2426
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2593,6 +2641,11 @@
|
|
|
2593
2641
|
"backgroundImage": "@config.backgroundImage",
|
|
2594
2642
|
"effects": "@entity.effects",
|
|
2595
2643
|
"features": "@config.features",
|
|
2644
|
+
"keyMap": {
|
|
2645
|
+
"ArrowUp": "JUMP",
|
|
2646
|
+
"KeyW": "JUMP",
|
|
2647
|
+
"Space": "JUMP"
|
|
2648
|
+
},
|
|
2596
2649
|
"projection": "flat",
|
|
2597
2650
|
"scale": "@config.scale",
|
|
2598
2651
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -726,33 +726,31 @@
|
|
|
726
726
|
"tier": "domain"
|
|
727
727
|
},
|
|
728
728
|
{
|
|
729
|
-
"description": "
|
|
729
|
+
"description": "Move-left intent (keyboard keyMap or d-pad directionEvents)",
|
|
730
730
|
"event": "LEFT",
|
|
731
731
|
"payloadSchema": [
|
|
732
732
|
{
|
|
733
|
-
"name": "
|
|
734
|
-
"
|
|
735
|
-
"type": "number"
|
|
733
|
+
"name": "id",
|
|
734
|
+
"type": "string"
|
|
736
735
|
}
|
|
737
736
|
],
|
|
738
737
|
"scope": "external",
|
|
739
738
|
"tier": "domain"
|
|
740
739
|
},
|
|
741
740
|
{
|
|
742
|
-
"description": "
|
|
741
|
+
"description": "Move-right intent (keyboard keyMap or d-pad directionEvents)",
|
|
743
742
|
"event": "RIGHT",
|
|
744
743
|
"payloadSchema": [
|
|
745
744
|
{
|
|
746
|
-
"name": "
|
|
747
|
-
"
|
|
748
|
-
"type": "number"
|
|
745
|
+
"name": "id",
|
|
746
|
+
"type": "string"
|
|
749
747
|
}
|
|
750
748
|
],
|
|
751
749
|
"scope": "external",
|
|
752
750
|
"tier": "domain"
|
|
753
751
|
},
|
|
754
752
|
{
|
|
755
|
-
"description": "
|
|
753
|
+
"description": "Jump intent (keyboard keyMap or d-pad directionEvents)",
|
|
756
754
|
"event": "JUMP",
|
|
757
755
|
"payloadSchema": [
|
|
758
756
|
{
|
|
@@ -764,7 +762,7 @@
|
|
|
764
762
|
"tier": "domain"
|
|
765
763
|
},
|
|
766
764
|
{
|
|
767
|
-
"description": "
|
|
765
|
+
"description": "Stop-horizontal intent (keyboard keyUpMap or d-pad directionReleaseEvents)",
|
|
768
766
|
"event": "STOP",
|
|
769
767
|
"payloadSchema": [
|
|
770
768
|
{
|
|
@@ -815,33 +813,31 @@
|
|
|
815
813
|
"name": "Initialize"
|
|
816
814
|
},
|
|
817
815
|
{
|
|
818
|
-
"description": "
|
|
816
|
+
"description": "Move-left intent (keyboard keyMap or d-pad directionEvents)",
|
|
819
817
|
"key": "LEFT",
|
|
820
818
|
"name": "Left",
|
|
821
819
|
"payloadSchema": [
|
|
822
820
|
{
|
|
823
|
-
"name": "
|
|
824
|
-
"
|
|
825
|
-
"type": "number"
|
|
821
|
+
"name": "id",
|
|
822
|
+
"type": "string"
|
|
826
823
|
}
|
|
827
824
|
],
|
|
828
825
|
"tier": "domain"
|
|
829
826
|
},
|
|
830
827
|
{
|
|
831
|
-
"description": "
|
|
828
|
+
"description": "Move-right intent (keyboard keyMap or d-pad directionEvents)",
|
|
832
829
|
"key": "RIGHT",
|
|
833
830
|
"name": "Right",
|
|
834
831
|
"payloadSchema": [
|
|
835
832
|
{
|
|
836
|
-
"name": "
|
|
837
|
-
"
|
|
838
|
-
"type": "number"
|
|
833
|
+
"name": "id",
|
|
834
|
+
"type": "string"
|
|
839
835
|
}
|
|
840
836
|
],
|
|
841
837
|
"tier": "domain"
|
|
842
838
|
},
|
|
843
839
|
{
|
|
844
|
-
"description": "
|
|
840
|
+
"description": "Jump intent (keyboard keyMap or d-pad directionEvents)",
|
|
845
841
|
"key": "JUMP",
|
|
846
842
|
"name": "Jump",
|
|
847
843
|
"payloadSchema": [
|
|
@@ -853,7 +849,7 @@
|
|
|
853
849
|
"tier": "domain"
|
|
854
850
|
},
|
|
855
851
|
{
|
|
856
|
-
"description": "
|
|
852
|
+
"description": "Stop-horizontal intent (keyboard keyUpMap or d-pad directionReleaseEvents)",
|
|
857
853
|
"key": "STOP",
|
|
858
854
|
"name": "Stop",
|
|
859
855
|
"payloadSchema": [
|
|
@@ -1023,6 +1019,21 @@
|
|
|
1023
1019
|
"backgroundImage": "@config.backgroundImage",
|
|
1024
1020
|
"bgColor": "@config.bgColor",
|
|
1025
1021
|
"camera": "follow",
|
|
1022
|
+
"keyMap": {
|
|
1023
|
+
"ArrowLeft": "LEFT",
|
|
1024
|
+
"ArrowRight": "RIGHT",
|
|
1025
|
+
"ArrowUp": "JUMP",
|
|
1026
|
+
"KeyA": "LEFT",
|
|
1027
|
+
"KeyD": "RIGHT",
|
|
1028
|
+
"KeyW": "JUMP",
|
|
1029
|
+
"Space": "JUMP"
|
|
1030
|
+
},
|
|
1031
|
+
"keyUpMap": {
|
|
1032
|
+
"ArrowLeft": "STOP",
|
|
1033
|
+
"ArrowRight": "STOP",
|
|
1034
|
+
"KeyA": "STOP",
|
|
1035
|
+
"KeyD": "STOP"
|
|
1036
|
+
},
|
|
1026
1037
|
"platforms": "@config.platforms",
|
|
1027
1038
|
"player": "@entity.player",
|
|
1028
1039
|
"playerSprite": "@config.playerSprite",
|
|
@@ -1063,11 +1074,11 @@
|
|
|
1063
1074
|
"aspect": "1:1",
|
|
1064
1075
|
"category": "ui",
|
|
1065
1076
|
"dimension": "2d",
|
|
1066
|
-
"name": "
|
|
1077
|
+
"name": "coin",
|
|
1067
1078
|
"role": "ui",
|
|
1068
1079
|
"style": "pixel",
|
|
1069
1080
|
"thumbnailUrl": "",
|
|
1070
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
1081
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
1071
1082
|
"variant": ""
|
|
1072
1083
|
},
|
|
1073
1084
|
"label": "Lives",
|
|
@@ -1127,7 +1138,15 @@
|
|
|
1127
1138
|
"variant": ""
|
|
1128
1139
|
}
|
|
1129
1140
|
},
|
|
1130
|
-
"
|
|
1141
|
+
"directionEvents": {
|
|
1142
|
+
"left": "LEFT",
|
|
1143
|
+
"right": "RIGHT",
|
|
1144
|
+
"up": "JUMP"
|
|
1145
|
+
},
|
|
1146
|
+
"directionReleaseEvents": {
|
|
1147
|
+
"left": "STOP",
|
|
1148
|
+
"right": "STOP"
|
|
1149
|
+
},
|
|
1131
1150
|
"kind": "dpad",
|
|
1132
1151
|
"type": "control-grid"
|
|
1133
1152
|
},
|
|
@@ -1402,6 +1421,21 @@
|
|
|
1402
1421
|
"backgroundImage": "@config.backgroundImage",
|
|
1403
1422
|
"bgColor": "@config.bgColor",
|
|
1404
1423
|
"camera": "follow",
|
|
1424
|
+
"keyMap": {
|
|
1425
|
+
"ArrowLeft": "LEFT",
|
|
1426
|
+
"ArrowRight": "RIGHT",
|
|
1427
|
+
"ArrowUp": "JUMP",
|
|
1428
|
+
"KeyA": "LEFT",
|
|
1429
|
+
"KeyD": "RIGHT",
|
|
1430
|
+
"KeyW": "JUMP",
|
|
1431
|
+
"Space": "JUMP"
|
|
1432
|
+
},
|
|
1433
|
+
"keyUpMap": {
|
|
1434
|
+
"ArrowLeft": "STOP",
|
|
1435
|
+
"ArrowRight": "STOP",
|
|
1436
|
+
"KeyA": "STOP",
|
|
1437
|
+
"KeyD": "STOP"
|
|
1438
|
+
},
|
|
1405
1439
|
"platforms": "@config.platforms",
|
|
1406
1440
|
"player": "@entity.player",
|
|
1407
1441
|
"playerSprite": "@config.playerSprite",
|
|
@@ -1442,11 +1476,11 @@
|
|
|
1442
1476
|
"aspect": "1:1",
|
|
1443
1477
|
"category": "ui",
|
|
1444
1478
|
"dimension": "2d",
|
|
1445
|
-
"name": "
|
|
1479
|
+
"name": "coin",
|
|
1446
1480
|
"role": "ui",
|
|
1447
1481
|
"style": "pixel",
|
|
1448
1482
|
"thumbnailUrl": "",
|
|
1449
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
1483
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
1450
1484
|
"variant": ""
|
|
1451
1485
|
},
|
|
1452
1486
|
"label": "Lives",
|
|
@@ -1506,7 +1540,15 @@
|
|
|
1506
1540
|
"variant": ""
|
|
1507
1541
|
}
|
|
1508
1542
|
},
|
|
1509
|
-
"
|
|
1543
|
+
"directionEvents": {
|
|
1544
|
+
"left": "LEFT",
|
|
1545
|
+
"right": "RIGHT",
|
|
1546
|
+
"up": "JUMP"
|
|
1547
|
+
},
|
|
1548
|
+
"directionReleaseEvents": {
|
|
1549
|
+
"left": "STOP",
|
|
1550
|
+
"right": "STOP"
|
|
1551
|
+
},
|
|
1510
1552
|
"kind": "dpad",
|
|
1511
1553
|
"type": "control-grid"
|
|
1512
1554
|
},
|
|
@@ -1618,6 +1660,21 @@
|
|
|
1618
1660
|
"backgroundImage": "@config.backgroundImage",
|
|
1619
1661
|
"bgColor": "@config.bgColor",
|
|
1620
1662
|
"camera": "follow",
|
|
1663
|
+
"keyMap": {
|
|
1664
|
+
"ArrowLeft": "LEFT",
|
|
1665
|
+
"ArrowRight": "RIGHT",
|
|
1666
|
+
"ArrowUp": "JUMP",
|
|
1667
|
+
"KeyA": "LEFT",
|
|
1668
|
+
"KeyD": "RIGHT",
|
|
1669
|
+
"KeyW": "JUMP",
|
|
1670
|
+
"Space": "JUMP"
|
|
1671
|
+
},
|
|
1672
|
+
"keyUpMap": {
|
|
1673
|
+
"ArrowLeft": "STOP",
|
|
1674
|
+
"ArrowRight": "STOP",
|
|
1675
|
+
"KeyA": "STOP",
|
|
1676
|
+
"KeyD": "STOP"
|
|
1677
|
+
},
|
|
1621
1678
|
"platforms": "@config.platforms",
|
|
1622
1679
|
"player": "@entity.player",
|
|
1623
1680
|
"playerSprite": "@config.playerSprite",
|
|
@@ -1658,11 +1715,11 @@
|
|
|
1658
1715
|
"aspect": "1:1",
|
|
1659
1716
|
"category": "ui",
|
|
1660
1717
|
"dimension": "2d",
|
|
1661
|
-
"name": "
|
|
1718
|
+
"name": "coin",
|
|
1662
1719
|
"role": "ui",
|
|
1663
1720
|
"style": "pixel",
|
|
1664
1721
|
"thumbnailUrl": "",
|
|
1665
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
1722
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
1666
1723
|
"variant": ""
|
|
1667
1724
|
},
|
|
1668
1725
|
"label": "Lives",
|
|
@@ -1722,7 +1779,15 @@
|
|
|
1722
1779
|
"variant": ""
|
|
1723
1780
|
}
|
|
1724
1781
|
},
|
|
1725
|
-
"
|
|
1782
|
+
"directionEvents": {
|
|
1783
|
+
"left": "LEFT",
|
|
1784
|
+
"right": "RIGHT",
|
|
1785
|
+
"up": "JUMP"
|
|
1786
|
+
},
|
|
1787
|
+
"directionReleaseEvents": {
|
|
1788
|
+
"left": "STOP",
|
|
1789
|
+
"right": "STOP"
|
|
1790
|
+
},
|
|
1726
1791
|
"kind": "dpad",
|
|
1727
1792
|
"type": "control-grid"
|
|
1728
1793
|
},
|
|
@@ -2322,6 +2387,21 @@
|
|
|
2322
2387
|
"backgroundImage": "@config.backgroundImage",
|
|
2323
2388
|
"bgColor": "@config.bgColor",
|
|
2324
2389
|
"camera": "follow",
|
|
2390
|
+
"keyMap": {
|
|
2391
|
+
"ArrowLeft": "LEFT",
|
|
2392
|
+
"ArrowRight": "RIGHT",
|
|
2393
|
+
"ArrowUp": "JUMP",
|
|
2394
|
+
"KeyA": "LEFT",
|
|
2395
|
+
"KeyD": "RIGHT",
|
|
2396
|
+
"KeyW": "JUMP",
|
|
2397
|
+
"Space": "JUMP"
|
|
2398
|
+
},
|
|
2399
|
+
"keyUpMap": {
|
|
2400
|
+
"ArrowLeft": "STOP",
|
|
2401
|
+
"ArrowRight": "STOP",
|
|
2402
|
+
"KeyA": "STOP",
|
|
2403
|
+
"KeyD": "STOP"
|
|
2404
|
+
},
|
|
2325
2405
|
"platforms": "@config.platforms",
|
|
2326
2406
|
"player": "@entity.player",
|
|
2327
2407
|
"playerSprite": "@config.playerSprite",
|
|
@@ -2362,11 +2442,11 @@
|
|
|
2362
2442
|
"aspect": "1:1",
|
|
2363
2443
|
"category": "ui",
|
|
2364
2444
|
"dimension": "2d",
|
|
2365
|
-
"name": "
|
|
2445
|
+
"name": "coin",
|
|
2366
2446
|
"role": "ui",
|
|
2367
2447
|
"style": "pixel",
|
|
2368
2448
|
"thumbnailUrl": "",
|
|
2369
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
2449
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
2370
2450
|
"variant": ""
|
|
2371
2451
|
},
|
|
2372
2452
|
"label": "Lives",
|
|
@@ -2426,7 +2506,15 @@
|
|
|
2426
2506
|
"variant": ""
|
|
2427
2507
|
}
|
|
2428
2508
|
},
|
|
2429
|
-
"
|
|
2509
|
+
"directionEvents": {
|
|
2510
|
+
"left": "LEFT",
|
|
2511
|
+
"right": "RIGHT",
|
|
2512
|
+
"up": "JUMP"
|
|
2513
|
+
},
|
|
2514
|
+
"directionReleaseEvents": {
|
|
2515
|
+
"left": "STOP",
|
|
2516
|
+
"right": "STOP"
|
|
2517
|
+
},
|
|
2430
2518
|
"kind": "dpad",
|
|
2431
2519
|
"type": "control-grid"
|
|
2432
2520
|
},
|
|
@@ -1971,6 +1971,11 @@
|
|
|
1971
1971
|
"backgroundImage": "@config.backgroundImage",
|
|
1972
1972
|
"effects": "@entity.effects",
|
|
1973
1973
|
"features": "@config.features",
|
|
1974
|
+
"keyMap": {
|
|
1975
|
+
"ArrowUp": "JUMP",
|
|
1976
|
+
"KeyW": "JUMP",
|
|
1977
|
+
"Space": "JUMP"
|
|
1978
|
+
},
|
|
1974
1979
|
"projection": "flat",
|
|
1975
1980
|
"scale": "@config.scale",
|
|
1976
1981
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2105,6 +2110,11 @@
|
|
|
2105
2110
|
"backgroundImage": "@config.backgroundImage",
|
|
2106
2111
|
"effects": "@entity.effects",
|
|
2107
2112
|
"features": "@config.features",
|
|
2113
|
+
"keyMap": {
|
|
2114
|
+
"ArrowUp": "JUMP",
|
|
2115
|
+
"KeyW": "JUMP",
|
|
2116
|
+
"Space": "JUMP"
|
|
2117
|
+
},
|
|
2108
2118
|
"projection": "flat",
|
|
2109
2119
|
"scale": "@config.scale",
|
|
2110
2120
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2244,6 +2254,11 @@
|
|
|
2244
2254
|
"backgroundImage": "@config.backgroundImage",
|
|
2245
2255
|
"effects": "@entity.effects",
|
|
2246
2256
|
"features": "@config.features",
|
|
2257
|
+
"keyMap": {
|
|
2258
|
+
"ArrowUp": "JUMP",
|
|
2259
|
+
"KeyW": "JUMP",
|
|
2260
|
+
"Space": "JUMP"
|
|
2261
|
+
},
|
|
2247
2262
|
"projection": "flat",
|
|
2248
2263
|
"scale": "@config.scale",
|
|
2249
2264
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2351,6 +2366,34 @@
|
|
|
2351
2366
|
},
|
|
2352
2367
|
{
|
|
2353
2368
|
"effects": [
|
|
2369
|
+
[
|
|
2370
|
+
"set",
|
|
2371
|
+
"@entity.units",
|
|
2372
|
+
[
|
|
2373
|
+
"array/map",
|
|
2374
|
+
"@entity.units",
|
|
2375
|
+
[
|
|
2376
|
+
"fn",
|
|
2377
|
+
"u",
|
|
2378
|
+
[
|
|
2379
|
+
"if",
|
|
2380
|
+
[
|
|
2381
|
+
"==",
|
|
2382
|
+
"@u.unitType",
|
|
2383
|
+
"runner"
|
|
2384
|
+
],
|
|
2385
|
+
[
|
|
2386
|
+
"object/merge",
|
|
2387
|
+
"@u",
|
|
2388
|
+
{
|
|
2389
|
+
"animation": "attack"
|
|
2390
|
+
}
|
|
2391
|
+
],
|
|
2392
|
+
"@u"
|
|
2393
|
+
]
|
|
2394
|
+
]
|
|
2395
|
+
]
|
|
2396
|
+
],
|
|
2354
2397
|
[
|
|
2355
2398
|
"render-ui",
|
|
2356
2399
|
"main",
|
|
@@ -2373,6 +2416,11 @@
|
|
|
2373
2416
|
"backgroundImage": "@config.backgroundImage",
|
|
2374
2417
|
"effects": "@entity.effects",
|
|
2375
2418
|
"features": "@config.features",
|
|
2419
|
+
"keyMap": {
|
|
2420
|
+
"ArrowUp": "JUMP",
|
|
2421
|
+
"KeyW": "JUMP",
|
|
2422
|
+
"Space": "JUMP"
|
|
2423
|
+
},
|
|
2376
2424
|
"projection": "flat",
|
|
2377
2425
|
"scale": "@config.scale",
|
|
2378
2426
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2593,6 +2641,11 @@
|
|
|
2593
2641
|
"backgroundImage": "@config.backgroundImage",
|
|
2594
2642
|
"effects": "@entity.effects",
|
|
2595
2643
|
"features": "@config.features",
|
|
2644
|
+
"keyMap": {
|
|
2645
|
+
"ArrowUp": "JUMP",
|
|
2646
|
+
"KeyW": "JUMP",
|
|
2647
|
+
"Space": "JUMP"
|
|
2648
|
+
},
|
|
2596
2649
|
"projection": "flat",
|
|
2597
2650
|
"scale": "@config.scale",
|
|
2598
2651
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -726,33 +726,31 @@
|
|
|
726
726
|
"tier": "domain"
|
|
727
727
|
},
|
|
728
728
|
{
|
|
729
|
-
"description": "
|
|
729
|
+
"description": "Move-left intent (keyboard keyMap or d-pad directionEvents)",
|
|
730
730
|
"event": "LEFT",
|
|
731
731
|
"payloadSchema": [
|
|
732
732
|
{
|
|
733
|
-
"name": "
|
|
734
|
-
"
|
|
735
|
-
"type": "number"
|
|
733
|
+
"name": "id",
|
|
734
|
+
"type": "string"
|
|
736
735
|
}
|
|
737
736
|
],
|
|
738
737
|
"scope": "external",
|
|
739
738
|
"tier": "domain"
|
|
740
739
|
},
|
|
741
740
|
{
|
|
742
|
-
"description": "
|
|
741
|
+
"description": "Move-right intent (keyboard keyMap or d-pad directionEvents)",
|
|
743
742
|
"event": "RIGHT",
|
|
744
743
|
"payloadSchema": [
|
|
745
744
|
{
|
|
746
|
-
"name": "
|
|
747
|
-
"
|
|
748
|
-
"type": "number"
|
|
745
|
+
"name": "id",
|
|
746
|
+
"type": "string"
|
|
749
747
|
}
|
|
750
748
|
],
|
|
751
749
|
"scope": "external",
|
|
752
750
|
"tier": "domain"
|
|
753
751
|
},
|
|
754
752
|
{
|
|
755
|
-
"description": "
|
|
753
|
+
"description": "Jump intent (keyboard keyMap or d-pad directionEvents)",
|
|
756
754
|
"event": "JUMP",
|
|
757
755
|
"payloadSchema": [
|
|
758
756
|
{
|
|
@@ -764,7 +762,7 @@
|
|
|
764
762
|
"tier": "domain"
|
|
765
763
|
},
|
|
766
764
|
{
|
|
767
|
-
"description": "
|
|
765
|
+
"description": "Stop-horizontal intent (keyboard keyUpMap or d-pad directionReleaseEvents)",
|
|
768
766
|
"event": "STOP",
|
|
769
767
|
"payloadSchema": [
|
|
770
768
|
{
|
|
@@ -815,33 +813,31 @@
|
|
|
815
813
|
"name": "Initialize"
|
|
816
814
|
},
|
|
817
815
|
{
|
|
818
|
-
"description": "
|
|
816
|
+
"description": "Move-left intent (keyboard keyMap or d-pad directionEvents)",
|
|
819
817
|
"key": "LEFT",
|
|
820
818
|
"name": "Left",
|
|
821
819
|
"payloadSchema": [
|
|
822
820
|
{
|
|
823
|
-
"name": "
|
|
824
|
-
"
|
|
825
|
-
"type": "number"
|
|
821
|
+
"name": "id",
|
|
822
|
+
"type": "string"
|
|
826
823
|
}
|
|
827
824
|
],
|
|
828
825
|
"tier": "domain"
|
|
829
826
|
},
|
|
830
827
|
{
|
|
831
|
-
"description": "
|
|
828
|
+
"description": "Move-right intent (keyboard keyMap or d-pad directionEvents)",
|
|
832
829
|
"key": "RIGHT",
|
|
833
830
|
"name": "Right",
|
|
834
831
|
"payloadSchema": [
|
|
835
832
|
{
|
|
836
|
-
"name": "
|
|
837
|
-
"
|
|
838
|
-
"type": "number"
|
|
833
|
+
"name": "id",
|
|
834
|
+
"type": "string"
|
|
839
835
|
}
|
|
840
836
|
],
|
|
841
837
|
"tier": "domain"
|
|
842
838
|
},
|
|
843
839
|
{
|
|
844
|
-
"description": "
|
|
840
|
+
"description": "Jump intent (keyboard keyMap or d-pad directionEvents)",
|
|
845
841
|
"key": "JUMP",
|
|
846
842
|
"name": "Jump",
|
|
847
843
|
"payloadSchema": [
|
|
@@ -853,7 +849,7 @@
|
|
|
853
849
|
"tier": "domain"
|
|
854
850
|
},
|
|
855
851
|
{
|
|
856
|
-
"description": "
|
|
852
|
+
"description": "Stop-horizontal intent (keyboard keyUpMap or d-pad directionReleaseEvents)",
|
|
857
853
|
"key": "STOP",
|
|
858
854
|
"name": "Stop",
|
|
859
855
|
"payloadSchema": [
|
|
@@ -1023,6 +1019,21 @@
|
|
|
1023
1019
|
"backgroundImage": "@config.backgroundImage",
|
|
1024
1020
|
"bgColor": "@config.bgColor",
|
|
1025
1021
|
"camera": "follow",
|
|
1022
|
+
"keyMap": {
|
|
1023
|
+
"ArrowLeft": "LEFT",
|
|
1024
|
+
"ArrowRight": "RIGHT",
|
|
1025
|
+
"ArrowUp": "JUMP",
|
|
1026
|
+
"KeyA": "LEFT",
|
|
1027
|
+
"KeyD": "RIGHT",
|
|
1028
|
+
"KeyW": "JUMP",
|
|
1029
|
+
"Space": "JUMP"
|
|
1030
|
+
},
|
|
1031
|
+
"keyUpMap": {
|
|
1032
|
+
"ArrowLeft": "STOP",
|
|
1033
|
+
"ArrowRight": "STOP",
|
|
1034
|
+
"KeyA": "STOP",
|
|
1035
|
+
"KeyD": "STOP"
|
|
1036
|
+
},
|
|
1026
1037
|
"platforms": "@config.platforms",
|
|
1027
1038
|
"player": "@entity.player",
|
|
1028
1039
|
"playerSprite": "@config.playerSprite",
|
|
@@ -1063,11 +1074,11 @@
|
|
|
1063
1074
|
"aspect": "1:1",
|
|
1064
1075
|
"category": "ui",
|
|
1065
1076
|
"dimension": "2d",
|
|
1066
|
-
"name": "
|
|
1077
|
+
"name": "coin",
|
|
1067
1078
|
"role": "ui",
|
|
1068
1079
|
"style": "pixel",
|
|
1069
1080
|
"thumbnailUrl": "",
|
|
1070
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
1081
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
1071
1082
|
"variant": ""
|
|
1072
1083
|
},
|
|
1073
1084
|
"label": "Lives",
|
|
@@ -1127,7 +1138,15 @@
|
|
|
1127
1138
|
"variant": ""
|
|
1128
1139
|
}
|
|
1129
1140
|
},
|
|
1130
|
-
"
|
|
1141
|
+
"directionEvents": {
|
|
1142
|
+
"left": "LEFT",
|
|
1143
|
+
"right": "RIGHT",
|
|
1144
|
+
"up": "JUMP"
|
|
1145
|
+
},
|
|
1146
|
+
"directionReleaseEvents": {
|
|
1147
|
+
"left": "STOP",
|
|
1148
|
+
"right": "STOP"
|
|
1149
|
+
},
|
|
1131
1150
|
"kind": "dpad",
|
|
1132
1151
|
"type": "control-grid"
|
|
1133
1152
|
},
|
|
@@ -1402,6 +1421,21 @@
|
|
|
1402
1421
|
"backgroundImage": "@config.backgroundImage",
|
|
1403
1422
|
"bgColor": "@config.bgColor",
|
|
1404
1423
|
"camera": "follow",
|
|
1424
|
+
"keyMap": {
|
|
1425
|
+
"ArrowLeft": "LEFT",
|
|
1426
|
+
"ArrowRight": "RIGHT",
|
|
1427
|
+
"ArrowUp": "JUMP",
|
|
1428
|
+
"KeyA": "LEFT",
|
|
1429
|
+
"KeyD": "RIGHT",
|
|
1430
|
+
"KeyW": "JUMP",
|
|
1431
|
+
"Space": "JUMP"
|
|
1432
|
+
},
|
|
1433
|
+
"keyUpMap": {
|
|
1434
|
+
"ArrowLeft": "STOP",
|
|
1435
|
+
"ArrowRight": "STOP",
|
|
1436
|
+
"KeyA": "STOP",
|
|
1437
|
+
"KeyD": "STOP"
|
|
1438
|
+
},
|
|
1405
1439
|
"platforms": "@config.platforms",
|
|
1406
1440
|
"player": "@entity.player",
|
|
1407
1441
|
"playerSprite": "@config.playerSprite",
|
|
@@ -1442,11 +1476,11 @@
|
|
|
1442
1476
|
"aspect": "1:1",
|
|
1443
1477
|
"category": "ui",
|
|
1444
1478
|
"dimension": "2d",
|
|
1445
|
-
"name": "
|
|
1479
|
+
"name": "coin",
|
|
1446
1480
|
"role": "ui",
|
|
1447
1481
|
"style": "pixel",
|
|
1448
1482
|
"thumbnailUrl": "",
|
|
1449
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
1483
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
1450
1484
|
"variant": ""
|
|
1451
1485
|
},
|
|
1452
1486
|
"label": "Lives",
|
|
@@ -1506,7 +1540,15 @@
|
|
|
1506
1540
|
"variant": ""
|
|
1507
1541
|
}
|
|
1508
1542
|
},
|
|
1509
|
-
"
|
|
1543
|
+
"directionEvents": {
|
|
1544
|
+
"left": "LEFT",
|
|
1545
|
+
"right": "RIGHT",
|
|
1546
|
+
"up": "JUMP"
|
|
1547
|
+
},
|
|
1548
|
+
"directionReleaseEvents": {
|
|
1549
|
+
"left": "STOP",
|
|
1550
|
+
"right": "STOP"
|
|
1551
|
+
},
|
|
1510
1552
|
"kind": "dpad",
|
|
1511
1553
|
"type": "control-grid"
|
|
1512
1554
|
},
|
|
@@ -1618,6 +1660,21 @@
|
|
|
1618
1660
|
"backgroundImage": "@config.backgroundImage",
|
|
1619
1661
|
"bgColor": "@config.bgColor",
|
|
1620
1662
|
"camera": "follow",
|
|
1663
|
+
"keyMap": {
|
|
1664
|
+
"ArrowLeft": "LEFT",
|
|
1665
|
+
"ArrowRight": "RIGHT",
|
|
1666
|
+
"ArrowUp": "JUMP",
|
|
1667
|
+
"KeyA": "LEFT",
|
|
1668
|
+
"KeyD": "RIGHT",
|
|
1669
|
+
"KeyW": "JUMP",
|
|
1670
|
+
"Space": "JUMP"
|
|
1671
|
+
},
|
|
1672
|
+
"keyUpMap": {
|
|
1673
|
+
"ArrowLeft": "STOP",
|
|
1674
|
+
"ArrowRight": "STOP",
|
|
1675
|
+
"KeyA": "STOP",
|
|
1676
|
+
"KeyD": "STOP"
|
|
1677
|
+
},
|
|
1621
1678
|
"platforms": "@config.platforms",
|
|
1622
1679
|
"player": "@entity.player",
|
|
1623
1680
|
"playerSprite": "@config.playerSprite",
|
|
@@ -1658,11 +1715,11 @@
|
|
|
1658
1715
|
"aspect": "1:1",
|
|
1659
1716
|
"category": "ui",
|
|
1660
1717
|
"dimension": "2d",
|
|
1661
|
-
"name": "
|
|
1718
|
+
"name": "coin",
|
|
1662
1719
|
"role": "ui",
|
|
1663
1720
|
"style": "pixel",
|
|
1664
1721
|
"thumbnailUrl": "",
|
|
1665
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
1722
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
1666
1723
|
"variant": ""
|
|
1667
1724
|
},
|
|
1668
1725
|
"label": "Lives",
|
|
@@ -1722,7 +1779,15 @@
|
|
|
1722
1779
|
"variant": ""
|
|
1723
1780
|
}
|
|
1724
1781
|
},
|
|
1725
|
-
"
|
|
1782
|
+
"directionEvents": {
|
|
1783
|
+
"left": "LEFT",
|
|
1784
|
+
"right": "RIGHT",
|
|
1785
|
+
"up": "JUMP"
|
|
1786
|
+
},
|
|
1787
|
+
"directionReleaseEvents": {
|
|
1788
|
+
"left": "STOP",
|
|
1789
|
+
"right": "STOP"
|
|
1790
|
+
},
|
|
1726
1791
|
"kind": "dpad",
|
|
1727
1792
|
"type": "control-grid"
|
|
1728
1793
|
},
|
|
@@ -2322,6 +2387,21 @@
|
|
|
2322
2387
|
"backgroundImage": "@config.backgroundImage",
|
|
2323
2388
|
"bgColor": "@config.bgColor",
|
|
2324
2389
|
"camera": "follow",
|
|
2390
|
+
"keyMap": {
|
|
2391
|
+
"ArrowLeft": "LEFT",
|
|
2392
|
+
"ArrowRight": "RIGHT",
|
|
2393
|
+
"ArrowUp": "JUMP",
|
|
2394
|
+
"KeyA": "LEFT",
|
|
2395
|
+
"KeyD": "RIGHT",
|
|
2396
|
+
"KeyW": "JUMP",
|
|
2397
|
+
"Space": "JUMP"
|
|
2398
|
+
},
|
|
2399
|
+
"keyUpMap": {
|
|
2400
|
+
"ArrowLeft": "STOP",
|
|
2401
|
+
"ArrowRight": "STOP",
|
|
2402
|
+
"KeyA": "STOP",
|
|
2403
|
+
"KeyD": "STOP"
|
|
2404
|
+
},
|
|
2325
2405
|
"platforms": "@config.platforms",
|
|
2326
2406
|
"player": "@entity.player",
|
|
2327
2407
|
"playerSprite": "@config.playerSprite",
|
|
@@ -2362,11 +2442,11 @@
|
|
|
2362
2442
|
"aspect": "1:1",
|
|
2363
2443
|
"category": "ui",
|
|
2364
2444
|
"dimension": "2d",
|
|
2365
|
-
"name": "
|
|
2445
|
+
"name": "coin",
|
|
2366
2446
|
"role": "ui",
|
|
2367
2447
|
"style": "pixel",
|
|
2368
2448
|
"thumbnailUrl": "",
|
|
2369
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
2449
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
2370
2450
|
"variant": ""
|
|
2371
2451
|
},
|
|
2372
2452
|
"label": "Lives",
|
|
@@ -2426,7 +2506,15 @@
|
|
|
2426
2506
|
"variant": ""
|
|
2427
2507
|
}
|
|
2428
2508
|
},
|
|
2429
|
-
"
|
|
2509
|
+
"directionEvents": {
|
|
2510
|
+
"left": "LEFT",
|
|
2511
|
+
"right": "RIGHT",
|
|
2512
|
+
"up": "JUMP"
|
|
2513
|
+
},
|
|
2514
|
+
"directionReleaseEvents": {
|
|
2515
|
+
"left": "STOP",
|
|
2516
|
+
"right": "STOP"
|
|
2517
|
+
},
|
|
2430
2518
|
"kind": "dpad",
|
|
2431
2519
|
"type": "control-grid"
|
|
2432
2520
|
},
|
|
@@ -1971,6 +1971,11 @@
|
|
|
1971
1971
|
"backgroundImage": "@config.backgroundImage",
|
|
1972
1972
|
"effects": "@entity.effects",
|
|
1973
1973
|
"features": "@config.features",
|
|
1974
|
+
"keyMap": {
|
|
1975
|
+
"ArrowUp": "JUMP",
|
|
1976
|
+
"KeyW": "JUMP",
|
|
1977
|
+
"Space": "JUMP"
|
|
1978
|
+
},
|
|
1974
1979
|
"projection": "flat",
|
|
1975
1980
|
"scale": "@config.scale",
|
|
1976
1981
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2105,6 +2110,11 @@
|
|
|
2105
2110
|
"backgroundImage": "@config.backgroundImage",
|
|
2106
2111
|
"effects": "@entity.effects",
|
|
2107
2112
|
"features": "@config.features",
|
|
2113
|
+
"keyMap": {
|
|
2114
|
+
"ArrowUp": "JUMP",
|
|
2115
|
+
"KeyW": "JUMP",
|
|
2116
|
+
"Space": "JUMP"
|
|
2117
|
+
},
|
|
2108
2118
|
"projection": "flat",
|
|
2109
2119
|
"scale": "@config.scale",
|
|
2110
2120
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2244,6 +2254,11 @@
|
|
|
2244
2254
|
"backgroundImage": "@config.backgroundImage",
|
|
2245
2255
|
"effects": "@entity.effects",
|
|
2246
2256
|
"features": "@config.features",
|
|
2257
|
+
"keyMap": {
|
|
2258
|
+
"ArrowUp": "JUMP",
|
|
2259
|
+
"KeyW": "JUMP",
|
|
2260
|
+
"Space": "JUMP"
|
|
2261
|
+
},
|
|
2247
2262
|
"projection": "flat",
|
|
2248
2263
|
"scale": "@config.scale",
|
|
2249
2264
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2351,6 +2366,34 @@
|
|
|
2351
2366
|
},
|
|
2352
2367
|
{
|
|
2353
2368
|
"effects": [
|
|
2369
|
+
[
|
|
2370
|
+
"set",
|
|
2371
|
+
"@entity.units",
|
|
2372
|
+
[
|
|
2373
|
+
"array/map",
|
|
2374
|
+
"@entity.units",
|
|
2375
|
+
[
|
|
2376
|
+
"fn",
|
|
2377
|
+
"u",
|
|
2378
|
+
[
|
|
2379
|
+
"if",
|
|
2380
|
+
[
|
|
2381
|
+
"==",
|
|
2382
|
+
"@u.unitType",
|
|
2383
|
+
"runner"
|
|
2384
|
+
],
|
|
2385
|
+
[
|
|
2386
|
+
"object/merge",
|
|
2387
|
+
"@u",
|
|
2388
|
+
{
|
|
2389
|
+
"animation": "attack"
|
|
2390
|
+
}
|
|
2391
|
+
],
|
|
2392
|
+
"@u"
|
|
2393
|
+
]
|
|
2394
|
+
]
|
|
2395
|
+
]
|
|
2396
|
+
],
|
|
2354
2397
|
[
|
|
2355
2398
|
"render-ui",
|
|
2356
2399
|
"main",
|
|
@@ -2373,6 +2416,11 @@
|
|
|
2373
2416
|
"backgroundImage": "@config.backgroundImage",
|
|
2374
2417
|
"effects": "@entity.effects",
|
|
2375
2418
|
"features": "@config.features",
|
|
2419
|
+
"keyMap": {
|
|
2420
|
+
"ArrowUp": "JUMP",
|
|
2421
|
+
"KeyW": "JUMP",
|
|
2422
|
+
"Space": "JUMP"
|
|
2423
|
+
},
|
|
2376
2424
|
"projection": "flat",
|
|
2377
2425
|
"scale": "@config.scale",
|
|
2378
2426
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -2593,6 +2641,11 @@
|
|
|
2593
2641
|
"backgroundImage": "@config.backgroundImage",
|
|
2594
2642
|
"effects": "@entity.effects",
|
|
2595
2643
|
"features": "@config.features",
|
|
2644
|
+
"keyMap": {
|
|
2645
|
+
"ArrowUp": "JUMP",
|
|
2646
|
+
"KeyW": "JUMP",
|
|
2647
|
+
"Space": "JUMP"
|
|
2648
|
+
},
|
|
2596
2649
|
"projection": "flat",
|
|
2597
2650
|
"scale": "@config.scale",
|
|
2598
2651
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
@@ -726,33 +726,31 @@
|
|
|
726
726
|
"tier": "domain"
|
|
727
727
|
},
|
|
728
728
|
{
|
|
729
|
-
"description": "
|
|
729
|
+
"description": "Move-left intent (keyboard keyMap or d-pad directionEvents)",
|
|
730
730
|
"event": "LEFT",
|
|
731
731
|
"payloadSchema": [
|
|
732
732
|
{
|
|
733
|
-
"name": "
|
|
734
|
-
"
|
|
735
|
-
"type": "number"
|
|
733
|
+
"name": "id",
|
|
734
|
+
"type": "string"
|
|
736
735
|
}
|
|
737
736
|
],
|
|
738
737
|
"scope": "external",
|
|
739
738
|
"tier": "domain"
|
|
740
739
|
},
|
|
741
740
|
{
|
|
742
|
-
"description": "
|
|
741
|
+
"description": "Move-right intent (keyboard keyMap or d-pad directionEvents)",
|
|
743
742
|
"event": "RIGHT",
|
|
744
743
|
"payloadSchema": [
|
|
745
744
|
{
|
|
746
|
-
"name": "
|
|
747
|
-
"
|
|
748
|
-
"type": "number"
|
|
745
|
+
"name": "id",
|
|
746
|
+
"type": "string"
|
|
749
747
|
}
|
|
750
748
|
],
|
|
751
749
|
"scope": "external",
|
|
752
750
|
"tier": "domain"
|
|
753
751
|
},
|
|
754
752
|
{
|
|
755
|
-
"description": "
|
|
753
|
+
"description": "Jump intent (keyboard keyMap or d-pad directionEvents)",
|
|
756
754
|
"event": "JUMP",
|
|
757
755
|
"payloadSchema": [
|
|
758
756
|
{
|
|
@@ -764,7 +762,7 @@
|
|
|
764
762
|
"tier": "domain"
|
|
765
763
|
},
|
|
766
764
|
{
|
|
767
|
-
"description": "
|
|
765
|
+
"description": "Stop-horizontal intent (keyboard keyUpMap or d-pad directionReleaseEvents)",
|
|
768
766
|
"event": "STOP",
|
|
769
767
|
"payloadSchema": [
|
|
770
768
|
{
|
|
@@ -815,33 +813,31 @@
|
|
|
815
813
|
"name": "Initialize"
|
|
816
814
|
},
|
|
817
815
|
{
|
|
818
|
-
"description": "
|
|
816
|
+
"description": "Move-left intent (keyboard keyMap or d-pad directionEvents)",
|
|
819
817
|
"key": "LEFT",
|
|
820
818
|
"name": "Left",
|
|
821
819
|
"payloadSchema": [
|
|
822
820
|
{
|
|
823
|
-
"name": "
|
|
824
|
-
"
|
|
825
|
-
"type": "number"
|
|
821
|
+
"name": "id",
|
|
822
|
+
"type": "string"
|
|
826
823
|
}
|
|
827
824
|
],
|
|
828
825
|
"tier": "domain"
|
|
829
826
|
},
|
|
830
827
|
{
|
|
831
|
-
"description": "
|
|
828
|
+
"description": "Move-right intent (keyboard keyMap or d-pad directionEvents)",
|
|
832
829
|
"key": "RIGHT",
|
|
833
830
|
"name": "Right",
|
|
834
831
|
"payloadSchema": [
|
|
835
832
|
{
|
|
836
|
-
"name": "
|
|
837
|
-
"
|
|
838
|
-
"type": "number"
|
|
833
|
+
"name": "id",
|
|
834
|
+
"type": "string"
|
|
839
835
|
}
|
|
840
836
|
],
|
|
841
837
|
"tier": "domain"
|
|
842
838
|
},
|
|
843
839
|
{
|
|
844
|
-
"description": "
|
|
840
|
+
"description": "Jump intent (keyboard keyMap or d-pad directionEvents)",
|
|
845
841
|
"key": "JUMP",
|
|
846
842
|
"name": "Jump",
|
|
847
843
|
"payloadSchema": [
|
|
@@ -853,7 +849,7 @@
|
|
|
853
849
|
"tier": "domain"
|
|
854
850
|
},
|
|
855
851
|
{
|
|
856
|
-
"description": "
|
|
852
|
+
"description": "Stop-horizontal intent (keyboard keyUpMap or d-pad directionReleaseEvents)",
|
|
857
853
|
"key": "STOP",
|
|
858
854
|
"name": "Stop",
|
|
859
855
|
"payloadSchema": [
|
|
@@ -1023,6 +1019,21 @@
|
|
|
1023
1019
|
"backgroundImage": "@config.backgroundImage",
|
|
1024
1020
|
"bgColor": "@config.bgColor",
|
|
1025
1021
|
"camera": "follow",
|
|
1022
|
+
"keyMap": {
|
|
1023
|
+
"ArrowLeft": "LEFT",
|
|
1024
|
+
"ArrowRight": "RIGHT",
|
|
1025
|
+
"ArrowUp": "JUMP",
|
|
1026
|
+
"KeyA": "LEFT",
|
|
1027
|
+
"KeyD": "RIGHT",
|
|
1028
|
+
"KeyW": "JUMP",
|
|
1029
|
+
"Space": "JUMP"
|
|
1030
|
+
},
|
|
1031
|
+
"keyUpMap": {
|
|
1032
|
+
"ArrowLeft": "STOP",
|
|
1033
|
+
"ArrowRight": "STOP",
|
|
1034
|
+
"KeyA": "STOP",
|
|
1035
|
+
"KeyD": "STOP"
|
|
1036
|
+
},
|
|
1026
1037
|
"platforms": "@config.platforms",
|
|
1027
1038
|
"player": "@entity.player",
|
|
1028
1039
|
"playerSprite": "@config.playerSprite",
|
|
@@ -1063,11 +1074,11 @@
|
|
|
1063
1074
|
"aspect": "1:1",
|
|
1064
1075
|
"category": "ui",
|
|
1065
1076
|
"dimension": "2d",
|
|
1066
|
-
"name": "
|
|
1077
|
+
"name": "coin",
|
|
1067
1078
|
"role": "ui",
|
|
1068
1079
|
"style": "pixel",
|
|
1069
1080
|
"thumbnailUrl": "",
|
|
1070
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
1081
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
1071
1082
|
"variant": ""
|
|
1072
1083
|
},
|
|
1073
1084
|
"label": "Lives",
|
|
@@ -1127,7 +1138,15 @@
|
|
|
1127
1138
|
"variant": ""
|
|
1128
1139
|
}
|
|
1129
1140
|
},
|
|
1130
|
-
"
|
|
1141
|
+
"directionEvents": {
|
|
1142
|
+
"left": "LEFT",
|
|
1143
|
+
"right": "RIGHT",
|
|
1144
|
+
"up": "JUMP"
|
|
1145
|
+
},
|
|
1146
|
+
"directionReleaseEvents": {
|
|
1147
|
+
"left": "STOP",
|
|
1148
|
+
"right": "STOP"
|
|
1149
|
+
},
|
|
1131
1150
|
"kind": "dpad",
|
|
1132
1151
|
"type": "control-grid"
|
|
1133
1152
|
},
|
|
@@ -1402,6 +1421,21 @@
|
|
|
1402
1421
|
"backgroundImage": "@config.backgroundImage",
|
|
1403
1422
|
"bgColor": "@config.bgColor",
|
|
1404
1423
|
"camera": "follow",
|
|
1424
|
+
"keyMap": {
|
|
1425
|
+
"ArrowLeft": "LEFT",
|
|
1426
|
+
"ArrowRight": "RIGHT",
|
|
1427
|
+
"ArrowUp": "JUMP",
|
|
1428
|
+
"KeyA": "LEFT",
|
|
1429
|
+
"KeyD": "RIGHT",
|
|
1430
|
+
"KeyW": "JUMP",
|
|
1431
|
+
"Space": "JUMP"
|
|
1432
|
+
},
|
|
1433
|
+
"keyUpMap": {
|
|
1434
|
+
"ArrowLeft": "STOP",
|
|
1435
|
+
"ArrowRight": "STOP",
|
|
1436
|
+
"KeyA": "STOP",
|
|
1437
|
+
"KeyD": "STOP"
|
|
1438
|
+
},
|
|
1405
1439
|
"platforms": "@config.platforms",
|
|
1406
1440
|
"player": "@entity.player",
|
|
1407
1441
|
"playerSprite": "@config.playerSprite",
|
|
@@ -1442,11 +1476,11 @@
|
|
|
1442
1476
|
"aspect": "1:1",
|
|
1443
1477
|
"category": "ui",
|
|
1444
1478
|
"dimension": "2d",
|
|
1445
|
-
"name": "
|
|
1479
|
+
"name": "coin",
|
|
1446
1480
|
"role": "ui",
|
|
1447
1481
|
"style": "pixel",
|
|
1448
1482
|
"thumbnailUrl": "",
|
|
1449
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
1483
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
1450
1484
|
"variant": ""
|
|
1451
1485
|
},
|
|
1452
1486
|
"label": "Lives",
|
|
@@ -1506,7 +1540,15 @@
|
|
|
1506
1540
|
"variant": ""
|
|
1507
1541
|
}
|
|
1508
1542
|
},
|
|
1509
|
-
"
|
|
1543
|
+
"directionEvents": {
|
|
1544
|
+
"left": "LEFT",
|
|
1545
|
+
"right": "RIGHT",
|
|
1546
|
+
"up": "JUMP"
|
|
1547
|
+
},
|
|
1548
|
+
"directionReleaseEvents": {
|
|
1549
|
+
"left": "STOP",
|
|
1550
|
+
"right": "STOP"
|
|
1551
|
+
},
|
|
1510
1552
|
"kind": "dpad",
|
|
1511
1553
|
"type": "control-grid"
|
|
1512
1554
|
},
|
|
@@ -1618,6 +1660,21 @@
|
|
|
1618
1660
|
"backgroundImage": "@config.backgroundImage",
|
|
1619
1661
|
"bgColor": "@config.bgColor",
|
|
1620
1662
|
"camera": "follow",
|
|
1663
|
+
"keyMap": {
|
|
1664
|
+
"ArrowLeft": "LEFT",
|
|
1665
|
+
"ArrowRight": "RIGHT",
|
|
1666
|
+
"ArrowUp": "JUMP",
|
|
1667
|
+
"KeyA": "LEFT",
|
|
1668
|
+
"KeyD": "RIGHT",
|
|
1669
|
+
"KeyW": "JUMP",
|
|
1670
|
+
"Space": "JUMP"
|
|
1671
|
+
},
|
|
1672
|
+
"keyUpMap": {
|
|
1673
|
+
"ArrowLeft": "STOP",
|
|
1674
|
+
"ArrowRight": "STOP",
|
|
1675
|
+
"KeyA": "STOP",
|
|
1676
|
+
"KeyD": "STOP"
|
|
1677
|
+
},
|
|
1621
1678
|
"platforms": "@config.platforms",
|
|
1622
1679
|
"player": "@entity.player",
|
|
1623
1680
|
"playerSprite": "@config.playerSprite",
|
|
@@ -1658,11 +1715,11 @@
|
|
|
1658
1715
|
"aspect": "1:1",
|
|
1659
1716
|
"category": "ui",
|
|
1660
1717
|
"dimension": "2d",
|
|
1661
|
-
"name": "
|
|
1718
|
+
"name": "coin",
|
|
1662
1719
|
"role": "ui",
|
|
1663
1720
|
"style": "pixel",
|
|
1664
1721
|
"thumbnailUrl": "",
|
|
1665
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
1722
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
1666
1723
|
"variant": ""
|
|
1667
1724
|
},
|
|
1668
1725
|
"label": "Lives",
|
|
@@ -1722,7 +1779,15 @@
|
|
|
1722
1779
|
"variant": ""
|
|
1723
1780
|
}
|
|
1724
1781
|
},
|
|
1725
|
-
"
|
|
1782
|
+
"directionEvents": {
|
|
1783
|
+
"left": "LEFT",
|
|
1784
|
+
"right": "RIGHT",
|
|
1785
|
+
"up": "JUMP"
|
|
1786
|
+
},
|
|
1787
|
+
"directionReleaseEvents": {
|
|
1788
|
+
"left": "STOP",
|
|
1789
|
+
"right": "STOP"
|
|
1790
|
+
},
|
|
1726
1791
|
"kind": "dpad",
|
|
1727
1792
|
"type": "control-grid"
|
|
1728
1793
|
},
|
|
@@ -2322,6 +2387,21 @@
|
|
|
2322
2387
|
"backgroundImage": "@config.backgroundImage",
|
|
2323
2388
|
"bgColor": "@config.bgColor",
|
|
2324
2389
|
"camera": "follow",
|
|
2390
|
+
"keyMap": {
|
|
2391
|
+
"ArrowLeft": "LEFT",
|
|
2392
|
+
"ArrowRight": "RIGHT",
|
|
2393
|
+
"ArrowUp": "JUMP",
|
|
2394
|
+
"KeyA": "LEFT",
|
|
2395
|
+
"KeyD": "RIGHT",
|
|
2396
|
+
"KeyW": "JUMP",
|
|
2397
|
+
"Space": "JUMP"
|
|
2398
|
+
},
|
|
2399
|
+
"keyUpMap": {
|
|
2400
|
+
"ArrowLeft": "STOP",
|
|
2401
|
+
"ArrowRight": "STOP",
|
|
2402
|
+
"KeyA": "STOP",
|
|
2403
|
+
"KeyD": "STOP"
|
|
2404
|
+
},
|
|
2325
2405
|
"platforms": "@config.platforms",
|
|
2326
2406
|
"player": "@entity.player",
|
|
2327
2407
|
"playerSprite": "@config.playerSprite",
|
|
@@ -2362,11 +2442,11 @@
|
|
|
2362
2442
|
"aspect": "1:1",
|
|
2363
2443
|
"category": "ui",
|
|
2364
2444
|
"dimension": "2d",
|
|
2365
|
-
"name": "
|
|
2445
|
+
"name": "coin",
|
|
2366
2446
|
"role": "ui",
|
|
2367
2447
|
"style": "pixel",
|
|
2368
2448
|
"thumbnailUrl": "",
|
|
2369
|
-
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/
|
|
2449
|
+
"url": "https://almadar-kflow-assets.web.app/shared/ui-platformer-board/default/ui/coin.png",
|
|
2370
2450
|
"variant": ""
|
|
2371
2451
|
},
|
|
2372
2452
|
"label": "Lives",
|
|
@@ -2426,7 +2506,15 @@
|
|
|
2426
2506
|
"variant": ""
|
|
2427
2507
|
}
|
|
2428
2508
|
},
|
|
2429
|
-
"
|
|
2509
|
+
"directionEvents": {
|
|
2510
|
+
"left": "LEFT",
|
|
2511
|
+
"right": "RIGHT",
|
|
2512
|
+
"up": "JUMP"
|
|
2513
|
+
},
|
|
2514
|
+
"directionReleaseEvents": {
|
|
2515
|
+
"left": "STOP",
|
|
2516
|
+
"right": "STOP"
|
|
2517
|
+
},
|
|
2430
2518
|
"kind": "dpad",
|
|
2431
2519
|
"type": "control-grid"
|
|
2432
2520
|
},
|