@almadar/std 16.103.0 → 16.103.1
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/atoms/ui-dialogue-bubble.orb +22 -0
- package/behaviors/registry/ui/game/2d/atoms/ui-game-card.orb +14 -0
- package/behaviors/registry/ui/game/2d/molecules/ui-canvas-2d.orb +8 -0
- package/behaviors/registry/ui/game/2d/organisms/ui-battle-board.orb +0 -24
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +38 -0
- package/behaviors/registry/ui/learning/molecules/ui-biology-canvas.orb +48 -0
- package/behaviors/registry/ui/learning/molecules/ui-chemistry-canvas.orb +53 -0
- package/behaviors/registry/ui/learning/molecules/ui-math-canvas.orb +59 -0
- package/behaviors/registry/ui/learning/molecules/ui-physics-canvas.orb +52 -0
- package/dist/behaviors/registry/ui/game/2d/atoms/ui-dialogue-bubble.orb +22 -0
- package/dist/behaviors/registry/ui/game/2d/atoms/ui-game-card.orb +14 -0
- package/dist/behaviors/registry/ui/game/2d/molecules/ui-canvas-2d.orb +8 -0
- package/dist/behaviors/registry/ui/game/2d/organisms/ui-battle-board.orb +0 -24
- package/dist/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +38 -0
- package/dist/behaviors/registry/ui/learning/molecules/ui-biology-canvas.orb +48 -0
- package/dist/behaviors/registry/ui/learning/molecules/ui-chemistry-canvas.orb +53 -0
- package/dist/behaviors/registry/ui/learning/molecules/ui-math-canvas.orb +59 -0
- package/dist/behaviors/registry/ui/learning/molecules/ui-physics-canvas.orb +52 -0
- package/dist/registry/ui/game/2d/atoms/ui-dialogue-bubble.orb +22 -0
- package/dist/registry/ui/game/2d/atoms/ui-game-card.orb +14 -0
- package/dist/registry/ui/game/2d/molecules/ui-canvas-2d.orb +8 -0
- package/dist/registry/ui/game/2d/organisms/ui-battle-board.orb +0 -24
- package/dist/registry/ui/learning/atoms/ui-learning-canvas.orb +38 -0
- package/dist/registry/ui/learning/molecules/ui-biology-canvas.orb +48 -0
- package/dist/registry/ui/learning/molecules/ui-chemistry-canvas.orb +53 -0
- package/dist/registry/ui/learning/molecules/ui-math-canvas.orb +59 -0
- package/dist/registry/ui/learning/molecules/ui-physics-canvas.orb +52 -0
- package/package.json +1 -1
|
@@ -37,6 +37,19 @@
|
|
|
37
37
|
"tier": "presentation",
|
|
38
38
|
"type": "string"
|
|
39
39
|
},
|
|
40
|
+
"mood": {
|
|
41
|
+
"default": "neutral",
|
|
42
|
+
"description": "Speaker mood — drives a portrait-ring accent; LOLO sets this per dialogue node/transition.",
|
|
43
|
+
"label": "Mood",
|
|
44
|
+
"tier": "presentation",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"values": [
|
|
47
|
+
"neutral",
|
|
48
|
+
"happy",
|
|
49
|
+
"concerned",
|
|
50
|
+
"angry"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
40
53
|
"portrait": {
|
|
41
54
|
"default": {
|
|
42
55
|
"animations": [
|
|
@@ -121,6 +134,13 @@
|
|
|
121
134
|
"bottom"
|
|
122
135
|
]
|
|
123
136
|
},
|
|
137
|
+
"revealedChars": {
|
|
138
|
+
"default": 0.0,
|
|
139
|
+
"description": "Number of `text` characters to reveal (typewriter effect). Omit to show the full string — LOLO drives this from `@entity.revealedChars` via a tick, incrementing it until it reaches `text.length`.",
|
|
140
|
+
"label": "Revealed Chars",
|
|
141
|
+
"tier": "presentation",
|
|
142
|
+
"type": "number"
|
|
143
|
+
},
|
|
124
144
|
"speaker": {
|
|
125
145
|
"default": "Hero",
|
|
126
146
|
"description": "Speaker name displayed at the top",
|
|
@@ -165,8 +185,10 @@
|
|
|
165
185
|
"main",
|
|
166
186
|
{
|
|
167
187
|
"className": "@config.className",
|
|
188
|
+
"mood": "@config.mood",
|
|
168
189
|
"portrait": "@config.portrait",
|
|
169
190
|
"position": "@config.position",
|
|
191
|
+
"revealedChars": "@config.revealedChars",
|
|
170
192
|
"speaker": "@config.speaker",
|
|
171
193
|
"text": "@config.text",
|
|
172
194
|
"type": "dialogue-bubble"
|
|
@@ -30,6 +30,19 @@
|
|
|
30
30
|
{
|
|
31
31
|
"category": "interaction",
|
|
32
32
|
"config": {
|
|
33
|
+
"animState": {
|
|
34
|
+
"default": "idle",
|
|
35
|
+
"description": "One-shot pose LOLO drives on a transition (`DRAW`/`PLAY`), auto-reverted to `'idle'` by a short tick — same idiom as `HealthBar.animated`, plain CSS transform driven off a prop, no internal timer here.",
|
|
36
|
+
"label": "Anim State",
|
|
37
|
+
"tier": "presentation",
|
|
38
|
+
"type": "string",
|
|
39
|
+
"values": [
|
|
40
|
+
"idle",
|
|
41
|
+
"drawn",
|
|
42
|
+
"played",
|
|
43
|
+
"flipped"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
33
46
|
"art": {
|
|
34
47
|
"default": {
|
|
35
48
|
"animations": [
|
|
@@ -302,6 +315,7 @@
|
|
|
302
315
|
"render-ui",
|
|
303
316
|
"main",
|
|
304
317
|
{
|
|
318
|
+
"animState": "@config.animState",
|
|
305
319
|
"art": "@config.art",
|
|
306
320
|
"attack": "@config.attack",
|
|
307
321
|
"className": "@config.className",
|
|
@@ -687,6 +687,13 @@
|
|
|
687
687
|
"tier": "presentation",
|
|
688
688
|
"type": "Canvas2dHoveredTile"
|
|
689
689
|
},
|
|
690
|
+
"interpolateUnits": {
|
|
691
|
+
"default": false,
|
|
692
|
+
"description": "Opt-in: smooth-interpolate unit positions between LOLO tick snapshots via a `requestAnimationFrame` loop (same fixed-timestep technique `SideView` already uses for the player), instead of the default tick-rate-cadence redraw. DEFAULT OFF — for continuous-movement boards only; tile-snapped boards see no behavior change.",
|
|
693
|
+
"label": "Interpolate Units",
|
|
694
|
+
"tier": "presentation",
|
|
695
|
+
"type": "boolean"
|
|
696
|
+
},
|
|
690
697
|
"isLoading": {
|
|
691
698
|
"default": false,
|
|
692
699
|
"description": "Loading state indicator",
|
|
@@ -1255,6 +1262,7 @@
|
|
|
1255
1262
|
"error": "@config.error",
|
|
1256
1263
|
"features": "@config.features",
|
|
1257
1264
|
"hoveredTile": "@config.hoveredTile",
|
|
1265
|
+
"interpolateUnits": "@config.interpolateUnits",
|
|
1258
1266
|
"isLoading": "@config.isLoading",
|
|
1259
1267
|
"keyMap": "@config.keyMap",
|
|
1260
1268
|
"keyUpMap": "@config.keyUpMap",
|
|
@@ -7207,14 +7207,12 @@
|
|
|
7207
7207
|
"children": [
|
|
7208
7208
|
{
|
|
7209
7209
|
"assetManifest": "@config.assetManifest",
|
|
7210
|
-
"damageNumbers": "@entity.effects",
|
|
7211
7210
|
"effects": "@entity.effects",
|
|
7212
7211
|
"features": "@config.features",
|
|
7213
7212
|
"projection": "isometric",
|
|
7214
7213
|
"scale": "@config.scale",
|
|
7215
7214
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
7216
7215
|
"showMinimap": true,
|
|
7217
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
7218
7216
|
"tileClickEvent": "TILE_CLICK",
|
|
7219
7217
|
"tiles": "@config.tiles",
|
|
7220
7218
|
"type": "canvas-2d",
|
|
@@ -7445,14 +7443,12 @@
|
|
|
7445
7443
|
"children": [
|
|
7446
7444
|
{
|
|
7447
7445
|
"assetManifest": "@config.assetManifest",
|
|
7448
|
-
"damageNumbers": "@entity.effects",
|
|
7449
7446
|
"effects": "@entity.effects",
|
|
7450
7447
|
"features": "@config.features",
|
|
7451
7448
|
"projection": "isometric",
|
|
7452
7449
|
"scale": "@config.scale",
|
|
7453
7450
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
7454
7451
|
"showMinimap": true,
|
|
7455
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
7456
7452
|
"tileClickEvent": "TILE_CLICK",
|
|
7457
7453
|
"tiles": "@config.tiles",
|
|
7458
7454
|
"type": "canvas-2d",
|
|
@@ -7613,14 +7609,12 @@
|
|
|
7613
7609
|
"children": [
|
|
7614
7610
|
{
|
|
7615
7611
|
"assetManifest": "@config.assetManifest",
|
|
7616
|
-
"damageNumbers": "@entity.effects",
|
|
7617
7612
|
"effects": "@entity.effects",
|
|
7618
7613
|
"features": "@config.features",
|
|
7619
7614
|
"projection": "isometric",
|
|
7620
7615
|
"scale": "@config.scale",
|
|
7621
7616
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
7622
7617
|
"showMinimap": true,
|
|
7623
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
7624
7618
|
"tileClickEvent": "TILE_CLICK",
|
|
7625
7619
|
"tiles": "@config.tiles",
|
|
7626
7620
|
"type": "canvas-2d",
|
|
@@ -7962,14 +7956,12 @@
|
|
|
7962
7956
|
"children": [
|
|
7963
7957
|
{
|
|
7964
7958
|
"assetManifest": "@config.assetManifest",
|
|
7965
|
-
"damageNumbers": "@entity.effects",
|
|
7966
7959
|
"effects": "@entity.effects",
|
|
7967
7960
|
"features": "@config.features",
|
|
7968
7961
|
"projection": "isometric",
|
|
7969
7962
|
"scale": "@config.scale",
|
|
7970
7963
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
7971
7964
|
"showMinimap": true,
|
|
7972
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
7973
7965
|
"tileClickEvent": "TILE_CLICK",
|
|
7974
7966
|
"tiles": "@config.tiles",
|
|
7975
7967
|
"type": "canvas-2d",
|
|
@@ -8201,14 +8193,12 @@
|
|
|
8201
8193
|
"children": [
|
|
8202
8194
|
{
|
|
8203
8195
|
"assetManifest": "@config.assetManifest",
|
|
8204
|
-
"damageNumbers": "@entity.effects",
|
|
8205
8196
|
"effects": "@entity.effects",
|
|
8206
8197
|
"features": "@config.features",
|
|
8207
8198
|
"projection": "isometric",
|
|
8208
8199
|
"scale": "@config.scale",
|
|
8209
8200
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
8210
8201
|
"showMinimap": true,
|
|
8211
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
8212
8202
|
"tileClickEvent": "TILE_CLICK",
|
|
8213
8203
|
"tiles": "@config.tiles",
|
|
8214
8204
|
"type": "canvas-2d",
|
|
@@ -8684,14 +8674,12 @@
|
|
|
8684
8674
|
"children": [
|
|
8685
8675
|
{
|
|
8686
8676
|
"assetManifest": "@config.assetManifest",
|
|
8687
|
-
"damageNumbers": "@entity.effects",
|
|
8688
8677
|
"effects": "@entity.effects",
|
|
8689
8678
|
"features": "@config.features",
|
|
8690
8679
|
"projection": "isometric",
|
|
8691
8680
|
"scale": "@config.scale",
|
|
8692
8681
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
8693
8682
|
"showMinimap": true,
|
|
8694
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
8695
8683
|
"tileClickEvent": "TILE_CLICK",
|
|
8696
8684
|
"tiles": "@config.tiles",
|
|
8697
8685
|
"type": "canvas-2d",
|
|
@@ -8972,14 +8960,12 @@
|
|
|
8972
8960
|
"children": [
|
|
8973
8961
|
{
|
|
8974
8962
|
"assetManifest": "@config.assetManifest",
|
|
8975
|
-
"damageNumbers": "@entity.effects",
|
|
8976
8963
|
"effects": "@entity.effects",
|
|
8977
8964
|
"features": "@config.features",
|
|
8978
8965
|
"projection": "isometric",
|
|
8979
8966
|
"scale": "@config.scale",
|
|
8980
8967
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
8981
8968
|
"showMinimap": true,
|
|
8982
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
8983
8969
|
"tileClickEvent": "TILE_CLICK",
|
|
8984
8970
|
"tiles": "@config.tiles",
|
|
8985
8971
|
"type": "canvas-2d",
|
|
@@ -9155,14 +9141,12 @@
|
|
|
9155
9141
|
"children": [
|
|
9156
9142
|
{
|
|
9157
9143
|
"assetManifest": "@config.assetManifest",
|
|
9158
|
-
"damageNumbers": "@entity.effects",
|
|
9159
9144
|
"effects": "@entity.effects",
|
|
9160
9145
|
"features": "@config.features",
|
|
9161
9146
|
"projection": "isometric",
|
|
9162
9147
|
"scale": "@config.scale",
|
|
9163
9148
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
9164
9149
|
"showMinimap": true,
|
|
9165
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
9166
9150
|
"tileClickEvent": "TILE_CLICK",
|
|
9167
9151
|
"tiles": "@config.tiles",
|
|
9168
9152
|
"type": "canvas-2d",
|
|
@@ -9369,14 +9353,12 @@
|
|
|
9369
9353
|
"children": [
|
|
9370
9354
|
{
|
|
9371
9355
|
"assetManifest": "@config.assetManifest",
|
|
9372
|
-
"damageNumbers": "@entity.effects",
|
|
9373
9356
|
"effects": "@entity.effects",
|
|
9374
9357
|
"features": "@config.features",
|
|
9375
9358
|
"projection": "isometric",
|
|
9376
9359
|
"scale": "@config.scale",
|
|
9377
9360
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
9378
9361
|
"showMinimap": true,
|
|
9379
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
9380
9362
|
"tileClickEvent": "TILE_CLICK",
|
|
9381
9363
|
"tiles": "@config.tiles",
|
|
9382
9364
|
"type": "canvas-2d",
|
|
@@ -9639,14 +9621,12 @@
|
|
|
9639
9621
|
"children": [
|
|
9640
9622
|
{
|
|
9641
9623
|
"assetManifest": "@config.assetManifest",
|
|
9642
|
-
"damageNumbers": "@entity.effects",
|
|
9643
9624
|
"effects": "@entity.effects",
|
|
9644
9625
|
"features": "@config.features",
|
|
9645
9626
|
"projection": "isometric",
|
|
9646
9627
|
"scale": "@config.scale",
|
|
9647
9628
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
9648
9629
|
"showMinimap": true,
|
|
9649
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
9650
9630
|
"tileClickEvent": "TILE_CLICK",
|
|
9651
9631
|
"tiles": "@config.tiles",
|
|
9652
9632
|
"type": "canvas-2d",
|
|
@@ -9805,14 +9785,12 @@
|
|
|
9805
9785
|
"children": [
|
|
9806
9786
|
{
|
|
9807
9787
|
"assetManifest": "@config.assetManifest",
|
|
9808
|
-
"damageNumbers": "@entity.effects",
|
|
9809
9788
|
"effects": "@entity.effects",
|
|
9810
9789
|
"features": "@config.features",
|
|
9811
9790
|
"projection": "isometric",
|
|
9812
9791
|
"scale": "@config.scale",
|
|
9813
9792
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
9814
9793
|
"showMinimap": true,
|
|
9815
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
9816
9794
|
"tileClickEvent": "TILE_CLICK",
|
|
9817
9795
|
"tiles": "@config.tiles",
|
|
9818
9796
|
"type": "canvas-2d",
|
|
@@ -10456,14 +10434,12 @@
|
|
|
10456
10434
|
"children": [
|
|
10457
10435
|
{
|
|
10458
10436
|
"assetManifest": "@config.assetManifest",
|
|
10459
|
-
"damageNumbers": "@entity.effects",
|
|
10460
10437
|
"effects": "@entity.effects",
|
|
10461
10438
|
"features": "@config.features",
|
|
10462
10439
|
"projection": "isometric",
|
|
10463
10440
|
"scale": "@config.scale",
|
|
10464
10441
|
"selectedUnitId": "@entity.selectedUnitId",
|
|
10465
10442
|
"showMinimap": true,
|
|
10466
|
-
"statusEffects": "@entity.selectedUnitEffects",
|
|
10467
10443
|
"tileClickEvent": "TILE_CLICK",
|
|
10468
10444
|
"tiles": "@config.tiles",
|
|
10469
10445
|
"type": "canvas-2d",
|
|
@@ -423,6 +423,19 @@
|
|
|
423
423
|
"key": "INIT",
|
|
424
424
|
"name": "Initialize"
|
|
425
425
|
},
|
|
426
|
+
{
|
|
427
|
+
"description": "Live scene update; payload carries the current drawable state.",
|
|
428
|
+
"key": "UPDATE",
|
|
429
|
+
"name": "Update",
|
|
430
|
+
"payloadSchema": [
|
|
431
|
+
{
|
|
432
|
+
"name": "shapes",
|
|
433
|
+
"type": "[LearningCanvasShapesItem]"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"synonyms": "tick, redraw, animate, frame",
|
|
437
|
+
"tier": "domain"
|
|
438
|
+
},
|
|
426
439
|
{
|
|
427
440
|
"description": "Clicked shape payload: { id?, type?, index }.",
|
|
428
441
|
"key": "SHAPE_CLICK",
|
|
@@ -509,6 +522,31 @@
|
|
|
509
522
|
"event": "INIT",
|
|
510
523
|
"from": "idle",
|
|
511
524
|
"to": "idle"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"effects": [
|
|
528
|
+
[
|
|
529
|
+
"render-ui",
|
|
530
|
+
"main",
|
|
531
|
+
{
|
|
532
|
+
"animate": "@config.animate",
|
|
533
|
+
"backgroundColor": "@config.backgroundColor",
|
|
534
|
+
"className": "@config.className",
|
|
535
|
+
"error": "@config.error",
|
|
536
|
+
"height": "@config.height",
|
|
537
|
+
"interactive": "@config.interactive",
|
|
538
|
+
"isLoading": "@config.isLoading",
|
|
539
|
+
"onShapeClick": "SHAPE_CLICK",
|
|
540
|
+
"onShapeHover": "SHAPE_HOVER",
|
|
541
|
+
"shapes": "@payload.shapes",
|
|
542
|
+
"type": "learning-canvas",
|
|
543
|
+
"width": "@config.width"
|
|
544
|
+
}
|
|
545
|
+
]
|
|
546
|
+
],
|
|
547
|
+
"event": "UPDATE",
|
|
548
|
+
"from": "idle",
|
|
549
|
+
"to": "idle"
|
|
512
550
|
}
|
|
513
551
|
]
|
|
514
552
|
}
|
|
@@ -520,6 +520,27 @@
|
|
|
520
520
|
"key": "INIT",
|
|
521
521
|
"name": "Initialize"
|
|
522
522
|
},
|
|
523
|
+
{
|
|
524
|
+
"description": "Live scene update; payload carries the current drawable state.",
|
|
525
|
+
"key": "UPDATE",
|
|
526
|
+
"name": "Update",
|
|
527
|
+
"payloadSchema": [
|
|
528
|
+
{
|
|
529
|
+
"name": "nodes",
|
|
530
|
+
"type": "[BiologyCanvasNodesItem]"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "edges",
|
|
534
|
+
"type": "[BiologyCanvasEdgesItem]"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "shapes",
|
|
538
|
+
"type": "[BiologyCanvasShapesItem]"
|
|
539
|
+
}
|
|
540
|
+
],
|
|
541
|
+
"synonyms": "tick, redraw, animate, frame",
|
|
542
|
+
"tier": "domain"
|
|
543
|
+
},
|
|
523
544
|
{
|
|
524
545
|
"description": "onShapeClick prop",
|
|
525
546
|
"key": "SHAPE_CLICK",
|
|
@@ -581,6 +602,33 @@
|
|
|
581
602
|
"event": "INIT",
|
|
582
603
|
"from": "idle",
|
|
583
604
|
"to": "idle"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"effects": [
|
|
608
|
+
[
|
|
609
|
+
"render-ui",
|
|
610
|
+
"main",
|
|
611
|
+
{
|
|
612
|
+
"animate": "@config.animate",
|
|
613
|
+
"backgroundColor": "@config.backgroundColor",
|
|
614
|
+
"className": "@config.className",
|
|
615
|
+
"edges": "@payload.edges",
|
|
616
|
+
"error": "@config.error",
|
|
617
|
+
"height": "@config.height",
|
|
618
|
+
"interactive": "@config.interactive",
|
|
619
|
+
"isLoading": "@config.isLoading",
|
|
620
|
+
"nodes": "@payload.nodes",
|
|
621
|
+
"onShapeClick": "SHAPE_CLICK",
|
|
622
|
+
"shapes": "@payload.shapes",
|
|
623
|
+
"title": "@config.title",
|
|
624
|
+
"type": "biology-canvas",
|
|
625
|
+
"width": "@config.width"
|
|
626
|
+
}
|
|
627
|
+
]
|
|
628
|
+
],
|
|
629
|
+
"event": "UPDATE",
|
|
630
|
+
"from": "idle",
|
|
631
|
+
"to": "idle"
|
|
584
632
|
}
|
|
585
633
|
]
|
|
586
634
|
}
|
|
@@ -571,6 +571,31 @@
|
|
|
571
571
|
"key": "INIT",
|
|
572
572
|
"name": "Initialize"
|
|
573
573
|
},
|
|
574
|
+
{
|
|
575
|
+
"description": "Live scene update; payload carries the current drawable state.",
|
|
576
|
+
"key": "UPDATE",
|
|
577
|
+
"name": "Update",
|
|
578
|
+
"payloadSchema": [
|
|
579
|
+
{
|
|
580
|
+
"name": "atoms",
|
|
581
|
+
"type": "[ChemistryCanvasAtomsItem]"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "bonds",
|
|
585
|
+
"type": "[ChemistryCanvasBondsItem]"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "arrows",
|
|
589
|
+
"type": "[ChemistryCanvasArrowsItem]"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "shapes",
|
|
593
|
+
"type": "[ChemistryCanvasShapesItem]"
|
|
594
|
+
}
|
|
595
|
+
],
|
|
596
|
+
"synonyms": "tick, redraw, animate, frame",
|
|
597
|
+
"tier": "domain"
|
|
598
|
+
},
|
|
574
599
|
{
|
|
575
600
|
"description": "onShapeClick prop",
|
|
576
601
|
"key": "SHAPE_CLICK",
|
|
@@ -633,6 +658,34 @@
|
|
|
633
658
|
"event": "INIT",
|
|
634
659
|
"from": "idle",
|
|
635
660
|
"to": "idle"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"effects": [
|
|
664
|
+
[
|
|
665
|
+
"render-ui",
|
|
666
|
+
"main",
|
|
667
|
+
{
|
|
668
|
+
"animate": "@config.animate",
|
|
669
|
+
"arrows": "@payload.arrows",
|
|
670
|
+
"atoms": "@payload.atoms",
|
|
671
|
+
"backgroundColor": "@config.backgroundColor",
|
|
672
|
+
"bonds": "@payload.bonds",
|
|
673
|
+
"className": "@config.className",
|
|
674
|
+
"error": "@config.error",
|
|
675
|
+
"height": "@config.height",
|
|
676
|
+
"interactive": "@config.interactive",
|
|
677
|
+
"isLoading": "@config.isLoading",
|
|
678
|
+
"onShapeClick": "SHAPE_CLICK",
|
|
679
|
+
"shapes": "@payload.shapes",
|
|
680
|
+
"title": "@config.title",
|
|
681
|
+
"type": "chemistry-canvas",
|
|
682
|
+
"width": "@config.width"
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
],
|
|
686
|
+
"event": "UPDATE",
|
|
687
|
+
"from": "idle",
|
|
688
|
+
"to": "idle"
|
|
636
689
|
}
|
|
637
690
|
]
|
|
638
691
|
}
|
|
@@ -627,6 +627,31 @@
|
|
|
627
627
|
"key": "INIT",
|
|
628
628
|
"name": "Initialize"
|
|
629
629
|
},
|
|
630
|
+
{
|
|
631
|
+
"description": "Live scene update; payload carries the current drawable state.",
|
|
632
|
+
"key": "UPDATE",
|
|
633
|
+
"name": "Update",
|
|
634
|
+
"payloadSchema": [
|
|
635
|
+
{
|
|
636
|
+
"name": "curves",
|
|
637
|
+
"type": "[MathCanvasCurvesItem]"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"name": "points",
|
|
641
|
+
"type": "[MathCanvasPointsItem]"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"name": "vectors",
|
|
645
|
+
"type": "[MathCanvasVectorsItem]"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "shapes",
|
|
649
|
+
"type": "[MathCanvasShapesItem]"
|
|
650
|
+
}
|
|
651
|
+
],
|
|
652
|
+
"synonyms": "tick, redraw, animate, frame",
|
|
653
|
+
"tier": "domain"
|
|
654
|
+
},
|
|
630
655
|
{
|
|
631
656
|
"description": "onShapeClick prop",
|
|
632
657
|
"key": "SHAPE_CLICK",
|
|
@@ -695,6 +720,40 @@
|
|
|
695
720
|
"event": "INIT",
|
|
696
721
|
"from": "idle",
|
|
697
722
|
"to": "idle"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"effects": [
|
|
726
|
+
[
|
|
727
|
+
"render-ui",
|
|
728
|
+
"main",
|
|
729
|
+
{
|
|
730
|
+
"animate": "@config.animate",
|
|
731
|
+
"className": "@config.className",
|
|
732
|
+
"curves": "@payload.curves",
|
|
733
|
+
"error": "@config.error",
|
|
734
|
+
"gridStep": "@config.gridStep",
|
|
735
|
+
"height": "@config.height",
|
|
736
|
+
"interactive": "@config.interactive",
|
|
737
|
+
"isLoading": "@config.isLoading",
|
|
738
|
+
"onShapeClick": "SHAPE_CLICK",
|
|
739
|
+
"points": "@payload.points",
|
|
740
|
+
"shapes": "@payload.shapes",
|
|
741
|
+
"showAxes": "@config.showAxes",
|
|
742
|
+
"showGrid": "@config.showGrid",
|
|
743
|
+
"title": "@config.title",
|
|
744
|
+
"type": "math-canvas",
|
|
745
|
+
"vectors": "@payload.vectors",
|
|
746
|
+
"width": "@config.width",
|
|
747
|
+
"xMax": "@config.xMax",
|
|
748
|
+
"xMin": "@config.xMin",
|
|
749
|
+
"yMax": "@config.yMax",
|
|
750
|
+
"yMin": "@config.yMin"
|
|
751
|
+
}
|
|
752
|
+
]
|
|
753
|
+
],
|
|
754
|
+
"event": "UPDATE",
|
|
755
|
+
"from": "idle",
|
|
756
|
+
"to": "idle"
|
|
698
757
|
}
|
|
699
758
|
]
|
|
700
759
|
}
|
|
@@ -556,6 +556,27 @@
|
|
|
556
556
|
"key": "INIT",
|
|
557
557
|
"name": "Initialize"
|
|
558
558
|
},
|
|
559
|
+
{
|
|
560
|
+
"description": "Live scene update; payload carries the current drawable state.",
|
|
561
|
+
"key": "UPDATE",
|
|
562
|
+
"name": "Update",
|
|
563
|
+
"payloadSchema": [
|
|
564
|
+
{
|
|
565
|
+
"name": "bodies",
|
|
566
|
+
"type": "[PhysicsCanvasBodiesItem]"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "constraints",
|
|
570
|
+
"type": "[PhysicsCanvasConstraintsItem]"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "shapes",
|
|
574
|
+
"type": "[PhysicsCanvasShapesItem]"
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"synonyms": "tick, redraw, animate, frame",
|
|
578
|
+
"tier": "domain"
|
|
579
|
+
},
|
|
559
580
|
{
|
|
560
581
|
"description": "onShapeClick prop",
|
|
561
582
|
"key": "SHAPE_CLICK",
|
|
@@ -621,6 +642,37 @@
|
|
|
621
642
|
"event": "INIT",
|
|
622
643
|
"from": "idle",
|
|
623
644
|
"to": "idle"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"effects": [
|
|
648
|
+
[
|
|
649
|
+
"render-ui",
|
|
650
|
+
"main",
|
|
651
|
+
{
|
|
652
|
+
"animate": "@config.animate",
|
|
653
|
+
"backgroundColor": "@config.backgroundColor",
|
|
654
|
+
"bodies": "@payload.bodies",
|
|
655
|
+
"className": "@config.className",
|
|
656
|
+
"constraints": "@payload.constraints",
|
|
657
|
+
"error": "@config.error",
|
|
658
|
+
"forceScale": "@config.forceScale",
|
|
659
|
+
"height": "@config.height",
|
|
660
|
+
"interactive": "@config.interactive",
|
|
661
|
+
"isLoading": "@config.isLoading",
|
|
662
|
+
"onShapeClick": "SHAPE_CLICK",
|
|
663
|
+
"shapes": "@payload.shapes",
|
|
664
|
+
"showForces": "@config.showForces",
|
|
665
|
+
"showVelocity": "@config.showVelocity",
|
|
666
|
+
"title": "@config.title",
|
|
667
|
+
"type": "physics-canvas",
|
|
668
|
+
"velocityScale": "@config.velocityScale",
|
|
669
|
+
"width": "@config.width"
|
|
670
|
+
}
|
|
671
|
+
]
|
|
672
|
+
],
|
|
673
|
+
"event": "UPDATE",
|
|
674
|
+
"from": "idle",
|
|
675
|
+
"to": "idle"
|
|
624
676
|
}
|
|
625
677
|
]
|
|
626
678
|
}
|
|
@@ -37,6 +37,19 @@
|
|
|
37
37
|
"tier": "presentation",
|
|
38
38
|
"type": "string"
|
|
39
39
|
},
|
|
40
|
+
"mood": {
|
|
41
|
+
"default": "neutral",
|
|
42
|
+
"description": "Speaker mood — drives a portrait-ring accent; LOLO sets this per dialogue node/transition.",
|
|
43
|
+
"label": "Mood",
|
|
44
|
+
"tier": "presentation",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"values": [
|
|
47
|
+
"neutral",
|
|
48
|
+
"happy",
|
|
49
|
+
"concerned",
|
|
50
|
+
"angry"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
40
53
|
"portrait": {
|
|
41
54
|
"default": {
|
|
42
55
|
"animations": [
|
|
@@ -121,6 +134,13 @@
|
|
|
121
134
|
"bottom"
|
|
122
135
|
]
|
|
123
136
|
},
|
|
137
|
+
"revealedChars": {
|
|
138
|
+
"default": 0.0,
|
|
139
|
+
"description": "Number of `text` characters to reveal (typewriter effect). Omit to show the full string — LOLO drives this from `@entity.revealedChars` via a tick, incrementing it until it reaches `text.length`.",
|
|
140
|
+
"label": "Revealed Chars",
|
|
141
|
+
"tier": "presentation",
|
|
142
|
+
"type": "number"
|
|
143
|
+
},
|
|
124
144
|
"speaker": {
|
|
125
145
|
"default": "Hero",
|
|
126
146
|
"description": "Speaker name displayed at the top",
|
|
@@ -165,8 +185,10 @@
|
|
|
165
185
|
"main",
|
|
166
186
|
{
|
|
167
187
|
"className": "@config.className",
|
|
188
|
+
"mood": "@config.mood",
|
|
168
189
|
"portrait": "@config.portrait",
|
|
169
190
|
"position": "@config.position",
|
|
191
|
+
"revealedChars": "@config.revealedChars",
|
|
170
192
|
"speaker": "@config.speaker",
|
|
171
193
|
"text": "@config.text",
|
|
172
194
|
"type": "dialogue-bubble"
|