@almadar/std 16.78.2 → 16.78.3
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/molecules/ui-feature-renderer.orb +41 -3
- package/behaviors/registry/ui/game/2d/organisms/ui-card-battler-board.orb +66 -364
- package/behaviors/registry/ui/game/2d/organisms/ui-visual-novel-board.orb +54 -354
- package/dist/behaviors/registry/ui/game/2d/molecules/ui-feature-renderer.orb +41 -3
- package/dist/behaviors/registry/ui/game/2d/organisms/ui-card-battler-board.orb +66 -364
- package/dist/behaviors/registry/ui/game/2d/organisms/ui-visual-novel-board.orb +54 -354
- package/dist/registry/ui/game/2d/molecules/ui-feature-renderer.orb +41 -3
- package/dist/registry/ui/game/2d/organisms/ui-card-battler-board.orb +66 -364
- package/dist/registry/ui/game/2d/organisms/ui-visual-novel-board.orb +54 -354
- package/package.json +1 -1
|
@@ -239,6 +239,16 @@
|
|
|
239
239
|
"description": "Called when feature is clicked",
|
|
240
240
|
"event": "FEATURE_CLICK",
|
|
241
241
|
"payloadSchema": [
|
|
242
|
+
{
|
|
243
|
+
"name": "x",
|
|
244
|
+
"required": true,
|
|
245
|
+
"type": "number"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "y",
|
|
249
|
+
"required": true,
|
|
250
|
+
"type": "number"
|
|
251
|
+
},
|
|
242
252
|
{
|
|
243
253
|
"name": "feature",
|
|
244
254
|
"properties": [
|
|
@@ -284,6 +294,16 @@
|
|
|
284
294
|
"description": "Called when feature is hovered",
|
|
285
295
|
"event": "FEATURE_HOVER",
|
|
286
296
|
"payloadSchema": [
|
|
297
|
+
{
|
|
298
|
+
"name": "x",
|
|
299
|
+
"required": true,
|
|
300
|
+
"type": "number"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "y",
|
|
304
|
+
"required": true,
|
|
305
|
+
"type": "number"
|
|
306
|
+
},
|
|
287
307
|
{
|
|
288
308
|
"name": "feature",
|
|
289
309
|
"properties": [
|
|
@@ -345,6 +365,16 @@
|
|
|
345
365
|
"key": "FEATURE_CLICK",
|
|
346
366
|
"name": "Feature Click",
|
|
347
367
|
"payloadSchema": [
|
|
368
|
+
{
|
|
369
|
+
"name": "x",
|
|
370
|
+
"required": true,
|
|
371
|
+
"type": "number"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "y",
|
|
375
|
+
"required": true,
|
|
376
|
+
"type": "number"
|
|
377
|
+
},
|
|
348
378
|
{
|
|
349
379
|
"name": "feature",
|
|
350
380
|
"properties": [
|
|
@@ -390,6 +420,16 @@
|
|
|
390
420
|
"key": "FEATURE_HOVER",
|
|
391
421
|
"name": "Feature Hover",
|
|
392
422
|
"payloadSchema": [
|
|
423
|
+
{
|
|
424
|
+
"name": "x",
|
|
425
|
+
"required": true,
|
|
426
|
+
"type": "number"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "y",
|
|
430
|
+
"required": true,
|
|
431
|
+
"type": "number"
|
|
432
|
+
},
|
|
393
433
|
{
|
|
394
434
|
"name": "feature",
|
|
395
435
|
"properties": [
|
|
@@ -445,8 +485,6 @@
|
|
|
445
485
|
"main",
|
|
446
486
|
{
|
|
447
487
|
"features": "@config.features",
|
|
448
|
-
"onTileClick": "FEATURE_CLICK",
|
|
449
|
-
"onTileHover": "FEATURE_HOVER",
|
|
450
488
|
"projection": "isometric",
|
|
451
489
|
"scale": "@config.cellSize",
|
|
452
490
|
"tileClickEvent": "FEATURE_CLICK",
|
|
@@ -466,4 +504,4 @@
|
|
|
466
504
|
}
|
|
467
505
|
],
|
|
468
506
|
"version": "1.0.0"
|
|
469
|
-
}
|
|
507
|
+
}
|
|
@@ -656,10 +656,6 @@
|
|
|
656
656
|
"description": "Emits UI:{playCardEvent} with {cardId} when the player plays a card from hand",
|
|
657
657
|
"event": "PLAY_CARD",
|
|
658
658
|
"payloadSchema": [
|
|
659
|
-
{
|
|
660
|
-
"name": "id",
|
|
661
|
-
"type": "string"
|
|
662
|
-
},
|
|
663
659
|
{
|
|
664
660
|
"name": "cardId",
|
|
665
661
|
"required": true,
|
|
@@ -734,10 +730,6 @@
|
|
|
734
730
|
"key": "PLAY_CARD",
|
|
735
731
|
"name": "Play Card",
|
|
736
732
|
"payloadSchema": [
|
|
737
|
-
{
|
|
738
|
-
"name": "id",
|
|
739
|
-
"type": "string"
|
|
740
|
-
},
|
|
741
733
|
{
|
|
742
734
|
"name": "cardId",
|
|
743
735
|
"required": true,
|
|
@@ -835,77 +827,19 @@
|
|
|
835
827
|
"render-ui",
|
|
836
828
|
"main",
|
|
837
829
|
{
|
|
838
|
-
"
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
"object/get",
|
|
852
|
-
"@c",
|
|
853
|
-
"iconKey"
|
|
854
|
-
]
|
|
855
|
-
],
|
|
856
|
-
"attack": [
|
|
857
|
-
"object/get",
|
|
858
|
-
"@c",
|
|
859
|
-
"attack"
|
|
860
|
-
],
|
|
861
|
-
"clickEvent": "PLAY_CARD",
|
|
862
|
-
"cost": [
|
|
863
|
-
"object/get",
|
|
864
|
-
"@c",
|
|
865
|
-
"cost"
|
|
866
|
-
],
|
|
867
|
-
"defense": [
|
|
868
|
-
"object/get",
|
|
869
|
-
"@c",
|
|
870
|
-
"defense"
|
|
871
|
-
],
|
|
872
|
-
"disabled": false,
|
|
873
|
-
"id": [
|
|
874
|
-
"object/get",
|
|
875
|
-
"@c",
|
|
876
|
-
"id"
|
|
877
|
-
],
|
|
878
|
-
"name": [
|
|
879
|
-
"object/get",
|
|
880
|
-
"@c",
|
|
881
|
-
"title"
|
|
882
|
-
],
|
|
883
|
-
"type": "game-card"
|
|
884
|
-
}
|
|
885
|
-
]
|
|
886
|
-
],
|
|
887
|
-
"gap": 2.0,
|
|
888
|
-
"type": "hstack"
|
|
889
|
-
}
|
|
890
|
-
],
|
|
891
|
-
"hud": {
|
|
892
|
-
"stats": [
|
|
893
|
-
{
|
|
894
|
-
"label": "Mana",
|
|
895
|
-
"value": "@entity.mana"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
"label": "Turn",
|
|
899
|
-
"value": "@entity.turn"
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
"label": "Result",
|
|
903
|
-
"value": "@entity.result"
|
|
904
|
-
}
|
|
905
|
-
],
|
|
906
|
-
"type": "game-hud"
|
|
907
|
-
},
|
|
908
|
-
"type": "game-shell"
|
|
830
|
+
"assetManifest": "@config.assetManifest",
|
|
831
|
+
"board": "@entity.board",
|
|
832
|
+
"deck": "@entity.deck",
|
|
833
|
+
"endTurnEvent": "END_TURN",
|
|
834
|
+
"gameEndEvent": "GAME_END",
|
|
835
|
+
"hand": "@entity.hand",
|
|
836
|
+
"mana": "@entity.mana",
|
|
837
|
+
"maxMana": "@entity.maxMana",
|
|
838
|
+
"playAgainEvent": "PLAY_AGAIN",
|
|
839
|
+
"playCardEvent": "PLAY_CARD",
|
|
840
|
+
"result": "@entity.result",
|
|
841
|
+
"turn": "@entity.turn",
|
|
842
|
+
"type": "card-battler-board"
|
|
909
843
|
}
|
|
910
844
|
]
|
|
911
845
|
],
|
|
@@ -988,77 +922,19 @@
|
|
|
988
922
|
"render-ui",
|
|
989
923
|
"main",
|
|
990
924
|
{
|
|
991
|
-
"
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
"object/get",
|
|
1005
|
-
"@c",
|
|
1006
|
-
"iconKey"
|
|
1007
|
-
]
|
|
1008
|
-
],
|
|
1009
|
-
"attack": [
|
|
1010
|
-
"object/get",
|
|
1011
|
-
"@c",
|
|
1012
|
-
"attack"
|
|
1013
|
-
],
|
|
1014
|
-
"clickEvent": "PLAY_CARD",
|
|
1015
|
-
"cost": [
|
|
1016
|
-
"object/get",
|
|
1017
|
-
"@c",
|
|
1018
|
-
"cost"
|
|
1019
|
-
],
|
|
1020
|
-
"defense": [
|
|
1021
|
-
"object/get",
|
|
1022
|
-
"@c",
|
|
1023
|
-
"defense"
|
|
1024
|
-
],
|
|
1025
|
-
"disabled": false,
|
|
1026
|
-
"id": [
|
|
1027
|
-
"object/get",
|
|
1028
|
-
"@c",
|
|
1029
|
-
"id"
|
|
1030
|
-
],
|
|
1031
|
-
"name": [
|
|
1032
|
-
"object/get",
|
|
1033
|
-
"@c",
|
|
1034
|
-
"title"
|
|
1035
|
-
],
|
|
1036
|
-
"type": "game-card"
|
|
1037
|
-
}
|
|
1038
|
-
]
|
|
1039
|
-
],
|
|
1040
|
-
"gap": 2.0,
|
|
1041
|
-
"type": "hstack"
|
|
1042
|
-
}
|
|
1043
|
-
],
|
|
1044
|
-
"hud": {
|
|
1045
|
-
"stats": [
|
|
1046
|
-
{
|
|
1047
|
-
"label": "Mana",
|
|
1048
|
-
"value": "@entity.mana"
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
"label": "Turn",
|
|
1052
|
-
"value": "@entity.turn"
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
"label": "Result",
|
|
1056
|
-
"value": "@entity.result"
|
|
1057
|
-
}
|
|
1058
|
-
],
|
|
1059
|
-
"type": "game-hud"
|
|
1060
|
-
},
|
|
1061
|
-
"type": "game-shell"
|
|
925
|
+
"assetManifest": "@config.assetManifest",
|
|
926
|
+
"board": "@entity.board",
|
|
927
|
+
"deck": "@entity.deck",
|
|
928
|
+
"endTurnEvent": "END_TURN",
|
|
929
|
+
"gameEndEvent": "GAME_END",
|
|
930
|
+
"hand": "@entity.hand",
|
|
931
|
+
"mana": "@entity.mana",
|
|
932
|
+
"maxMana": "@entity.maxMana",
|
|
933
|
+
"playAgainEvent": "PLAY_AGAIN",
|
|
934
|
+
"playCardEvent": "PLAY_CARD",
|
|
935
|
+
"result": "@entity.result",
|
|
936
|
+
"turn": "@entity.turn",
|
|
937
|
+
"type": "card-battler-board"
|
|
1062
938
|
}
|
|
1063
939
|
]
|
|
1064
940
|
],
|
|
@@ -1180,77 +1056,19 @@
|
|
|
1180
1056
|
"render-ui",
|
|
1181
1057
|
"main",
|
|
1182
1058
|
{
|
|
1183
|
-
"
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
"object/get",
|
|
1197
|
-
"@c",
|
|
1198
|
-
"iconKey"
|
|
1199
|
-
]
|
|
1200
|
-
],
|
|
1201
|
-
"attack": [
|
|
1202
|
-
"object/get",
|
|
1203
|
-
"@c",
|
|
1204
|
-
"attack"
|
|
1205
|
-
],
|
|
1206
|
-
"clickEvent": "PLAY_CARD",
|
|
1207
|
-
"cost": [
|
|
1208
|
-
"object/get",
|
|
1209
|
-
"@c",
|
|
1210
|
-
"cost"
|
|
1211
|
-
],
|
|
1212
|
-
"defense": [
|
|
1213
|
-
"object/get",
|
|
1214
|
-
"@c",
|
|
1215
|
-
"defense"
|
|
1216
|
-
],
|
|
1217
|
-
"disabled": false,
|
|
1218
|
-
"id": [
|
|
1219
|
-
"object/get",
|
|
1220
|
-
"@c",
|
|
1221
|
-
"id"
|
|
1222
|
-
],
|
|
1223
|
-
"name": [
|
|
1224
|
-
"object/get",
|
|
1225
|
-
"@c",
|
|
1226
|
-
"title"
|
|
1227
|
-
],
|
|
1228
|
-
"type": "game-card"
|
|
1229
|
-
}
|
|
1230
|
-
]
|
|
1231
|
-
],
|
|
1232
|
-
"gap": 2.0,
|
|
1233
|
-
"type": "hstack"
|
|
1234
|
-
}
|
|
1235
|
-
],
|
|
1236
|
-
"hud": {
|
|
1237
|
-
"stats": [
|
|
1238
|
-
{
|
|
1239
|
-
"label": "Mana",
|
|
1240
|
-
"value": "@entity.mana"
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
"label": "Turn",
|
|
1244
|
-
"value": "@entity.turn"
|
|
1245
|
-
},
|
|
1246
|
-
{
|
|
1247
|
-
"label": "Result",
|
|
1248
|
-
"value": "@entity.result"
|
|
1249
|
-
}
|
|
1250
|
-
],
|
|
1251
|
-
"type": "game-hud"
|
|
1252
|
-
},
|
|
1253
|
-
"type": "game-shell"
|
|
1059
|
+
"assetManifest": "@config.assetManifest",
|
|
1060
|
+
"board": "@entity.board",
|
|
1061
|
+
"deck": "@entity.deck",
|
|
1062
|
+
"endTurnEvent": "END_TURN",
|
|
1063
|
+
"gameEndEvent": "GAME_END",
|
|
1064
|
+
"hand": "@entity.hand",
|
|
1065
|
+
"mana": "@entity.mana",
|
|
1066
|
+
"maxMana": "@entity.maxMana",
|
|
1067
|
+
"playAgainEvent": "PLAY_AGAIN",
|
|
1068
|
+
"playCardEvent": "PLAY_CARD",
|
|
1069
|
+
"result": "@entity.result",
|
|
1070
|
+
"turn": "@entity.turn",
|
|
1071
|
+
"type": "card-battler-board"
|
|
1254
1072
|
}
|
|
1255
1073
|
]
|
|
1256
1074
|
],
|
|
@@ -1269,77 +1087,19 @@
|
|
|
1269
1087
|
"render-ui",
|
|
1270
1088
|
"main",
|
|
1271
1089
|
{
|
|
1272
|
-
"
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
"object/get",
|
|
1286
|
-
"@c",
|
|
1287
|
-
"iconKey"
|
|
1288
|
-
]
|
|
1289
|
-
],
|
|
1290
|
-
"attack": [
|
|
1291
|
-
"object/get",
|
|
1292
|
-
"@c",
|
|
1293
|
-
"attack"
|
|
1294
|
-
],
|
|
1295
|
-
"clickEvent": "PLAY_CARD",
|
|
1296
|
-
"cost": [
|
|
1297
|
-
"object/get",
|
|
1298
|
-
"@c",
|
|
1299
|
-
"cost"
|
|
1300
|
-
],
|
|
1301
|
-
"defense": [
|
|
1302
|
-
"object/get",
|
|
1303
|
-
"@c",
|
|
1304
|
-
"defense"
|
|
1305
|
-
],
|
|
1306
|
-
"disabled": true,
|
|
1307
|
-
"id": [
|
|
1308
|
-
"object/get",
|
|
1309
|
-
"@c",
|
|
1310
|
-
"id"
|
|
1311
|
-
],
|
|
1312
|
-
"name": [
|
|
1313
|
-
"object/get",
|
|
1314
|
-
"@c",
|
|
1315
|
-
"title"
|
|
1316
|
-
],
|
|
1317
|
-
"type": "game-card"
|
|
1318
|
-
}
|
|
1319
|
-
]
|
|
1320
|
-
],
|
|
1321
|
-
"gap": 2.0,
|
|
1322
|
-
"type": "hstack"
|
|
1323
|
-
}
|
|
1324
|
-
],
|
|
1325
|
-
"hud": {
|
|
1326
|
-
"stats": [
|
|
1327
|
-
{
|
|
1328
|
-
"label": "Mana",
|
|
1329
|
-
"value": "@entity.mana"
|
|
1330
|
-
},
|
|
1331
|
-
{
|
|
1332
|
-
"label": "Turn",
|
|
1333
|
-
"value": "@entity.turn"
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"label": "Result",
|
|
1337
|
-
"value": "@entity.result"
|
|
1338
|
-
}
|
|
1339
|
-
],
|
|
1340
|
-
"type": "game-hud"
|
|
1341
|
-
},
|
|
1342
|
-
"type": "game-shell"
|
|
1090
|
+
"assetManifest": "@config.assetManifest",
|
|
1091
|
+
"board": "@entity.board",
|
|
1092
|
+
"deck": "@entity.deck",
|
|
1093
|
+
"endTurnEvent": "END_TURN",
|
|
1094
|
+
"gameEndEvent": "GAME_END",
|
|
1095
|
+
"hand": "@entity.hand",
|
|
1096
|
+
"mana": "@entity.mana",
|
|
1097
|
+
"maxMana": "@entity.maxMana",
|
|
1098
|
+
"playAgainEvent": "PLAY_AGAIN",
|
|
1099
|
+
"playCardEvent": "PLAY_CARD",
|
|
1100
|
+
"result": "@entity.result",
|
|
1101
|
+
"turn": "@entity.turn",
|
|
1102
|
+
"type": "card-battler-board"
|
|
1343
1103
|
}
|
|
1344
1104
|
]
|
|
1345
1105
|
],
|
|
@@ -1401,77 +1161,19 @@
|
|
|
1401
1161
|
"render-ui",
|
|
1402
1162
|
"main",
|
|
1403
1163
|
{
|
|
1404
|
-
"
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
"object/get",
|
|
1418
|
-
"@c",
|
|
1419
|
-
"iconKey"
|
|
1420
|
-
]
|
|
1421
|
-
],
|
|
1422
|
-
"attack": [
|
|
1423
|
-
"object/get",
|
|
1424
|
-
"@c",
|
|
1425
|
-
"attack"
|
|
1426
|
-
],
|
|
1427
|
-
"clickEvent": "PLAY_CARD",
|
|
1428
|
-
"cost": [
|
|
1429
|
-
"object/get",
|
|
1430
|
-
"@c",
|
|
1431
|
-
"cost"
|
|
1432
|
-
],
|
|
1433
|
-
"defense": [
|
|
1434
|
-
"object/get",
|
|
1435
|
-
"@c",
|
|
1436
|
-
"defense"
|
|
1437
|
-
],
|
|
1438
|
-
"disabled": false,
|
|
1439
|
-
"id": [
|
|
1440
|
-
"object/get",
|
|
1441
|
-
"@c",
|
|
1442
|
-
"id"
|
|
1443
|
-
],
|
|
1444
|
-
"name": [
|
|
1445
|
-
"object/get",
|
|
1446
|
-
"@c",
|
|
1447
|
-
"title"
|
|
1448
|
-
],
|
|
1449
|
-
"type": "game-card"
|
|
1450
|
-
}
|
|
1451
|
-
]
|
|
1452
|
-
],
|
|
1453
|
-
"gap": 2.0,
|
|
1454
|
-
"type": "hstack"
|
|
1455
|
-
}
|
|
1456
|
-
],
|
|
1457
|
-
"hud": {
|
|
1458
|
-
"stats": [
|
|
1459
|
-
{
|
|
1460
|
-
"label": "Mana",
|
|
1461
|
-
"value": "@entity.mana"
|
|
1462
|
-
},
|
|
1463
|
-
{
|
|
1464
|
-
"label": "Turn",
|
|
1465
|
-
"value": "@entity.turn"
|
|
1466
|
-
},
|
|
1467
|
-
{
|
|
1468
|
-
"label": "Result",
|
|
1469
|
-
"value": "@entity.result"
|
|
1470
|
-
}
|
|
1471
|
-
],
|
|
1472
|
-
"type": "game-hud"
|
|
1473
|
-
},
|
|
1474
|
-
"type": "game-shell"
|
|
1164
|
+
"assetManifest": "@config.assetManifest",
|
|
1165
|
+
"board": "@entity.board",
|
|
1166
|
+
"deck": "@entity.deck",
|
|
1167
|
+
"endTurnEvent": "END_TURN",
|
|
1168
|
+
"gameEndEvent": "GAME_END",
|
|
1169
|
+
"hand": "@entity.hand",
|
|
1170
|
+
"mana": "@entity.mana",
|
|
1171
|
+
"maxMana": "@entity.maxMana",
|
|
1172
|
+
"playAgainEvent": "PLAY_AGAIN",
|
|
1173
|
+
"playCardEvent": "PLAY_CARD",
|
|
1174
|
+
"result": "@entity.result",
|
|
1175
|
+
"turn": "@entity.turn",
|
|
1176
|
+
"type": "card-battler-board"
|
|
1475
1177
|
}
|
|
1476
1178
|
]
|
|
1477
1179
|
],
|
|
@@ -1486,4 +1188,4 @@
|
|
|
1486
1188
|
}
|
|
1487
1189
|
],
|
|
1488
1190
|
"version": "1.0.0"
|
|
1489
|
-
}
|
|
1191
|
+
}
|