@almadar/std 16.203.0 → 16.205.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/game/atoms/std-choice-gate.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-fx-narrative.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-fx-particles.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-gate-lock.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-lives.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-loop-lock.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-objective-flow.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-pad-lock.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-patrol-hazard.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-pickup.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-tutorial-overlay.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-velocity-gate.lolo +1 -1
- package/behaviors/lolo/ui/game/organisms/std-platformer-puzzle.lolo +302 -0
- package/behaviors/registry/ui/game/atoms/std-choice-gate.orb +82 -2
- package/behaviors/registry/ui/game/atoms/std-fx-narrative.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-fx-particles.orb +82 -2
- package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +48 -2
- package/behaviors/registry/ui/game/atoms/std-lives.orb +26 -2
- package/behaviors/registry/ui/game/atoms/std-loop-lock.orb +56 -2
- package/behaviors/registry/ui/game/atoms/std-objective-flow.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +30 -2
- package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +63 -2
- package/behaviors/registry/ui/game/atoms/std-pickup.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-tutorial-overlay.orb +24 -2
- package/behaviors/registry/ui/game/atoms/std-velocity-gate.orb +75 -2
- package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +2063 -0
- package/dist/behaviors/exports-reader.js +1235 -0
- package/dist/behaviors/functions/index.d.ts +115 -14
- package/dist/behaviors/functions/index.js +1232 -1
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +1236 -1
- package/dist/behaviors/query.js +1235 -0
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +29 -25
- package/dist/behaviors-registry.json +1805 -17
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1236 -1
- 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
package/dist/behaviors/query.js
CHANGED
|
@@ -79,6 +79,7 @@ __export(functions_exports, {
|
|
|
79
79
|
StdObjectiveBoard3dObjectiveBoard3DOrbitalManifest: () => StdObjectiveBoard3dObjectiveBoard3DOrbitalManifest,
|
|
80
80
|
StdPaginationPagedItemOrbitalManifest: () => StdPaginationPagedItemOrbitalManifest,
|
|
81
81
|
StdPlatformerBoard2dPlatformerBoard2DOrbitalManifest: () => StdPlatformerBoard2dPlatformerBoard2DOrbitalManifest,
|
|
82
|
+
StdPlatformerPuzzlePlatformerPuzzleOrbitalManifest: () => StdPlatformerPuzzlePlatformerPuzzleOrbitalManifest,
|
|
82
83
|
StdRateLimiterRateBucketOrbitalManifest: () => StdRateLimiterRateBucketOrbitalManifest,
|
|
83
84
|
StdRatingReviewRatingReviewOrbitalManifest: () => StdRatingReviewRatingReviewOrbitalManifest,
|
|
84
85
|
StdRecordDetailRecordItemOrbitalManifest: () => StdRecordDetailRecordItemOrbitalManifest,
|
|
@@ -221,6 +222,7 @@ __export(functions_exports, {
|
|
|
221
222
|
isStdObjectiveBoard3dObjectiveBoard3DOrbitalParams: () => isStdObjectiveBoard3dObjectiveBoard3DOrbitalParams,
|
|
222
223
|
isStdPaginationPagedItemOrbitalParams: () => isStdPaginationPagedItemOrbitalParams,
|
|
223
224
|
isStdPlatformerBoard2dPlatformerBoard2DOrbitalParams: () => isStdPlatformerBoard2dPlatformerBoard2DOrbitalParams,
|
|
225
|
+
isStdPlatformerPuzzlePlatformerPuzzleOrbitalParams: () => isStdPlatformerPuzzlePlatformerPuzzleOrbitalParams,
|
|
224
226
|
isStdRateLimiterRateBucketOrbitalParams: () => isStdRateLimiterRateBucketOrbitalParams,
|
|
225
227
|
isStdRatingReviewRatingReviewOrbitalParams: () => isStdRatingReviewRatingReviewOrbitalParams,
|
|
226
228
|
isStdRecordDetailRecordItemOrbitalParams: () => isStdRecordDetailRecordItemOrbitalParams,
|
|
@@ -894,6 +896,8 @@ __export(functions_exports, {
|
|
|
894
896
|
stdPlatformerBody: () => stdPlatformerBody,
|
|
895
897
|
stdPlatformerBodyPage: () => stdPlatformerBodyPage,
|
|
896
898
|
stdPlatformerBodyTrait: () => stdPlatformerBodyTrait,
|
|
899
|
+
stdPlatformerPuzzle: () => stdPlatformerPuzzle,
|
|
900
|
+
stdPlatformerPuzzlePlatformerPuzzleOrbital: () => stdPlatformerPuzzlePlatformerPuzzleOrbital,
|
|
897
901
|
stdProduction: () => stdProduction,
|
|
898
902
|
stdProductionPage: () => stdProductionPage,
|
|
899
903
|
stdProductionTrait: () => stdProductionTrait,
|
|
@@ -128252,6 +128256,1228 @@ function stdPlatformerBoard2d(params = {}) {
|
|
|
128252
128256
|
stdPlatformerBoard2dPlatformerBoard2DOrbital(params.PlatformerBoard2D ?? {})
|
|
128253
128257
|
];
|
|
128254
128258
|
}
|
|
128259
|
+
function stdPlatformerPuzzlePlatformerPuzzleOrbital(params = {}) {
|
|
128260
|
+
const built = makeOrbitalWithUses({
|
|
128261
|
+
name: "PlatformerPuzzleOrbital",
|
|
128262
|
+
uses: [
|
|
128263
|
+
{
|
|
128264
|
+
"as": "Body",
|
|
128265
|
+
"from": "std/behaviors/std-platformer-body"
|
|
128266
|
+
},
|
|
128267
|
+
{
|
|
128268
|
+
"as": "Pickup",
|
|
128269
|
+
"from": "std/behaviors/std-pickup"
|
|
128270
|
+
},
|
|
128271
|
+
{
|
|
128272
|
+
"as": "Gate",
|
|
128273
|
+
"from": "std/behaviors/std-objective-flow"
|
|
128274
|
+
},
|
|
128275
|
+
{
|
|
128276
|
+
"as": "Choice",
|
|
128277
|
+
"from": "std/behaviors/std-choice-gate"
|
|
128278
|
+
},
|
|
128279
|
+
{
|
|
128280
|
+
"as": "Particles",
|
|
128281
|
+
"from": "std/behaviors/std-fx-particles"
|
|
128282
|
+
},
|
|
128283
|
+
{
|
|
128284
|
+
"as": "Narrative",
|
|
128285
|
+
"from": "std/behaviors/std-fx-narrative"
|
|
128286
|
+
},
|
|
128287
|
+
{
|
|
128288
|
+
"as": "Tutorial",
|
|
128289
|
+
"from": "std/behaviors/std-tutorial-overlay"
|
|
128290
|
+
}
|
|
128291
|
+
],
|
|
128292
|
+
entity: {
|
|
128293
|
+
name: "PlatformerPuzzleData",
|
|
128294
|
+
persistence: "runtime",
|
|
128295
|
+
shared: true,
|
|
128296
|
+
fields: (() => {
|
|
128297
|
+
const canonical = [
|
|
128298
|
+
{
|
|
128299
|
+
"name": "id",
|
|
128300
|
+
"required": true,
|
|
128301
|
+
"type": "string"
|
|
128302
|
+
},
|
|
128303
|
+
{
|
|
128304
|
+
"default": {
|
|
128305
|
+
"facingRight": true,
|
|
128306
|
+
"grounded": false,
|
|
128307
|
+
"height": 1,
|
|
128308
|
+
"vx": 0,
|
|
128309
|
+
"vy": 0,
|
|
128310
|
+
"width": 1,
|
|
128311
|
+
"x": 0,
|
|
128312
|
+
"y": 0
|
|
128313
|
+
},
|
|
128314
|
+
"name": "body",
|
|
128315
|
+
"properties": {
|
|
128316
|
+
"facingRight": {
|
|
128317
|
+
"name": "facingRight",
|
|
128318
|
+
"required": false,
|
|
128319
|
+
"type": "boolean"
|
|
128320
|
+
},
|
|
128321
|
+
"grounded": {
|
|
128322
|
+
"name": "grounded",
|
|
128323
|
+
"required": false,
|
|
128324
|
+
"type": "boolean"
|
|
128325
|
+
},
|
|
128326
|
+
"height": {
|
|
128327
|
+
"name": "height",
|
|
128328
|
+
"required": true,
|
|
128329
|
+
"type": "number"
|
|
128330
|
+
},
|
|
128331
|
+
"vx": {
|
|
128332
|
+
"name": "vx",
|
|
128333
|
+
"required": false,
|
|
128334
|
+
"type": "number"
|
|
128335
|
+
},
|
|
128336
|
+
"vy": {
|
|
128337
|
+
"name": "vy",
|
|
128338
|
+
"required": false,
|
|
128339
|
+
"type": "number"
|
|
128340
|
+
},
|
|
128341
|
+
"width": {
|
|
128342
|
+
"name": "width",
|
|
128343
|
+
"required": true,
|
|
128344
|
+
"type": "number"
|
|
128345
|
+
},
|
|
128346
|
+
"x": {
|
|
128347
|
+
"name": "x",
|
|
128348
|
+
"required": true,
|
|
128349
|
+
"type": "number"
|
|
128350
|
+
},
|
|
128351
|
+
"y": {
|
|
128352
|
+
"name": "y",
|
|
128353
|
+
"required": true,
|
|
128354
|
+
"type": "number"
|
|
128355
|
+
}
|
|
128356
|
+
},
|
|
128357
|
+
"type": "object"
|
|
128358
|
+
},
|
|
128359
|
+
{
|
|
128360
|
+
"default": false,
|
|
128361
|
+
"name": "fell",
|
|
128362
|
+
"type": "boolean"
|
|
128363
|
+
},
|
|
128364
|
+
{
|
|
128365
|
+
"default": "",
|
|
128366
|
+
"name": "hazardId",
|
|
128367
|
+
"type": "string"
|
|
128368
|
+
},
|
|
128369
|
+
{
|
|
128370
|
+
"default": "",
|
|
128371
|
+
"name": "goalId",
|
|
128372
|
+
"type": "string"
|
|
128373
|
+
},
|
|
128374
|
+
{
|
|
128375
|
+
"default": false,
|
|
128376
|
+
"name": "skating",
|
|
128377
|
+
"type": "boolean"
|
|
128378
|
+
},
|
|
128379
|
+
{
|
|
128380
|
+
"default": [],
|
|
128381
|
+
"items": {
|
|
128382
|
+
"properties": {
|
|
128383
|
+
"a": {
|
|
128384
|
+
"name": "a",
|
|
128385
|
+
"required": true,
|
|
128386
|
+
"type": "number"
|
|
128387
|
+
},
|
|
128388
|
+
"b": {
|
|
128389
|
+
"name": "b",
|
|
128390
|
+
"required": false,
|
|
128391
|
+
"type": "number"
|
|
128392
|
+
},
|
|
128393
|
+
"h": {
|
|
128394
|
+
"name": "h",
|
|
128395
|
+
"required": true,
|
|
128396
|
+
"type": "number"
|
|
128397
|
+
},
|
|
128398
|
+
"k": {
|
|
128399
|
+
"name": "k",
|
|
128400
|
+
"required": true,
|
|
128401
|
+
"type": "number"
|
|
128402
|
+
},
|
|
128403
|
+
"x0": {
|
|
128404
|
+
"name": "x0",
|
|
128405
|
+
"required": true,
|
|
128406
|
+
"type": "number"
|
|
128407
|
+
},
|
|
128408
|
+
"x1": {
|
|
128409
|
+
"name": "x1",
|
|
128410
|
+
"required": true,
|
|
128411
|
+
"type": "number"
|
|
128412
|
+
}
|
|
128413
|
+
},
|
|
128414
|
+
"type": "object"
|
|
128415
|
+
},
|
|
128416
|
+
"name": "curveMods",
|
|
128417
|
+
"type": "array"
|
|
128418
|
+
},
|
|
128419
|
+
{
|
|
128420
|
+
"default": {},
|
|
128421
|
+
"name": "tuning",
|
|
128422
|
+
"properties": {
|
|
128423
|
+
"gravity": {
|
|
128424
|
+
"name": "gravity",
|
|
128425
|
+
"required": false,
|
|
128426
|
+
"type": "number"
|
|
128427
|
+
},
|
|
128428
|
+
"jumpStrength": {
|
|
128429
|
+
"name": "jumpStrength",
|
|
128430
|
+
"required": false,
|
|
128431
|
+
"type": "number"
|
|
128432
|
+
},
|
|
128433
|
+
"moveSpeed": {
|
|
128434
|
+
"name": "moveSpeed",
|
|
128435
|
+
"required": false,
|
|
128436
|
+
"type": "number"
|
|
128437
|
+
}
|
|
128438
|
+
},
|
|
128439
|
+
"type": "object"
|
|
128440
|
+
},
|
|
128441
|
+
{
|
|
128442
|
+
"default": [],
|
|
128443
|
+
"items": {
|
|
128444
|
+
"properties": {
|
|
128445
|
+
"collected": {
|
|
128446
|
+
"name": "collected",
|
|
128447
|
+
"required": false,
|
|
128448
|
+
"type": "boolean"
|
|
128449
|
+
},
|
|
128450
|
+
"glyph": {
|
|
128451
|
+
"name": "glyph",
|
|
128452
|
+
"required": false,
|
|
128453
|
+
"type": "string"
|
|
128454
|
+
},
|
|
128455
|
+
"id": {
|
|
128456
|
+
"name": "id",
|
|
128457
|
+
"required": true,
|
|
128458
|
+
"type": "string"
|
|
128459
|
+
},
|
|
128460
|
+
"kind": {
|
|
128461
|
+
"name": "kind",
|
|
128462
|
+
"required": true,
|
|
128463
|
+
"type": "string"
|
|
128464
|
+
},
|
|
128465
|
+
"message": {
|
|
128466
|
+
"name": "message",
|
|
128467
|
+
"required": false,
|
|
128468
|
+
"type": "string"
|
|
128469
|
+
},
|
|
128470
|
+
"x": {
|
|
128471
|
+
"name": "x",
|
|
128472
|
+
"required": true,
|
|
128473
|
+
"type": "number"
|
|
128474
|
+
},
|
|
128475
|
+
"y": {
|
|
128476
|
+
"name": "y",
|
|
128477
|
+
"required": true,
|
|
128478
|
+
"type": "number"
|
|
128479
|
+
}
|
|
128480
|
+
},
|
|
128481
|
+
"type": "object"
|
|
128482
|
+
},
|
|
128483
|
+
"name": "pickups",
|
|
128484
|
+
"type": "array"
|
|
128485
|
+
},
|
|
128486
|
+
{
|
|
128487
|
+
"default": false,
|
|
128488
|
+
"name": "pickupCompleted",
|
|
128489
|
+
"type": "boolean"
|
|
128490
|
+
},
|
|
128491
|
+
{
|
|
128492
|
+
"default": 0,
|
|
128493
|
+
"name": "total",
|
|
128494
|
+
"type": "number"
|
|
128495
|
+
},
|
|
128496
|
+
{
|
|
128497
|
+
"default": [],
|
|
128498
|
+
"items": {
|
|
128499
|
+
"properties": {
|
|
128500
|
+
"chosen": {
|
|
128501
|
+
"name": "chosen",
|
|
128502
|
+
"required": false,
|
|
128503
|
+
"type": "string"
|
|
128504
|
+
},
|
|
128505
|
+
"hint": {
|
|
128506
|
+
"name": "hint",
|
|
128507
|
+
"required": false,
|
|
128508
|
+
"type": "string"
|
|
128509
|
+
},
|
|
128510
|
+
"id": {
|
|
128511
|
+
"name": "id",
|
|
128512
|
+
"required": true,
|
|
128513
|
+
"type": "string"
|
|
128514
|
+
},
|
|
128515
|
+
"options": {
|
|
128516
|
+
"items": {
|
|
128517
|
+
"properties": {
|
|
128518
|
+
"correct": {
|
|
128519
|
+
"name": "correct",
|
|
128520
|
+
"required": true,
|
|
128521
|
+
"type": "boolean"
|
|
128522
|
+
},
|
|
128523
|
+
"dx": {
|
|
128524
|
+
"name": "dx",
|
|
128525
|
+
"required": true,
|
|
128526
|
+
"type": "number"
|
|
128527
|
+
},
|
|
128528
|
+
"id": {
|
|
128529
|
+
"name": "id",
|
|
128530
|
+
"required": true,
|
|
128531
|
+
"type": "string"
|
|
128532
|
+
},
|
|
128533
|
+
"label": {
|
|
128534
|
+
"name": "label",
|
|
128535
|
+
"required": true,
|
|
128536
|
+
"type": "string"
|
|
128537
|
+
}
|
|
128538
|
+
},
|
|
128539
|
+
"type": "object"
|
|
128540
|
+
},
|
|
128541
|
+
"name": "options",
|
|
128542
|
+
"required": true,
|
|
128543
|
+
"type": "array"
|
|
128544
|
+
},
|
|
128545
|
+
"solved": {
|
|
128546
|
+
"name": "solved",
|
|
128547
|
+
"required": false,
|
|
128548
|
+
"type": "boolean"
|
|
128549
|
+
},
|
|
128550
|
+
"x": {
|
|
128551
|
+
"name": "x",
|
|
128552
|
+
"required": true,
|
|
128553
|
+
"type": "number"
|
|
128554
|
+
},
|
|
128555
|
+
"y": {
|
|
128556
|
+
"name": "y",
|
|
128557
|
+
"required": true,
|
|
128558
|
+
"type": "number"
|
|
128559
|
+
}
|
|
128560
|
+
},
|
|
128561
|
+
"type": "object"
|
|
128562
|
+
},
|
|
128563
|
+
"name": "choices",
|
|
128564
|
+
"type": "array"
|
|
128565
|
+
},
|
|
128566
|
+
{
|
|
128567
|
+
"default": "none",
|
|
128568
|
+
"name": "result",
|
|
128569
|
+
"type": "string"
|
|
128570
|
+
},
|
|
128571
|
+
{
|
|
128572
|
+
"default": [],
|
|
128573
|
+
"items": {
|
|
128574
|
+
"properties": {
|
|
128575
|
+
"animation": {
|
|
128576
|
+
"name": "animation",
|
|
128577
|
+
"required": false,
|
|
128578
|
+
"type": "string"
|
|
128579
|
+
},
|
|
128580
|
+
"bornAt": {
|
|
128581
|
+
"name": "bornAt",
|
|
128582
|
+
"required": false,
|
|
128583
|
+
"type": "number"
|
|
128584
|
+
},
|
|
128585
|
+
"color": {
|
|
128586
|
+
"name": "color",
|
|
128587
|
+
"required": false,
|
|
128588
|
+
"type": "string"
|
|
128589
|
+
},
|
|
128590
|
+
"effect": {
|
|
128591
|
+
"name": "effect",
|
|
128592
|
+
"required": false,
|
|
128593
|
+
"type": "string"
|
|
128594
|
+
},
|
|
128595
|
+
"id": {
|
|
128596
|
+
"name": "id",
|
|
128597
|
+
"required": true,
|
|
128598
|
+
"type": "string"
|
|
128599
|
+
},
|
|
128600
|
+
"maxTtl": {
|
|
128601
|
+
"name": "maxTtl",
|
|
128602
|
+
"required": false,
|
|
128603
|
+
"type": "number"
|
|
128604
|
+
},
|
|
128605
|
+
"message": {
|
|
128606
|
+
"name": "message",
|
|
128607
|
+
"required": false,
|
|
128608
|
+
"type": "string"
|
|
128609
|
+
},
|
|
128610
|
+
"particleCount": {
|
|
128611
|
+
"name": "particleCount",
|
|
128612
|
+
"required": false,
|
|
128613
|
+
"type": "number"
|
|
128614
|
+
},
|
|
128615
|
+
"size": {
|
|
128616
|
+
"name": "size",
|
|
128617
|
+
"required": false,
|
|
128618
|
+
"type": "number"
|
|
128619
|
+
},
|
|
128620
|
+
"space": {
|
|
128621
|
+
"name": "space",
|
|
128622
|
+
"required": false,
|
|
128623
|
+
"type": "string"
|
|
128624
|
+
},
|
|
128625
|
+
"ttl": {
|
|
128626
|
+
"name": "ttl",
|
|
128627
|
+
"required": true,
|
|
128628
|
+
"type": "number"
|
|
128629
|
+
},
|
|
128630
|
+
"type": {
|
|
128631
|
+
"name": "type",
|
|
128632
|
+
"required": true,
|
|
128633
|
+
"type": "string"
|
|
128634
|
+
},
|
|
128635
|
+
"vx": {
|
|
128636
|
+
"name": "vx",
|
|
128637
|
+
"required": false,
|
|
128638
|
+
"type": "number"
|
|
128639
|
+
},
|
|
128640
|
+
"vy": {
|
|
128641
|
+
"name": "vy",
|
|
128642
|
+
"required": false,
|
|
128643
|
+
"type": "number"
|
|
128644
|
+
},
|
|
128645
|
+
"vz": {
|
|
128646
|
+
"name": "vz",
|
|
128647
|
+
"required": false,
|
|
128648
|
+
"type": "number"
|
|
128649
|
+
},
|
|
128650
|
+
"x": {
|
|
128651
|
+
"name": "x",
|
|
128652
|
+
"required": true,
|
|
128653
|
+
"type": "number"
|
|
128654
|
+
},
|
|
128655
|
+
"y": {
|
|
128656
|
+
"name": "y",
|
|
128657
|
+
"required": false,
|
|
128658
|
+
"type": "number"
|
|
128659
|
+
},
|
|
128660
|
+
"z": {
|
|
128661
|
+
"name": "z",
|
|
128662
|
+
"required": false,
|
|
128663
|
+
"type": "number"
|
|
128664
|
+
}
|
|
128665
|
+
},
|
|
128666
|
+
"type": "object"
|
|
128667
|
+
},
|
|
128668
|
+
"name": "fx",
|
|
128669
|
+
"type": "array"
|
|
128670
|
+
},
|
|
128671
|
+
{
|
|
128672
|
+
"default": 0,
|
|
128673
|
+
"name": "narrativeSeq",
|
|
128674
|
+
"type": "number"
|
|
128675
|
+
},
|
|
128676
|
+
{
|
|
128677
|
+
"default": "",
|
|
128678
|
+
"name": "lastNarrative",
|
|
128679
|
+
"type": "string"
|
|
128680
|
+
},
|
|
128681
|
+
{
|
|
128682
|
+
"default": 0,
|
|
128683
|
+
"name": "step",
|
|
128684
|
+
"type": "number"
|
|
128685
|
+
},
|
|
128686
|
+
{
|
|
128687
|
+
"default": false,
|
|
128688
|
+
"name": "done",
|
|
128689
|
+
"type": "boolean"
|
|
128690
|
+
},
|
|
128691
|
+
{
|
|
128692
|
+
"default": 0,
|
|
128693
|
+
"name": "score",
|
|
128694
|
+
"type": "number"
|
|
128695
|
+
},
|
|
128696
|
+
{
|
|
128697
|
+
"default": 3,
|
|
128698
|
+
"name": "lives",
|
|
128699
|
+
"type": "number"
|
|
128700
|
+
},
|
|
128701
|
+
{
|
|
128702
|
+
"default": 1,
|
|
128703
|
+
"name": "objectivesLeft",
|
|
128704
|
+
"type": "number"
|
|
128705
|
+
},
|
|
128706
|
+
{
|
|
128707
|
+
"default": false,
|
|
128708
|
+
"name": "celebrated",
|
|
128709
|
+
"type": "boolean"
|
|
128710
|
+
}
|
|
128711
|
+
];
|
|
128712
|
+
const extras = params.fields ?? [];
|
|
128713
|
+
if (extras.length === 0) return canonical;
|
|
128714
|
+
const extraNames = new Set(extras.map((f) => f.name));
|
|
128715
|
+
return [...canonical.filter((f) => !extraNames.has(f.name)), ...extras];
|
|
128716
|
+
})()
|
|
128717
|
+
},
|
|
128718
|
+
traits: [
|
|
128719
|
+
makeTraitRef({
|
|
128720
|
+
"config": {
|
|
128721
|
+
"running": {
|
|
128722
|
+
"default": true,
|
|
128723
|
+
"type": "unknown"
|
|
128724
|
+
}
|
|
128725
|
+
},
|
|
128726
|
+
"events": {
|
|
128727
|
+
"BODY_FELL": "BODY_FELL",
|
|
128728
|
+
"BODY_GOAL": "BODY_GOAL",
|
|
128729
|
+
"BODY_HAZARD": "BODY_HAZARD",
|
|
128730
|
+
"BODY_JUMPED": "BODY_JUMPED",
|
|
128731
|
+
"BODY_LANDED": "BODY_LANDED",
|
|
128732
|
+
"BODY_MOVED": "BODY_MOVED",
|
|
128733
|
+
"BODY_SKATE_END": "BODY_SKATE_END",
|
|
128734
|
+
"BODY_SKATE_START": "BODY_SKATE_START",
|
|
128735
|
+
"CURVE_MOD_ADD": "CURVE_MOD_ADD",
|
|
128736
|
+
"CURVE_MOD_CLEAR": "CURVE_MOD_CLEAR",
|
|
128737
|
+
"JUMP": "JUMP",
|
|
128738
|
+
"PLACE": "PLACE",
|
|
128739
|
+
"SET_TUNING": "SET_TUNING",
|
|
128740
|
+
"STEER": "STEER"
|
|
128741
|
+
},
|
|
128742
|
+
"linkedEntity": "PlatformerPuzzleData",
|
|
128743
|
+
"name": "PlatformerPuzzleBody",
|
|
128744
|
+
"ref": "Body.traits.PlatformerBody"
|
|
128745
|
+
}),
|
|
128746
|
+
makeTraitRef({
|
|
128747
|
+
"config": {
|
|
128748
|
+
"running": {
|
|
128749
|
+
"default": true,
|
|
128750
|
+
"type": "unknown"
|
|
128751
|
+
}
|
|
128752
|
+
},
|
|
128753
|
+
"events": {
|
|
128754
|
+
"BODY_MOVED": "BODY_MOVED"
|
|
128755
|
+
},
|
|
128756
|
+
"linkedEntity": "PlatformerPuzzleData",
|
|
128757
|
+
"name": "PlatformerPuzzlePickup",
|
|
128758
|
+
"ref": "Pickup.traits.Pickup"
|
|
128759
|
+
}),
|
|
128760
|
+
makeTraitRef({
|
|
128761
|
+
"config": {
|
|
128762
|
+
"running": {
|
|
128763
|
+
"default": true,
|
|
128764
|
+
"type": "unknown"
|
|
128765
|
+
}
|
|
128766
|
+
},
|
|
128767
|
+
"events": {
|
|
128768
|
+
"GAME_END": "GAME_END",
|
|
128769
|
+
"PROGRESS": "PROGRESS"
|
|
128770
|
+
},
|
|
128771
|
+
"linkedEntity": "PlatformerPuzzleData",
|
|
128772
|
+
"name": "PlatformerPuzzleObjective",
|
|
128773
|
+
"ref": "Gate.traits.ObjectiveFlow"
|
|
128774
|
+
}),
|
|
128775
|
+
makeTraitRef({
|
|
128776
|
+
"config": {
|
|
128777
|
+
"running": {
|
|
128778
|
+
"default": true,
|
|
128779
|
+
"type": "unknown"
|
|
128780
|
+
}
|
|
128781
|
+
},
|
|
128782
|
+
"events": {
|
|
128783
|
+
"BODY_MOVED": "BODY_MOVED"
|
|
128784
|
+
},
|
|
128785
|
+
"linkedEntity": "PlatformerPuzzleData",
|
|
128786
|
+
"name": "PlatformerPuzzleChoice",
|
|
128787
|
+
"ref": "Choice.traits.ChoiceGate"
|
|
128788
|
+
}),
|
|
128789
|
+
makeTraitRef({
|
|
128790
|
+
"config": {
|
|
128791
|
+
"running": {
|
|
128792
|
+
"default": true,
|
|
128793
|
+
"type": "unknown"
|
|
128794
|
+
}
|
|
128795
|
+
},
|
|
128796
|
+
"events": {
|
|
128797
|
+
"BURST": "BURST"
|
|
128798
|
+
},
|
|
128799
|
+
"linkedEntity": "PlatformerPuzzleData",
|
|
128800
|
+
"name": "PlatformerPuzzleFx",
|
|
128801
|
+
"ref": "Particles.traits.FxParticles"
|
|
128802
|
+
}),
|
|
128803
|
+
makeTraitRef({
|
|
128804
|
+
"config": {
|
|
128805
|
+
"running": {
|
|
128806
|
+
"default": true,
|
|
128807
|
+
"type": "unknown"
|
|
128808
|
+
}
|
|
128809
|
+
},
|
|
128810
|
+
"events": {
|
|
128811
|
+
"BURST": "BURST",
|
|
128812
|
+
"NARRATE": "NARRATE"
|
|
128813
|
+
},
|
|
128814
|
+
"linkedEntity": "PlatformerPuzzleData",
|
|
128815
|
+
"name": "PlatformerPuzzleNarrative",
|
|
128816
|
+
"ref": "Narrative.traits.FxNarrative"
|
|
128817
|
+
}),
|
|
128818
|
+
makeTraitRef({
|
|
128819
|
+
"config": {
|
|
128820
|
+
"autoShow": {
|
|
128821
|
+
"default": false,
|
|
128822
|
+
"type": "unknown"
|
|
128823
|
+
},
|
|
128824
|
+
"previewTrait": {
|
|
128825
|
+
"default": "@trait.PlatformerPuzzleNoopPreview",
|
|
128826
|
+
"type": "unknown"
|
|
128827
|
+
}
|
|
128828
|
+
},
|
|
128829
|
+
"events": {
|
|
128830
|
+
"SHOW": "SHOW",
|
|
128831
|
+
"TUTORIAL_DONE": "TUTORIAL_DONE"
|
|
128832
|
+
},
|
|
128833
|
+
"linkedEntity": "PlatformerPuzzleData",
|
|
128834
|
+
"name": "PlatformerPuzzleTutorial",
|
|
128835
|
+
"ref": "Tutorial.traits.TutorialOverlay"
|
|
128836
|
+
}),
|
|
128837
|
+
{
|
|
128838
|
+
"category": "interaction",
|
|
128839
|
+
"linkedEntity": "PlatformerPuzzleData",
|
|
128840
|
+
"name": "PlatformerPuzzleNoopPreview",
|
|
128841
|
+
"scope": "instance",
|
|
128842
|
+
"stateMachine": {
|
|
128843
|
+
"events": [
|
|
128844
|
+
{
|
|
128845
|
+
"key": "INIT",
|
|
128846
|
+
"name": "Initialize"
|
|
128847
|
+
}
|
|
128848
|
+
],
|
|
128849
|
+
"states": [
|
|
128850
|
+
{
|
|
128851
|
+
"isInitial": true,
|
|
128852
|
+
"name": "idle"
|
|
128853
|
+
}
|
|
128854
|
+
],
|
|
128855
|
+
"transitions": [
|
|
128856
|
+
{
|
|
128857
|
+
"effects": [
|
|
128858
|
+
[
|
|
128859
|
+
"render-ui",
|
|
128860
|
+
"overlay",
|
|
128861
|
+
null
|
|
128862
|
+
]
|
|
128863
|
+
],
|
|
128864
|
+
"event": "INIT",
|
|
128865
|
+
"from": "idle",
|
|
128866
|
+
"to": "idle"
|
|
128867
|
+
}
|
|
128868
|
+
]
|
|
128869
|
+
}
|
|
128870
|
+
},
|
|
128871
|
+
{
|
|
128872
|
+
"category": "interaction",
|
|
128873
|
+
"config": {
|
|
128874
|
+
"agencyTrait": {
|
|
128875
|
+
"description": "Trait that provides player verbs and immediate response. Usually a rebinding of std-platformer-body, std-motion-body, or std-hero-nav.",
|
|
128876
|
+
"label": "Agency trait",
|
|
128877
|
+
"tier": "domain",
|
|
128878
|
+
"type": "trait"
|
|
128879
|
+
},
|
|
128880
|
+
"backgroundAsset": {
|
|
128881
|
+
"default": {},
|
|
128882
|
+
"description": "Game-shell background panel sprite (theme chrome).",
|
|
128883
|
+
"label": "Background Asset",
|
|
128884
|
+
"properties": {
|
|
128885
|
+
"animations": {
|
|
128886
|
+
"items": {
|
|
128887
|
+
"type": "string"
|
|
128888
|
+
},
|
|
128889
|
+
"name": "animations",
|
|
128890
|
+
"required": false,
|
|
128891
|
+
"type": "array"
|
|
128892
|
+
},
|
|
128893
|
+
"aspect": {
|
|
128894
|
+
"name": "aspect",
|
|
128895
|
+
"required": false,
|
|
128896
|
+
"type": "string"
|
|
128897
|
+
},
|
|
128898
|
+
"atlas": {
|
|
128899
|
+
"name": "atlas",
|
|
128900
|
+
"required": false,
|
|
128901
|
+
"type": "string"
|
|
128902
|
+
},
|
|
128903
|
+
"category": {
|
|
128904
|
+
"name": "category",
|
|
128905
|
+
"required": false,
|
|
128906
|
+
"type": "string"
|
|
128907
|
+
},
|
|
128908
|
+
"dimension": {
|
|
128909
|
+
"name": "dimension",
|
|
128910
|
+
"required": false,
|
|
128911
|
+
"type": "string"
|
|
128912
|
+
},
|
|
128913
|
+
"name": {
|
|
128914
|
+
"name": "name",
|
|
128915
|
+
"required": false,
|
|
128916
|
+
"type": "string"
|
|
128917
|
+
},
|
|
128918
|
+
"role": {
|
|
128919
|
+
"name": "role",
|
|
128920
|
+
"required": false,
|
|
128921
|
+
"type": "string"
|
|
128922
|
+
},
|
|
128923
|
+
"sprite": {
|
|
128924
|
+
"name": "sprite",
|
|
128925
|
+
"required": false,
|
|
128926
|
+
"type": "string"
|
|
128927
|
+
},
|
|
128928
|
+
"style": {
|
|
128929
|
+
"name": "style",
|
|
128930
|
+
"required": false,
|
|
128931
|
+
"type": "string"
|
|
128932
|
+
},
|
|
128933
|
+
"thumbnailUrl": {
|
|
128934
|
+
"name": "thumbnailUrl",
|
|
128935
|
+
"required": false,
|
|
128936
|
+
"type": "string"
|
|
128937
|
+
},
|
|
128938
|
+
"url": {
|
|
128939
|
+
"name": "url",
|
|
128940
|
+
"required": false,
|
|
128941
|
+
"type": "string"
|
|
128942
|
+
},
|
|
128943
|
+
"variant": {
|
|
128944
|
+
"name": "variant",
|
|
128945
|
+
"required": false,
|
|
128946
|
+
"type": "string"
|
|
128947
|
+
}
|
|
128948
|
+
},
|
|
128949
|
+
"tier": "presentation",
|
|
128950
|
+
"type": "Asset"
|
|
128951
|
+
},
|
|
128952
|
+
"challengeTrait": {
|
|
128953
|
+
"description": "Trait that provides the obstacle, decision, or opposition. Usually a rebinding of std-choice-gate, std-gate-lock, std-patrol-hazard, std-velocity-gate, std-loop-lock, or std-pad-lock.",
|
|
128954
|
+
"label": "Challenge trait",
|
|
128955
|
+
"tier": "domain",
|
|
128956
|
+
"type": "trait"
|
|
128957
|
+
},
|
|
128958
|
+
"directionAssets": {
|
|
128959
|
+
"default": {},
|
|
128960
|
+
"description": "D-pad direction icon sprites.",
|
|
128961
|
+
"label": "Direction Assets",
|
|
128962
|
+
"properties": {
|
|
128963
|
+
"down": {
|
|
128964
|
+
"name": "down",
|
|
128965
|
+
"properties": {
|
|
128966
|
+
"animations": {
|
|
128967
|
+
"items": {
|
|
128968
|
+
"type": "string"
|
|
128969
|
+
},
|
|
128970
|
+
"name": "animations",
|
|
128971
|
+
"required": false,
|
|
128972
|
+
"type": "array"
|
|
128973
|
+
},
|
|
128974
|
+
"aspect": {
|
|
128975
|
+
"name": "aspect",
|
|
128976
|
+
"required": false,
|
|
128977
|
+
"type": "string"
|
|
128978
|
+
},
|
|
128979
|
+
"atlas": {
|
|
128980
|
+
"name": "atlas",
|
|
128981
|
+
"required": false,
|
|
128982
|
+
"type": "string"
|
|
128983
|
+
},
|
|
128984
|
+
"category": {
|
|
128985
|
+
"name": "category",
|
|
128986
|
+
"required": false,
|
|
128987
|
+
"type": "string"
|
|
128988
|
+
},
|
|
128989
|
+
"dimension": {
|
|
128990
|
+
"name": "dimension",
|
|
128991
|
+
"required": false,
|
|
128992
|
+
"type": "string"
|
|
128993
|
+
},
|
|
128994
|
+
"name": {
|
|
128995
|
+
"name": "name",
|
|
128996
|
+
"required": false,
|
|
128997
|
+
"type": "string"
|
|
128998
|
+
},
|
|
128999
|
+
"role": {
|
|
129000
|
+
"name": "role",
|
|
129001
|
+
"required": false,
|
|
129002
|
+
"type": "string"
|
|
129003
|
+
},
|
|
129004
|
+
"sprite": {
|
|
129005
|
+
"name": "sprite",
|
|
129006
|
+
"required": false,
|
|
129007
|
+
"type": "string"
|
|
129008
|
+
},
|
|
129009
|
+
"style": {
|
|
129010
|
+
"name": "style",
|
|
129011
|
+
"required": false,
|
|
129012
|
+
"type": "string"
|
|
129013
|
+
},
|
|
129014
|
+
"thumbnailUrl": {
|
|
129015
|
+
"name": "thumbnailUrl",
|
|
129016
|
+
"required": false,
|
|
129017
|
+
"type": "string"
|
|
129018
|
+
},
|
|
129019
|
+
"url": {
|
|
129020
|
+
"name": "url",
|
|
129021
|
+
"required": false,
|
|
129022
|
+
"type": "string"
|
|
129023
|
+
},
|
|
129024
|
+
"variant": {
|
|
129025
|
+
"name": "variant",
|
|
129026
|
+
"required": false,
|
|
129027
|
+
"type": "string"
|
|
129028
|
+
}
|
|
129029
|
+
},
|
|
129030
|
+
"required": false,
|
|
129031
|
+
"type": "object"
|
|
129032
|
+
},
|
|
129033
|
+
"left": {
|
|
129034
|
+
"name": "left",
|
|
129035
|
+
"properties": {
|
|
129036
|
+
"animations": {
|
|
129037
|
+
"items": {
|
|
129038
|
+
"type": "string"
|
|
129039
|
+
},
|
|
129040
|
+
"name": "animations",
|
|
129041
|
+
"required": false,
|
|
129042
|
+
"type": "array"
|
|
129043
|
+
},
|
|
129044
|
+
"aspect": {
|
|
129045
|
+
"name": "aspect",
|
|
129046
|
+
"required": false,
|
|
129047
|
+
"type": "string"
|
|
129048
|
+
},
|
|
129049
|
+
"atlas": {
|
|
129050
|
+
"name": "atlas",
|
|
129051
|
+
"required": false,
|
|
129052
|
+
"type": "string"
|
|
129053
|
+
},
|
|
129054
|
+
"category": {
|
|
129055
|
+
"name": "category",
|
|
129056
|
+
"required": false,
|
|
129057
|
+
"type": "string"
|
|
129058
|
+
},
|
|
129059
|
+
"dimension": {
|
|
129060
|
+
"name": "dimension",
|
|
129061
|
+
"required": false,
|
|
129062
|
+
"type": "string"
|
|
129063
|
+
},
|
|
129064
|
+
"name": {
|
|
129065
|
+
"name": "name",
|
|
129066
|
+
"required": false,
|
|
129067
|
+
"type": "string"
|
|
129068
|
+
},
|
|
129069
|
+
"role": {
|
|
129070
|
+
"name": "role",
|
|
129071
|
+
"required": false,
|
|
129072
|
+
"type": "string"
|
|
129073
|
+
},
|
|
129074
|
+
"sprite": {
|
|
129075
|
+
"name": "sprite",
|
|
129076
|
+
"required": false,
|
|
129077
|
+
"type": "string"
|
|
129078
|
+
},
|
|
129079
|
+
"style": {
|
|
129080
|
+
"name": "style",
|
|
129081
|
+
"required": false,
|
|
129082
|
+
"type": "string"
|
|
129083
|
+
},
|
|
129084
|
+
"thumbnailUrl": {
|
|
129085
|
+
"name": "thumbnailUrl",
|
|
129086
|
+
"required": false,
|
|
129087
|
+
"type": "string"
|
|
129088
|
+
},
|
|
129089
|
+
"url": {
|
|
129090
|
+
"name": "url",
|
|
129091
|
+
"required": false,
|
|
129092
|
+
"type": "string"
|
|
129093
|
+
},
|
|
129094
|
+
"variant": {
|
|
129095
|
+
"name": "variant",
|
|
129096
|
+
"required": false,
|
|
129097
|
+
"type": "string"
|
|
129098
|
+
}
|
|
129099
|
+
},
|
|
129100
|
+
"required": false,
|
|
129101
|
+
"type": "object"
|
|
129102
|
+
},
|
|
129103
|
+
"right": {
|
|
129104
|
+
"name": "right",
|
|
129105
|
+
"properties": {
|
|
129106
|
+
"animations": {
|
|
129107
|
+
"items": {
|
|
129108
|
+
"type": "string"
|
|
129109
|
+
},
|
|
129110
|
+
"name": "animations",
|
|
129111
|
+
"required": false,
|
|
129112
|
+
"type": "array"
|
|
129113
|
+
},
|
|
129114
|
+
"aspect": {
|
|
129115
|
+
"name": "aspect",
|
|
129116
|
+
"required": false,
|
|
129117
|
+
"type": "string"
|
|
129118
|
+
},
|
|
129119
|
+
"atlas": {
|
|
129120
|
+
"name": "atlas",
|
|
129121
|
+
"required": false,
|
|
129122
|
+
"type": "string"
|
|
129123
|
+
},
|
|
129124
|
+
"category": {
|
|
129125
|
+
"name": "category",
|
|
129126
|
+
"required": false,
|
|
129127
|
+
"type": "string"
|
|
129128
|
+
},
|
|
129129
|
+
"dimension": {
|
|
129130
|
+
"name": "dimension",
|
|
129131
|
+
"required": false,
|
|
129132
|
+
"type": "string"
|
|
129133
|
+
},
|
|
129134
|
+
"name": {
|
|
129135
|
+
"name": "name",
|
|
129136
|
+
"required": false,
|
|
129137
|
+
"type": "string"
|
|
129138
|
+
},
|
|
129139
|
+
"role": {
|
|
129140
|
+
"name": "role",
|
|
129141
|
+
"required": false,
|
|
129142
|
+
"type": "string"
|
|
129143
|
+
},
|
|
129144
|
+
"sprite": {
|
|
129145
|
+
"name": "sprite",
|
|
129146
|
+
"required": false,
|
|
129147
|
+
"type": "string"
|
|
129148
|
+
},
|
|
129149
|
+
"style": {
|
|
129150
|
+
"name": "style",
|
|
129151
|
+
"required": false,
|
|
129152
|
+
"type": "string"
|
|
129153
|
+
},
|
|
129154
|
+
"thumbnailUrl": {
|
|
129155
|
+
"name": "thumbnailUrl",
|
|
129156
|
+
"required": false,
|
|
129157
|
+
"type": "string"
|
|
129158
|
+
},
|
|
129159
|
+
"url": {
|
|
129160
|
+
"name": "url",
|
|
129161
|
+
"required": false,
|
|
129162
|
+
"type": "string"
|
|
129163
|
+
},
|
|
129164
|
+
"variant": {
|
|
129165
|
+
"name": "variant",
|
|
129166
|
+
"required": false,
|
|
129167
|
+
"type": "string"
|
|
129168
|
+
}
|
|
129169
|
+
},
|
|
129170
|
+
"required": false,
|
|
129171
|
+
"type": "object"
|
|
129172
|
+
},
|
|
129173
|
+
"up": {
|
|
129174
|
+
"name": "up",
|
|
129175
|
+
"properties": {
|
|
129176
|
+
"animations": {
|
|
129177
|
+
"items": {
|
|
129178
|
+
"type": "string"
|
|
129179
|
+
},
|
|
129180
|
+
"name": "animations",
|
|
129181
|
+
"required": false,
|
|
129182
|
+
"type": "array"
|
|
129183
|
+
},
|
|
129184
|
+
"aspect": {
|
|
129185
|
+
"name": "aspect",
|
|
129186
|
+
"required": false,
|
|
129187
|
+
"type": "string"
|
|
129188
|
+
},
|
|
129189
|
+
"atlas": {
|
|
129190
|
+
"name": "atlas",
|
|
129191
|
+
"required": false,
|
|
129192
|
+
"type": "string"
|
|
129193
|
+
},
|
|
129194
|
+
"category": {
|
|
129195
|
+
"name": "category",
|
|
129196
|
+
"required": false,
|
|
129197
|
+
"type": "string"
|
|
129198
|
+
},
|
|
129199
|
+
"dimension": {
|
|
129200
|
+
"name": "dimension",
|
|
129201
|
+
"required": false,
|
|
129202
|
+
"type": "string"
|
|
129203
|
+
},
|
|
129204
|
+
"name": {
|
|
129205
|
+
"name": "name",
|
|
129206
|
+
"required": false,
|
|
129207
|
+
"type": "string"
|
|
129208
|
+
},
|
|
129209
|
+
"role": {
|
|
129210
|
+
"name": "role",
|
|
129211
|
+
"required": false,
|
|
129212
|
+
"type": "string"
|
|
129213
|
+
},
|
|
129214
|
+
"sprite": {
|
|
129215
|
+
"name": "sprite",
|
|
129216
|
+
"required": false,
|
|
129217
|
+
"type": "string"
|
|
129218
|
+
},
|
|
129219
|
+
"style": {
|
|
129220
|
+
"name": "style",
|
|
129221
|
+
"required": false,
|
|
129222
|
+
"type": "string"
|
|
129223
|
+
},
|
|
129224
|
+
"thumbnailUrl": {
|
|
129225
|
+
"name": "thumbnailUrl",
|
|
129226
|
+
"required": false,
|
|
129227
|
+
"type": "string"
|
|
129228
|
+
},
|
|
129229
|
+
"url": {
|
|
129230
|
+
"name": "url",
|
|
129231
|
+
"required": false,
|
|
129232
|
+
"type": "string"
|
|
129233
|
+
},
|
|
129234
|
+
"variant": {
|
|
129235
|
+
"name": "variant",
|
|
129236
|
+
"required": false,
|
|
129237
|
+
"type": "string"
|
|
129238
|
+
}
|
|
129239
|
+
},
|
|
129240
|
+
"required": false,
|
|
129241
|
+
"type": "object"
|
|
129242
|
+
}
|
|
129243
|
+
},
|
|
129244
|
+
"tier": "presentation",
|
|
129245
|
+
"type": "DirectionAssets"
|
|
129246
|
+
},
|
|
129247
|
+
"feedbackTrait": {
|
|
129248
|
+
"description": "Trait that provides visual, audio, or narrative feedback. Usually a rebinding of std-fx-particles, std-fx-narrative, std-tutorial-overlay, std-audio-cue, or std-zone-card.",
|
|
129249
|
+
"label": "Feedback trait",
|
|
129250
|
+
"tier": "domain",
|
|
129251
|
+
"type": "trait"
|
|
129252
|
+
},
|
|
129253
|
+
"goalTrait": {
|
|
129254
|
+
"description": "Trait that resolves the win condition. Usually a rebinding of std-objective-flow or std-objective-reach.",
|
|
129255
|
+
"label": "Goal trait",
|
|
129256
|
+
"tier": "domain",
|
|
129257
|
+
"type": "trait"
|
|
129258
|
+
},
|
|
129259
|
+
"hudBackgroundAsset": {
|
|
129260
|
+
"default": {},
|
|
129261
|
+
"description": "HUD panel background sprite (theme chrome).",
|
|
129262
|
+
"label": "HUD Background Asset",
|
|
129263
|
+
"properties": {
|
|
129264
|
+
"animations": {
|
|
129265
|
+
"items": {
|
|
129266
|
+
"type": "string"
|
|
129267
|
+
},
|
|
129268
|
+
"name": "animations",
|
|
129269
|
+
"required": false,
|
|
129270
|
+
"type": "array"
|
|
129271
|
+
},
|
|
129272
|
+
"aspect": {
|
|
129273
|
+
"name": "aspect",
|
|
129274
|
+
"required": false,
|
|
129275
|
+
"type": "string"
|
|
129276
|
+
},
|
|
129277
|
+
"atlas": {
|
|
129278
|
+
"name": "atlas",
|
|
129279
|
+
"required": false,
|
|
129280
|
+
"type": "string"
|
|
129281
|
+
},
|
|
129282
|
+
"category": {
|
|
129283
|
+
"name": "category",
|
|
129284
|
+
"required": false,
|
|
129285
|
+
"type": "string"
|
|
129286
|
+
},
|
|
129287
|
+
"dimension": {
|
|
129288
|
+
"name": "dimension",
|
|
129289
|
+
"required": false,
|
|
129290
|
+
"type": "string"
|
|
129291
|
+
},
|
|
129292
|
+
"name": {
|
|
129293
|
+
"name": "name",
|
|
129294
|
+
"required": false,
|
|
129295
|
+
"type": "string"
|
|
129296
|
+
},
|
|
129297
|
+
"role": {
|
|
129298
|
+
"name": "role",
|
|
129299
|
+
"required": false,
|
|
129300
|
+
"type": "string"
|
|
129301
|
+
},
|
|
129302
|
+
"sprite": {
|
|
129303
|
+
"name": "sprite",
|
|
129304
|
+
"required": false,
|
|
129305
|
+
"type": "string"
|
|
129306
|
+
},
|
|
129307
|
+
"style": {
|
|
129308
|
+
"name": "style",
|
|
129309
|
+
"required": false,
|
|
129310
|
+
"type": "string"
|
|
129311
|
+
},
|
|
129312
|
+
"thumbnailUrl": {
|
|
129313
|
+
"name": "thumbnailUrl",
|
|
129314
|
+
"required": false,
|
|
129315
|
+
"type": "string"
|
|
129316
|
+
},
|
|
129317
|
+
"url": {
|
|
129318
|
+
"name": "url",
|
|
129319
|
+
"required": false,
|
|
129320
|
+
"type": "string"
|
|
129321
|
+
},
|
|
129322
|
+
"variant": {
|
|
129323
|
+
"name": "variant",
|
|
129324
|
+
"required": false,
|
|
129325
|
+
"type": "string"
|
|
129326
|
+
}
|
|
129327
|
+
},
|
|
129328
|
+
"tier": "presentation",
|
|
129329
|
+
"type": "Asset"
|
|
129330
|
+
},
|
|
129331
|
+
"rewardTrait": {
|
|
129332
|
+
"description": "Trait that provides collectibles or scoring. Usually a rebinding of std-pickup, std-score, std-xp, or std-gold.",
|
|
129333
|
+
"label": "Reward trait",
|
|
129334
|
+
"tier": "domain",
|
|
129335
|
+
"type": "trait"
|
|
129336
|
+
}
|
|
129337
|
+
},
|
|
129338
|
+
"entityContract": {
|
|
129339
|
+
"provides": [],
|
|
129340
|
+
"requires": []
|
|
129341
|
+
},
|
|
129342
|
+
"entityRebindable": true,
|
|
129343
|
+
"linkedEntity": "PlatformerPuzzleData",
|
|
129344
|
+
"name": "PlatformerPuzzle",
|
|
129345
|
+
"scope": "instance",
|
|
129346
|
+
"stateMachine": {
|
|
129347
|
+
"events": [
|
|
129348
|
+
{
|
|
129349
|
+
"key": "INIT",
|
|
129350
|
+
"name": "Initialize"
|
|
129351
|
+
}
|
|
129352
|
+
],
|
|
129353
|
+
"states": [
|
|
129354
|
+
{
|
|
129355
|
+
"isInitial": true,
|
|
129356
|
+
"name": "active"
|
|
129357
|
+
}
|
|
129358
|
+
],
|
|
129359
|
+
"transitions": [
|
|
129360
|
+
{
|
|
129361
|
+
"effects": [
|
|
129362
|
+
[
|
|
129363
|
+
"render-ui",
|
|
129364
|
+
"main",
|
|
129365
|
+
null
|
|
129366
|
+
]
|
|
129367
|
+
],
|
|
129368
|
+
"event": "INIT",
|
|
129369
|
+
"from": "active",
|
|
129370
|
+
"to": "active"
|
|
129371
|
+
}
|
|
129372
|
+
]
|
|
129373
|
+
}
|
|
129374
|
+
}
|
|
129375
|
+
],
|
|
129376
|
+
pages: [
|
|
129377
|
+
{
|
|
129378
|
+
"name": "PlatformerPuzzlePage",
|
|
129379
|
+
"path": "/platformer-puzzle",
|
|
129380
|
+
"traits": [
|
|
129381
|
+
{
|
|
129382
|
+
"ref": "PlatformerPuzzleBody"
|
|
129383
|
+
},
|
|
129384
|
+
{
|
|
129385
|
+
"ref": "PlatformerPuzzlePickup"
|
|
129386
|
+
},
|
|
129387
|
+
{
|
|
129388
|
+
"ref": "PlatformerPuzzleObjective"
|
|
129389
|
+
},
|
|
129390
|
+
{
|
|
129391
|
+
"ref": "PlatformerPuzzleChoice"
|
|
129392
|
+
},
|
|
129393
|
+
{
|
|
129394
|
+
"ref": "PlatformerPuzzleFx"
|
|
129395
|
+
},
|
|
129396
|
+
{
|
|
129397
|
+
"ref": "PlatformerPuzzleNarrative"
|
|
129398
|
+
},
|
|
129399
|
+
{
|
|
129400
|
+
"ref": "PlatformerPuzzleTutorial"
|
|
129401
|
+
},
|
|
129402
|
+
{
|
|
129403
|
+
"ref": "PlatformerPuzzle"
|
|
129404
|
+
}
|
|
129405
|
+
]
|
|
129406
|
+
}
|
|
129407
|
+
]
|
|
129408
|
+
});
|
|
129409
|
+
if (built.traits && params.traitOverrides !== void 0) {
|
|
129410
|
+
built.traits = built.traits.map((t) => {
|
|
129411
|
+
if (!t || typeof t !== "object") return t;
|
|
129412
|
+
const tr = t;
|
|
129413
|
+
if (typeof tr.name !== "string") return t;
|
|
129414
|
+
const overrides = params.traitOverrides;
|
|
129415
|
+
const override = overrides?.[tr.name];
|
|
129416
|
+
if (!override) return t;
|
|
129417
|
+
const merged = { ...tr };
|
|
129418
|
+
if (override.config !== void 0) {
|
|
129419
|
+
merged.config = mergeCallSiteConfigOverrides(tr.config ?? {}, override.config);
|
|
129420
|
+
}
|
|
129421
|
+
if (override.linkedEntity !== void 0) merged.linkedEntity = override.linkedEntity;
|
|
129422
|
+
if (override.events !== void 0) merged.events = { ...tr.events ?? {}, ...override.events };
|
|
129423
|
+
if (override.emitsScope !== void 0) merged.emitsScope = override.emitsScope;
|
|
129424
|
+
if (override.listens !== void 0) merged.listens = override.listens;
|
|
129425
|
+
return merged;
|
|
129426
|
+
});
|
|
129427
|
+
}
|
|
129428
|
+
if (built.pages && params.pagePath !== void 0) {
|
|
129429
|
+
built.pages = built.pages.map((p, idx) => {
|
|
129430
|
+
if (!p || typeof p !== "object") return p;
|
|
129431
|
+
if (idx !== 0) return p;
|
|
129432
|
+
const out = { ...p };
|
|
129433
|
+
out.path = params.pagePath;
|
|
129434
|
+
return out;
|
|
129435
|
+
});
|
|
129436
|
+
}
|
|
129437
|
+
return built;
|
|
129438
|
+
}
|
|
129439
|
+
var StdPlatformerPuzzlePlatformerPuzzleOrbitalManifest = {
|
|
129440
|
+
organism: "std-platformer-puzzle",
|
|
129441
|
+
orbitalName: "PlatformerPuzzleOrbital",
|
|
129442
|
+
paramFields: [
|
|
129443
|
+
{ name: "fields", type: "EntityField[]", description: "Extra fields appended to the canonical entity." },
|
|
129444
|
+
{ name: "pagePath", type: "string", description: "URL override for the orbital first page." },
|
|
129445
|
+
{ name: "entityName", type: "string", description: "Rename the canonical entity. PascalCase singular, \u226432 chars. Threads through every trait's linkedEntity binding; compiler rewrites @Entity.x refs." },
|
|
129446
|
+
{ name: "traitOverrides", type: "Partial<Record<TraitName, { config?, linkedEntity?, events?, name?, emitsScope?, listens? }>>", description: "Per-imported-trait overrides \u2014 mirrors .lolo's native trait-composition surface 1:1. effects is excluded (atom-owned; use listens via a sibling trait)." }
|
|
129447
|
+
],
|
|
129448
|
+
traitNames: [
|
|
129449
|
+
"PlatformerPuzzleBody",
|
|
129450
|
+
"PlatformerPuzzlePickup",
|
|
129451
|
+
"PlatformerPuzzleObjective",
|
|
129452
|
+
"PlatformerPuzzleChoice",
|
|
129453
|
+
"PlatformerPuzzleFx",
|
|
129454
|
+
"PlatformerPuzzleNarrative",
|
|
129455
|
+
"PlatformerPuzzleTutorial"
|
|
129456
|
+
],
|
|
129457
|
+
inlineTraitNames: [
|
|
129458
|
+
"PlatformerPuzzleNoopPreview",
|
|
129459
|
+
"PlatformerPuzzle"
|
|
129460
|
+
]
|
|
129461
|
+
};
|
|
129462
|
+
function isStdPlatformerPuzzlePlatformerPuzzleOrbitalParams(p) {
|
|
129463
|
+
const obj = p;
|
|
129464
|
+
if (obj.traitOverrides !== void 0) {
|
|
129465
|
+
if (typeof obj.traitOverrides !== "object" || obj.traitOverrides === null) return false;
|
|
129466
|
+
const allowed = [
|
|
129467
|
+
...StdPlatformerPuzzlePlatformerPuzzleOrbitalManifest.traitNames,
|
|
129468
|
+
...StdPlatformerPuzzlePlatformerPuzzleOrbitalManifest.inlineTraitNames
|
|
129469
|
+
];
|
|
129470
|
+
for (const k of Object.keys(obj.traitOverrides)) {
|
|
129471
|
+
if (!allowed.includes(k)) return false;
|
|
129472
|
+
}
|
|
129473
|
+
}
|
|
129474
|
+
return true;
|
|
129475
|
+
}
|
|
129476
|
+
function stdPlatformerPuzzle(params = {}) {
|
|
129477
|
+
return [
|
|
129478
|
+
stdPlatformerPuzzlePlatformerPuzzleOrbital(params.PlatformerPuzzle ?? {})
|
|
129479
|
+
];
|
|
129480
|
+
}
|
|
128255
129481
|
function stdStatusLifecycleControlStatusLifecycleControlOrbital(params = {}) {
|
|
128256
129482
|
const built = makeOrbitalWithUses({
|
|
128257
129483
|
name: "StatusLifecycleControlOrbital",
|
|
@@ -162251,6 +163477,15 @@ REGISTRY_MUT.set("std-platformer-board-2d::PlatformerBoard2DOrbital", {
|
|
|
162251
163477
|
},
|
|
162252
163478
|
manifest: StdPlatformerBoard2dPlatformerBoard2DOrbitalManifest
|
|
162253
163479
|
});
|
|
163480
|
+
REGISTRY_MUT.set("std-platformer-puzzle::PlatformerPuzzleOrbital", {
|
|
163481
|
+
factory: (p) => {
|
|
163482
|
+
if (!isStdPlatformerPuzzlePlatformerPuzzleOrbitalParams(p)) {
|
|
163483
|
+
throw new TypeError("Invalid params for std-platformer-puzzle::PlatformerPuzzleOrbital");
|
|
163484
|
+
}
|
|
163485
|
+
return stdPlatformerPuzzlePlatformerPuzzleOrbital(p);
|
|
163486
|
+
},
|
|
163487
|
+
manifest: StdPlatformerPuzzlePlatformerPuzzleOrbitalManifest
|
|
163488
|
+
});
|
|
162254
163489
|
REGISTRY_MUT.set("std-rate-limiter::RateBucketOrbital", {
|
|
162255
163490
|
factory: (p) => {
|
|
162256
163491
|
if (!isStdRateLimiterRateBucketOrbitalParams(p)) {
|