@almadar/std 16.201.0 → 16.202.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/lolo/ui/core/molecules/ui-command-palette.lolo +116 -0
- package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +2 -1
- package/behaviors/lolo/ui/game/atoms/std-audio-cue.lolo +138 -0
- package/behaviors/lolo/ui/game/atoms/std-camera-rig.lolo +158 -0
- package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +42 -0
- package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +42 -0
- package/behaviors/lolo/ui/game/atoms/ui-game-audio-cue.lolo +68 -0
- package/behaviors/lolo/ui/game/atoms/ui-game-audio-toggle.lolo +13 -0
- package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +1 -0
- package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +1 -0
- package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +1 -0
- package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +1 -0
- package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +7 -0
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +7 -0
- package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +1 -0
- package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +589 -0
- package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +13 -2
- package/behaviors/registry/ui/game/atoms/std-audio-cue.orb +653 -0
- package/behaviors/registry/ui/game/atoms/std-camera-rig.orb +813 -0
- package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +135 -0
- package/behaviors/registry/ui/game/atoms/ui-canvas.orb +134 -0
- package/behaviors/registry/ui/game/atoms/ui-game-audio-cue.orb +258 -0
- package/behaviors/registry/ui/game/atoms/ui-game-audio-toggle.orb +48 -0
- package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +9 -0
- package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +13 -0
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +13 -0
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +13 -0
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +21 -0
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +21 -0
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +13 -0
- package/dist/behaviors/exports-reader.js +3067 -2891
- package/dist/behaviors/functions/index.d.ts +407 -5
- package/dist/behaviors/functions/index.js +3048 -2884
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +3060 -2884
- package/dist/behaviors/query.js +3067 -2891
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +23 -7
- package/dist/behaviors-registry.json +2780 -391
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3060 -2884
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +2 -2
|
@@ -55,6 +55,24 @@
|
|
|
55
55
|
"parent": "trt_01M055GNYNDBSMRP68BDSWWFFG",
|
|
56
56
|
"renames": []
|
|
57
57
|
},
|
|
58
|
+
"evt_01M1M6SDSA6W1GZA9YZJR17DHX": {
|
|
59
|
+
"bakedName": "@config.onSelect",
|
|
60
|
+
"curName": "@config.onSelect",
|
|
61
|
+
"id": "evt_01M1M6SDSA6W1GZA9YZJR17DHX",
|
|
62
|
+
"kind": "event",
|
|
63
|
+
"owner": "workspace",
|
|
64
|
+
"parent": "trt_01M055GNYNDBSMRP68BDSWWFFG",
|
|
65
|
+
"renames": []
|
|
66
|
+
},
|
|
67
|
+
"evt_01M1M6SDSAXEXSM691C4WD5WP1": {
|
|
68
|
+
"bakedName": "@config.onMove",
|
|
69
|
+
"curName": "@config.onMove",
|
|
70
|
+
"id": "evt_01M1M6SDSAXEXSM691C4WD5WP1",
|
|
71
|
+
"kind": "event",
|
|
72
|
+
"owner": "workspace",
|
|
73
|
+
"parent": "trt_01M055GNYNDBSMRP68BDSWWFFG",
|
|
74
|
+
"renames": []
|
|
75
|
+
},
|
|
58
76
|
"orb_01M055GNYNB72EY2C3M49826C0": {
|
|
59
77
|
"bakedName": "Canvas2dOrbital",
|
|
60
78
|
"curName": "Canvas2dOrbital",
|
|
@@ -185,6 +203,13 @@
|
|
|
185
203
|
"tier": "presentation",
|
|
186
204
|
"type": "[node]"
|
|
187
205
|
},
|
|
206
|
+
"editable": {
|
|
207
|
+
"default": false,
|
|
208
|
+
"description": "--- Scene-edit mode (a game studio selecting/dragging drawables). Purely",
|
|
209
|
+
"label": "Editable",
|
|
210
|
+
"tier": "presentation",
|
|
211
|
+
"type": "boolean"
|
|
212
|
+
},
|
|
188
213
|
"error": {
|
|
189
214
|
"description": "Error state",
|
|
190
215
|
"label": "Error",
|
|
@@ -274,6 +299,27 @@
|
|
|
274
299
|
"tier": "presentation",
|
|
275
300
|
"type": "Map<string,string>"
|
|
276
301
|
},
|
|
302
|
+
"moveEvent": {
|
|
303
|
+
"default": "MOVE",
|
|
304
|
+
"description": "Declarative move event, `UI:{moveEvent} { id, x, y }` — fired once on drop.",
|
|
305
|
+
"label": "Move Event",
|
|
306
|
+
"tier": "presentation",
|
|
307
|
+
"type": "event"
|
|
308
|
+
},
|
|
309
|
+
"onMove": {
|
|
310
|
+
"default": "MOVE",
|
|
311
|
+
"description": "Fired once per drag gesture, on drop — before `moveEvent`.",
|
|
312
|
+
"label": "On Move",
|
|
313
|
+
"tier": "presentation",
|
|
314
|
+
"type": "event"
|
|
315
|
+
},
|
|
316
|
+
"onSelect": {
|
|
317
|
+
"default": "SELECT",
|
|
318
|
+
"description": "Fired on a click that changes selection — before `selectEvent`.",
|
|
319
|
+
"label": "On Select",
|
|
320
|
+
"tier": "presentation",
|
|
321
|
+
"type": "event"
|
|
322
|
+
},
|
|
277
323
|
"projection": {
|
|
278
324
|
"default": "isometric",
|
|
279
325
|
"description": "--- Projection ---",
|
|
@@ -295,6 +341,19 @@
|
|
|
295
341
|
"tier": "presentation",
|
|
296
342
|
"type": "number"
|
|
297
343
|
},
|
|
344
|
+
"selectEvent": {
|
|
345
|
+
"default": "SELECT",
|
|
346
|
+
"description": "Declarative selection event, `UI:{selectEvent} { id }`.",
|
|
347
|
+
"label": "Select Event",
|
|
348
|
+
"tier": "presentation",
|
|
349
|
+
"type": "event"
|
|
350
|
+
},
|
|
351
|
+
"selectedId": {
|
|
352
|
+
"description": "The currently-selected drawable id (controlled); `null`/undefined = none.",
|
|
353
|
+
"label": "Selected Id",
|
|
354
|
+
"tier": "presentation",
|
|
355
|
+
"type": "string"
|
|
356
|
+
},
|
|
298
357
|
"showMinimap": {
|
|
299
358
|
"default": true,
|
|
300
359
|
"description": "Toggle minimap overlay.",
|
|
@@ -400,6 +459,42 @@
|
|
|
400
459
|
"eventId": "evt_01M055GNYPQZ509HNQSND656XT",
|
|
401
460
|
"scope": "external",
|
|
402
461
|
"tier": "essential"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"definerKnob": "onSelect",
|
|
465
|
+
"description": "Fired on a click that changes selection — before `selectEvent`.",
|
|
466
|
+
"event": "@config.onSelect",
|
|
467
|
+
"eventId": "evt_01M1M6SDSA6W1GZA9YZJR17DHX",
|
|
468
|
+
"payloadSchema": [
|
|
469
|
+
{
|
|
470
|
+
"name": "id",
|
|
471
|
+
"type": "string"
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"scope": "external",
|
|
475
|
+
"tier": "essential"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"definerKnob": "onMove",
|
|
479
|
+
"description": "Fired once per drag gesture, on drop — before `moveEvent`.",
|
|
480
|
+
"event": "@config.onMove",
|
|
481
|
+
"eventId": "evt_01M1M6SDSAXEXSM691C4WD5WP1",
|
|
482
|
+
"payloadSchema": [
|
|
483
|
+
{
|
|
484
|
+
"name": "id",
|
|
485
|
+
"type": "string"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "x",
|
|
489
|
+
"type": "number"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "y",
|
|
493
|
+
"type": "number"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"scope": "external",
|
|
497
|
+
"tier": "essential"
|
|
403
498
|
}
|
|
404
499
|
],
|
|
405
500
|
"entityContract": {
|
|
@@ -480,6 +575,40 @@
|
|
|
480
575
|
"key": "@config.tileLeaveEvent",
|
|
481
576
|
"name": "@config.tile leave event",
|
|
482
577
|
"tier": "essential"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"description": "Fired on a click that changes selection — before `selectEvent`.",
|
|
581
|
+
"id": "evt_01M1M6SDSA6W1GZA9YZJR17DHX",
|
|
582
|
+
"key": "@config.onSelect",
|
|
583
|
+
"name": "@config.on select",
|
|
584
|
+
"payloadSchema": [
|
|
585
|
+
{
|
|
586
|
+
"name": "id",
|
|
587
|
+
"type": "string"
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
"tier": "essential"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"description": "Fired once per drag gesture, on drop — before `moveEvent`.",
|
|
594
|
+
"id": "evt_01M1M6SDSAXEXSM691C4WD5WP1",
|
|
595
|
+
"key": "@config.onMove",
|
|
596
|
+
"name": "@config.on move",
|
|
597
|
+
"payloadSchema": [
|
|
598
|
+
{
|
|
599
|
+
"name": "id",
|
|
600
|
+
"type": "string"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "x",
|
|
604
|
+
"type": "number"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"name": "y",
|
|
608
|
+
"type": "number"
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
"tier": "essential"
|
|
483
612
|
}
|
|
484
613
|
],
|
|
485
614
|
"states": [
|
|
@@ -502,14 +631,20 @@
|
|
|
502
631
|
"children": "@config.children",
|
|
503
632
|
"className": "@config.className",
|
|
504
633
|
"drawables": "@config.drawables",
|
|
634
|
+
"editable": "@config.editable",
|
|
505
635
|
"error": "@config.error",
|
|
506
636
|
"fit": "@config.fit",
|
|
507
637
|
"followTarget": "@config.followTarget",
|
|
508
638
|
"isLoading": "@config.isLoading",
|
|
509
639
|
"keyMap": "@config.keyMap",
|
|
510
640
|
"keyUpMap": "@config.keyUpMap",
|
|
641
|
+
"moveEvent": "@config.moveEvent",
|
|
642
|
+
"onMove": "@config.onMove",
|
|
643
|
+
"onSelect": "@config.onSelect",
|
|
511
644
|
"projection": "@config.projection",
|
|
512
645
|
"scale": "@config.scale",
|
|
646
|
+
"selectEvent": "@config.selectEvent",
|
|
647
|
+
"selectedId": "@config.selectedId",
|
|
513
648
|
"showMinimap": "@config.showMinimap",
|
|
514
649
|
"tileClickEvent": "@config.tileClickEvent",
|
|
515
650
|
"tileHoverEvent": "@config.tileHoverEvent",
|
|
@@ -64,6 +64,24 @@
|
|
|
64
64
|
"parent": "trt_01M055GNZBYF6V29GQASHPYTJ3",
|
|
65
65
|
"renames": []
|
|
66
66
|
},
|
|
67
|
+
"evt_01M1M6SDSRE5Q4V2Z05HN5VR38": {
|
|
68
|
+
"bakedName": "@config.onSelect",
|
|
69
|
+
"curName": "@config.onSelect",
|
|
70
|
+
"id": "evt_01M1M6SDSRE5Q4V2Z05HN5VR38",
|
|
71
|
+
"kind": "event",
|
|
72
|
+
"owner": "workspace",
|
|
73
|
+
"parent": "trt_01M055GNZBYF6V29GQASHPYTJ3",
|
|
74
|
+
"renames": []
|
|
75
|
+
},
|
|
76
|
+
"evt_01M1M6SDSREJ1C37CFD3JB8Y1T": {
|
|
77
|
+
"bakedName": "@config.onMove",
|
|
78
|
+
"curName": "@config.onMove",
|
|
79
|
+
"id": "evt_01M1M6SDSREJ1C37CFD3JB8Y1T",
|
|
80
|
+
"kind": "event",
|
|
81
|
+
"owner": "workspace",
|
|
82
|
+
"parent": "trt_01M055GNZBYF6V29GQASHPYTJ3",
|
|
83
|
+
"renames": []
|
|
84
|
+
},
|
|
67
85
|
"orb_01M055GNZBJ6RE4D91MS5SX557": {
|
|
68
86
|
"bakedName": "CanvasOrbital",
|
|
69
87
|
"curName": "CanvasOrbital",
|
|
@@ -244,6 +262,12 @@
|
|
|
244
262
|
"tier": "presentation",
|
|
245
263
|
"type": "[node]"
|
|
246
264
|
},
|
|
265
|
+
"editable": {
|
|
266
|
+
"description": "--- Scene-edit mode (a game studio selecting/dragging drawables). Purely",
|
|
267
|
+
"label": "Editable",
|
|
268
|
+
"tier": "presentation",
|
|
269
|
+
"type": "boolean"
|
|
270
|
+
},
|
|
247
271
|
"featureClickEvent": {
|
|
248
272
|
"default": "FEATURE_CLICK",
|
|
249
273
|
"description": "Feature-click event (3D only).",
|
|
@@ -447,6 +471,27 @@
|
|
|
447
471
|
"3d"
|
|
448
472
|
]
|
|
449
473
|
},
|
|
474
|
+
"moveEvent": {
|
|
475
|
+
"default": "MOVE",
|
|
476
|
+
"description": "Declarative move event, `UI:{moveEvent} { id, x, y }` — fired once on drop.",
|
|
477
|
+
"label": "Move Event",
|
|
478
|
+
"tier": "presentation",
|
|
479
|
+
"type": "event"
|
|
480
|
+
},
|
|
481
|
+
"onMove": {
|
|
482
|
+
"default": "MOVE",
|
|
483
|
+
"description": "Fired once per drag gesture, on drop — before `moveEvent`.",
|
|
484
|
+
"label": "On Move",
|
|
485
|
+
"tier": "presentation",
|
|
486
|
+
"type": "event"
|
|
487
|
+
},
|
|
488
|
+
"onSelect": {
|
|
489
|
+
"default": "SELECT",
|
|
490
|
+
"description": "Fired on a click that changes selection — before `selectEvent`.",
|
|
491
|
+
"label": "On Select",
|
|
492
|
+
"tier": "presentation",
|
|
493
|
+
"type": "event"
|
|
494
|
+
},
|
|
450
495
|
"pixelsPerUnit": {
|
|
451
496
|
"description": "3D world-unit → pixel scale (perspective/side depth). 3D only.",
|
|
452
497
|
"label": "Pixels Per Unit",
|
|
@@ -514,6 +559,19 @@
|
|
|
514
559
|
"side"
|
|
515
560
|
]
|
|
516
561
|
},
|
|
562
|
+
"selectEvent": {
|
|
563
|
+
"default": "SELECT",
|
|
564
|
+
"description": "Declarative selection event, `UI:{selectEvent} { id }`.",
|
|
565
|
+
"label": "Select Event",
|
|
566
|
+
"tier": "presentation",
|
|
567
|
+
"type": "event"
|
|
568
|
+
},
|
|
569
|
+
"selectedId": {
|
|
570
|
+
"description": "The currently-selected drawable id (controlled); `null`/undefined = none.",
|
|
571
|
+
"label": "Selected Id",
|
|
572
|
+
"tier": "presentation",
|
|
573
|
+
"type": "string"
|
|
574
|
+
},
|
|
517
575
|
"shadows": {
|
|
518
576
|
"description": "shadows prop",
|
|
519
577
|
"label": "Shadows",
|
|
@@ -708,6 +766,42 @@
|
|
|
708
766
|
],
|
|
709
767
|
"scope": "external",
|
|
710
768
|
"tier": "essential"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"definerKnob": "onSelect",
|
|
772
|
+
"description": "Fired on a click that changes selection — before `selectEvent`.",
|
|
773
|
+
"event": "@config.onSelect",
|
|
774
|
+
"eventId": "evt_01M1M6SDSRE5Q4V2Z05HN5VR38",
|
|
775
|
+
"payloadSchema": [
|
|
776
|
+
{
|
|
777
|
+
"name": "id",
|
|
778
|
+
"type": "string"
|
|
779
|
+
}
|
|
780
|
+
],
|
|
781
|
+
"scope": "external",
|
|
782
|
+
"tier": "essential"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"definerKnob": "onMove",
|
|
786
|
+
"description": "Fired once per drag gesture, on drop — before `moveEvent`.",
|
|
787
|
+
"event": "@config.onMove",
|
|
788
|
+
"eventId": "evt_01M1M6SDSREJ1C37CFD3JB8Y1T",
|
|
789
|
+
"payloadSchema": [
|
|
790
|
+
{
|
|
791
|
+
"name": "id",
|
|
792
|
+
"type": "string"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "x",
|
|
796
|
+
"type": "number"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"name": "y",
|
|
800
|
+
"type": "number"
|
|
801
|
+
}
|
|
802
|
+
],
|
|
803
|
+
"scope": "external",
|
|
804
|
+
"tier": "essential"
|
|
711
805
|
}
|
|
712
806
|
],
|
|
713
807
|
"entityContract": {
|
|
@@ -835,6 +929,40 @@
|
|
|
835
929
|
}
|
|
836
930
|
],
|
|
837
931
|
"tier": "essential"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"description": "Fired on a click that changes selection — before `selectEvent`.",
|
|
935
|
+
"id": "evt_01M1M6SDSRE5Q4V2Z05HN5VR38",
|
|
936
|
+
"key": "@config.onSelect",
|
|
937
|
+
"name": "@config.on select",
|
|
938
|
+
"payloadSchema": [
|
|
939
|
+
{
|
|
940
|
+
"name": "id",
|
|
941
|
+
"type": "string"
|
|
942
|
+
}
|
|
943
|
+
],
|
|
944
|
+
"tier": "essential"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"description": "Fired once per drag gesture, on drop — before `moveEvent`.",
|
|
948
|
+
"id": "evt_01M1M6SDSREJ1C37CFD3JB8Y1T",
|
|
949
|
+
"key": "@config.onMove",
|
|
950
|
+
"name": "@config.on move",
|
|
951
|
+
"payloadSchema": [
|
|
952
|
+
{
|
|
953
|
+
"name": "id",
|
|
954
|
+
"type": "string"
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"name": "x",
|
|
958
|
+
"type": "number"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "y",
|
|
962
|
+
"type": "number"
|
|
963
|
+
}
|
|
964
|
+
],
|
|
965
|
+
"tier": "essential"
|
|
838
966
|
}
|
|
839
967
|
],
|
|
840
968
|
"states": [
|
|
@@ -856,6 +984,7 @@
|
|
|
856
984
|
"children": "@config.children",
|
|
857
985
|
"className": "@config.className",
|
|
858
986
|
"drawables": "@config.drawables",
|
|
987
|
+
"editable": "@config.editable",
|
|
859
988
|
"featureClickEvent": "@config.featureClickEvent",
|
|
860
989
|
"fit": "@config.fit",
|
|
861
990
|
"fogOfWar": "@config.fogOfWar",
|
|
@@ -864,9 +993,14 @@
|
|
|
864
993
|
"keyUpMap": "@config.keyUpMap",
|
|
865
994
|
"lighting": "@config.lighting",
|
|
866
995
|
"mode": "@config.mode",
|
|
996
|
+
"moveEvent": "@config.moveEvent",
|
|
997
|
+
"onMove": "@config.onMove",
|
|
998
|
+
"onSelect": "@config.onSelect",
|
|
867
999
|
"pixelsPerUnit": "@config.pixelsPerUnit",
|
|
868
1000
|
"post": "@config.post",
|
|
869
1001
|
"projection": "@config.projection",
|
|
1002
|
+
"selectEvent": "@config.selectEvent",
|
|
1003
|
+
"selectedId": "@config.selectedId",
|
|
870
1004
|
"shadows": "@config.shadows",
|
|
871
1005
|
"showCoordinates": "@config.showCoordinates",
|
|
872
1006
|
"showGrid": "@config.showGrid",
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "GameAudioCue — UI factory (1:1 with the @almadar/ui game-audio-cue pattern).",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01M1M6XD9Q0XN6S9N4DB4JK5DR": {
|
|
6
|
+
"bakedName": "GameAudioCueItem",
|
|
7
|
+
"curName": "GameAudioCueItem",
|
|
8
|
+
"id": "ent_01M1M6XD9Q0XN6S9N4DB4JK5DR",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01M1M6XD9Q63KRQBAT3KWGAXK0": {
|
|
14
|
+
"bakedName": "INIT",
|
|
15
|
+
"curName": "INIT",
|
|
16
|
+
"id": "evt_01M1M6XD9Q63KRQBAT3KWGAXK0",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01M1M6XD9QYB8Y5A3RVE2R6A4Z",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"orb_01M1M6XD9Q3YWGEKVXZTCB28ZQ": {
|
|
23
|
+
"bakedName": "GameAudioCueOrbital",
|
|
24
|
+
"curName": "GameAudioCueOrbital",
|
|
25
|
+
"id": "orb_01M1M6XD9Q3YWGEKVXZTCB28ZQ",
|
|
26
|
+
"kind": "orbital",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"renames": []
|
|
29
|
+
},
|
|
30
|
+
"pag_01M1M6XD9Q4H97NNA0WX368CHA": {
|
|
31
|
+
"bakedName": "GameAudioCuePage",
|
|
32
|
+
"curName": "GameAudioCuePage",
|
|
33
|
+
"id": "pag_01M1M6XD9Q4H97NNA0WX368CHA",
|
|
34
|
+
"kind": "page",
|
|
35
|
+
"owner": "workspace",
|
|
36
|
+
"renames": []
|
|
37
|
+
},
|
|
38
|
+
"trt_01M1M6XD9QYB8Y5A3RVE2R6A4Z": {
|
|
39
|
+
"bakedName": "GameAudioCueRender",
|
|
40
|
+
"curName": "GameAudioCueRender",
|
|
41
|
+
"id": "trt_01M1M6XD9QYB8Y5A3RVE2R6A4Z",
|
|
42
|
+
"kind": "trait",
|
|
43
|
+
"owner": "workspace",
|
|
44
|
+
"renames": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"schemaVersion": 1
|
|
48
|
+
},
|
|
49
|
+
"name": "ui-game-audio-cue",
|
|
50
|
+
"orbitals": [
|
|
51
|
+
{
|
|
52
|
+
"entity": {
|
|
53
|
+
"fields": [
|
|
54
|
+
{
|
|
55
|
+
"name": "id",
|
|
56
|
+
"required": true,
|
|
57
|
+
"type": "string"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"id": "ent_01M1M6XD9Q0XN6S9N4DB4JK5DR",
|
|
61
|
+
"name": "GameAudioCueItem",
|
|
62
|
+
"persistence": "runtime"
|
|
63
|
+
},
|
|
64
|
+
"id": "orb_01M1M6XD9Q3YWGEKVXZTCB28ZQ",
|
|
65
|
+
"name": "GameAudioCueOrbital",
|
|
66
|
+
"pages": [
|
|
67
|
+
{
|
|
68
|
+
"id": "pag_01M1M6XD9Q4H97NNA0WX368CHA",
|
|
69
|
+
"name": "GameAudioCuePage",
|
|
70
|
+
"path": "/game-audio-cue",
|
|
71
|
+
"traits": [
|
|
72
|
+
{
|
|
73
|
+
"ref": "GameAudioCueRender",
|
|
74
|
+
"refId": "trt_01M1M6XD9QYB8Y5A3RVE2R6A4Z"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"traits": [
|
|
80
|
+
{
|
|
81
|
+
"category": "interaction",
|
|
82
|
+
"config": {
|
|
83
|
+
"baseUrl": {
|
|
84
|
+
"description": "Base URL prepended to every manifest path.",
|
|
85
|
+
"label": "Base Url",
|
|
86
|
+
"tier": "presentation",
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"cue": {
|
|
90
|
+
"description": "Manifest key played as a one-shot SFX each time `cueSeq` advances.",
|
|
91
|
+
"label": "Cue",
|
|
92
|
+
"tier": "presentation",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"cueSeq": {
|
|
96
|
+
"description": "Monotonically increasing counter — bumping it re-triggers `cue`.",
|
|
97
|
+
"label": "Cue Seq",
|
|
98
|
+
"tier": "presentation",
|
|
99
|
+
"type": "number"
|
|
100
|
+
},
|
|
101
|
+
"manifest": {
|
|
102
|
+
"default": {},
|
|
103
|
+
"description": "Sound manifest — keys mapped to sound definitions (path, volume, loop, ...).",
|
|
104
|
+
"items": {
|
|
105
|
+
"properties": {
|
|
106
|
+
"autostart": {
|
|
107
|
+
"name": "autostart",
|
|
108
|
+
"required": false,
|
|
109
|
+
"type": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"crossfade": {
|
|
112
|
+
"name": "crossfade",
|
|
113
|
+
"required": false,
|
|
114
|
+
"type": "boolean"
|
|
115
|
+
},
|
|
116
|
+
"crossfadeDurationMs": {
|
|
117
|
+
"name": "crossfadeDurationMs",
|
|
118
|
+
"required": false,
|
|
119
|
+
"type": "number"
|
|
120
|
+
},
|
|
121
|
+
"loop": {
|
|
122
|
+
"name": "loop",
|
|
123
|
+
"required": false,
|
|
124
|
+
"type": "boolean"
|
|
125
|
+
},
|
|
126
|
+
"path": {
|
|
127
|
+
"name": "path",
|
|
128
|
+
"required": true,
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
"poolSize": {
|
|
132
|
+
"name": "poolSize",
|
|
133
|
+
"required": false,
|
|
134
|
+
"type": "number"
|
|
135
|
+
},
|
|
136
|
+
"volume": {
|
|
137
|
+
"name": "volume",
|
|
138
|
+
"required": false,
|
|
139
|
+
"type": "number"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"type": "object"
|
|
143
|
+
},
|
|
144
|
+
"label": "Manifest",
|
|
145
|
+
"tier": "presentation",
|
|
146
|
+
"type": "Map<string,GameAudioCueManifestValue>"
|
|
147
|
+
},
|
|
148
|
+
"music": {
|
|
149
|
+
"description": "Manifest key to crossfade to as looping background music; unset/empty stops music.",
|
|
150
|
+
"label": "Music",
|
|
151
|
+
"tier": "presentation",
|
|
152
|
+
"type": "string"
|
|
153
|
+
},
|
|
154
|
+
"muted": {
|
|
155
|
+
"description": "Muted state, owned externally and mirrored into the hook.",
|
|
156
|
+
"label": "Muted",
|
|
157
|
+
"tier": "presentation",
|
|
158
|
+
"type": "boolean"
|
|
159
|
+
},
|
|
160
|
+
"volume": {
|
|
161
|
+
"description": "Master volume 0-1, owned externally and mirrored into the hook.",
|
|
162
|
+
"label": "Volume",
|
|
163
|
+
"tier": "presentation",
|
|
164
|
+
"type": "number"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"entityContract": {
|
|
168
|
+
"provides": [],
|
|
169
|
+
"requires": []
|
|
170
|
+
},
|
|
171
|
+
"entityRebindable": true,
|
|
172
|
+
"entityRefIds": {
|
|
173
|
+
"GameAudioCueItem": "ent_01M1M6XD9Q0XN6S9N4DB4JK5DR"
|
|
174
|
+
},
|
|
175
|
+
"id": "trt_01M1M6XD9QYB8Y5A3RVE2R6A4Z",
|
|
176
|
+
"linkedEntity": "GameAudioCueItem",
|
|
177
|
+
"linkedEntityId": "ent_01M1M6XD9Q0XN6S9N4DB4JK5DR",
|
|
178
|
+
"name": "GameAudioCueRender",
|
|
179
|
+
"scope": "instance",
|
|
180
|
+
"stateMachine": {
|
|
181
|
+
"events": [
|
|
182
|
+
{
|
|
183
|
+
"id": "evt_01M1M6XD9Q63KRQBAT3KWGAXK0",
|
|
184
|
+
"key": "INIT",
|
|
185
|
+
"name": "Initialize"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"states": [
|
|
189
|
+
{
|
|
190
|
+
"isInitial": true,
|
|
191
|
+
"name": "idle"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"transitions": [
|
|
195
|
+
{
|
|
196
|
+
"effects": [
|
|
197
|
+
[
|
|
198
|
+
"render-ui",
|
|
199
|
+
"main",
|
|
200
|
+
{
|
|
201
|
+
"baseUrl": "@config.baseUrl",
|
|
202
|
+
"cue": "@config.cue",
|
|
203
|
+
"cueSeq": "@config.cueSeq",
|
|
204
|
+
"manifest": "@config.manifest",
|
|
205
|
+
"music": "@config.music",
|
|
206
|
+
"muted": "@config.muted",
|
|
207
|
+
"type": "game-audio-cue",
|
|
208
|
+
"volume": "@config.volume"
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
],
|
|
212
|
+
"event": "INIT",
|
|
213
|
+
"eventId": "evt_01M1M6XD9Q63KRQBAT3KWGAXK0",
|
|
214
|
+
"from": "idle",
|
|
215
|
+
"to": "idle"
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"types": {
|
|
222
|
+
"GameAudioCueManifestValue": [
|
|
223
|
+
{
|
|
224
|
+
"name": "path",
|
|
225
|
+
"required": true,
|
|
226
|
+
"type": "string"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "volume",
|
|
230
|
+
"type": "number"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "loop",
|
|
234
|
+
"type": "boolean"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "poolSize",
|
|
238
|
+
"type": "number"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "autostart",
|
|
242
|
+
"type": "boolean"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "crossfade",
|
|
246
|
+
"type": "boolean"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "crossfadeDurationMs",
|
|
250
|
+
"type": "number"
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"schemaVersion": 1,
|
|
257
|
+
"version": "1.0.0"
|
|
258
|
+
}
|