@almadar/std 6.5.2 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/behaviors/registry/atoms/std-async.orb +147 -86
- package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/behaviors/registry/atoms/std-browse.orb +260 -126
- package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/behaviors/registry/atoms/std-collision.orb +136 -135
- package/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/behaviors/registry/atoms/std-combat.orb +171 -98
- package/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/behaviors/registry/atoms/std-display.orb +491 -587
- package/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/behaviors/registry/atoms/std-filter.orb +311 -326
- package/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/behaviors/registry/atoms/std-input.orb +128 -393
- package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/behaviors/registry/atoms/std-loading.orb +127 -126
- package/behaviors/registry/atoms/std-modal.orb +30 -267
- package/behaviors/registry/atoms/std-movement.orb +391 -292
- package/behaviors/registry/atoms/std-notification.orb +133 -75
- package/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/behaviors/registry/atoms/std-push.orb +172 -36
- package/behaviors/registry/atoms/std-quest.orb +552 -449
- package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/behaviors/registry/atoms/std-rating.orb +123 -65
- package/behaviors/registry/atoms/std-related.orb +202 -26
- package/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/behaviors/registry/atoms/std-score.orb +210 -146
- package/behaviors/registry/atoms/std-search.orb +265 -138
- package/behaviors/registry/atoms/std-selection.orb +311 -220
- package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/behaviors/registry/atoms/std-sort.orb +284 -207
- package/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/behaviors/registry/atoms/std-theme.orb +193 -135
- package/behaviors/registry/atoms/std-timer.orb +320 -344
- package/behaviors/registry/atoms/std-undo.orb +278 -199
- package/behaviors/registry/atoms/std-upload.orb +112 -111
- package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/behaviors/registry/molecules/std-cart.orb +347 -406
- package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/behaviors/registry/molecules/std-detail.orb +133 -138
- package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/behaviors/registry/molecules/std-list.orb +280 -205
- package/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/dist/behaviors/registry/atoms/std-async.orb +147 -86
- package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
- package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
- package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
- package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/dist/behaviors/registry/atoms/std-display.orb +491 -587
- package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
- package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/dist/behaviors/registry/atoms/std-input.orb +128 -393
- package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
- package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
- package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
- package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
- package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/dist/behaviors/registry/atoms/std-push.orb +172 -36
- package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
- package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
- package/dist/behaviors/registry/atoms/std-related.orb +202 -26
- package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/dist/behaviors/registry/atoms/std-score.orb +210 -146
- package/dist/behaviors/registry/atoms/std-search.orb +265 -138
- package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
- package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
- package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
- package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
- package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
- package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
- package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
- package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/dist/behaviors/registry/molecules/std-list.orb +280 -205
- package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/modules/core.js +16 -4
- package/dist/modules/core.js.map +1 -1
- package/dist/modules/index.js +16 -4
- package/dist/modules/index.js.map +1 -1
- package/dist/registry.js +16 -4
- package/dist/registry.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-gameflow",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-gameflow as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "GameSessionOrbital",
|
|
@@ -38,20 +38,68 @@
|
|
|
38
38
|
{
|
|
39
39
|
"name": "score",
|
|
40
40
|
"type": "number",
|
|
41
|
-
"default": 0
|
|
41
|
+
"default": 0.0
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"name": "level",
|
|
45
45
|
"type": "number",
|
|
46
|
-
"default": 1
|
|
46
|
+
"default": 1.0
|
|
47
47
|
}
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
"traits": [
|
|
51
51
|
{
|
|
52
52
|
"name": "GameSessionGameflow",
|
|
53
|
-
"linkedEntity": "GameSession",
|
|
54
53
|
"category": "interaction",
|
|
54
|
+
"linkedEntity": "GameSession",
|
|
55
|
+
"emits": [
|
|
56
|
+
{
|
|
57
|
+
"event": "GameSessionLoaded",
|
|
58
|
+
"description": "Fired when GameSession finishes loading",
|
|
59
|
+
"scope": "internal",
|
|
60
|
+
"payload": [
|
|
61
|
+
{
|
|
62
|
+
"name": "id",
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "name",
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "description",
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "status",
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "createdAt",
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "score",
|
|
83
|
+
"type": "number"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "level",
|
|
87
|
+
"type": "number"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"event": "GameSessionLoadFailed",
|
|
93
|
+
"description": "Fired when GameSession fails to load",
|
|
94
|
+
"scope": "internal",
|
|
95
|
+
"payload": [
|
|
96
|
+
{
|
|
97
|
+
"name": "message",
|
|
98
|
+
"type": "string"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
],
|
|
55
103
|
"stateMachine": {
|
|
56
104
|
"states": [
|
|
57
105
|
{
|
|
@@ -77,29 +125,43 @@
|
|
|
77
125
|
"key": "START",
|
|
78
126
|
"name": "Start"
|
|
79
127
|
},
|
|
128
|
+
{
|
|
129
|
+
"key": "NAVIGATE",
|
|
130
|
+
"name": "Navigate"
|
|
131
|
+
},
|
|
80
132
|
{
|
|
81
133
|
"key": "PAUSE",
|
|
82
134
|
"name": "Pause"
|
|
83
135
|
},
|
|
136
|
+
{
|
|
137
|
+
"key": "GAME_OVER",
|
|
138
|
+
"name": "Game Over"
|
|
139
|
+
},
|
|
84
140
|
{
|
|
85
141
|
"key": "RESUME",
|
|
86
142
|
"name": "Resume"
|
|
87
143
|
},
|
|
88
144
|
{
|
|
89
|
-
"key": "
|
|
90
|
-
"name": "
|
|
145
|
+
"key": "CLOSE",
|
|
146
|
+
"name": "Close"
|
|
91
147
|
},
|
|
92
148
|
{
|
|
93
149
|
"key": "RESTART",
|
|
94
150
|
"name": "Restart"
|
|
95
151
|
},
|
|
96
152
|
{
|
|
97
|
-
"key": "
|
|
98
|
-
"name": "
|
|
153
|
+
"key": "GameSessionLoaded",
|
|
154
|
+
"name": "GameSession loaded"
|
|
99
155
|
},
|
|
100
156
|
{
|
|
101
|
-
"key": "
|
|
102
|
-
"name": "
|
|
157
|
+
"key": "GameSessionLoadFailed",
|
|
158
|
+
"name": "GameSession load failed",
|
|
159
|
+
"payload": [
|
|
160
|
+
{
|
|
161
|
+
"name": "message",
|
|
162
|
+
"type": "string"
|
|
163
|
+
}
|
|
164
|
+
]
|
|
103
165
|
}
|
|
104
166
|
],
|
|
105
167
|
"transitions": [
|
|
@@ -110,22 +172,28 @@
|
|
|
110
172
|
"effects": [
|
|
111
173
|
[
|
|
112
174
|
"fetch",
|
|
113
|
-
"GameSession"
|
|
175
|
+
"GameSession",
|
|
176
|
+
{
|
|
177
|
+
"emit": {
|
|
178
|
+
"success": "GameSessionLoaded",
|
|
179
|
+
"failure": "GameSessionLoadFailed"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
114
182
|
],
|
|
115
183
|
[
|
|
116
184
|
"render-ui",
|
|
117
185
|
"main",
|
|
118
186
|
{
|
|
119
|
-
"type": "game-menu",
|
|
120
|
-
"title": "GameSession",
|
|
121
|
-
"subtitle": "Main Menu",
|
|
122
187
|
"menuItems": [
|
|
123
188
|
{
|
|
124
189
|
"label": "Start Game",
|
|
125
190
|
"event": "START",
|
|
126
191
|
"variant": "primary"
|
|
127
192
|
}
|
|
128
|
-
]
|
|
193
|
+
],
|
|
194
|
+
"subtitle": "Main Menu",
|
|
195
|
+
"title": "GameSession",
|
|
196
|
+
"type": "game-menu"
|
|
129
197
|
}
|
|
130
198
|
]
|
|
131
199
|
]
|
|
@@ -142,7 +210,6 @@
|
|
|
142
210
|
"type": "game-hud",
|
|
143
211
|
"stats": [
|
|
144
212
|
{
|
|
145
|
-
"label": "Score",
|
|
146
213
|
"value": [
|
|
147
214
|
"object/get",
|
|
148
215
|
[
|
|
@@ -150,7 +217,8 @@
|
|
|
150
217
|
"@entity"
|
|
151
218
|
],
|
|
152
219
|
"score"
|
|
153
|
-
]
|
|
220
|
+
],
|
|
221
|
+
"label": "Score"
|
|
154
222
|
},
|
|
155
223
|
{
|
|
156
224
|
"label": "Level",
|
|
@@ -171,14 +239,7 @@
|
|
|
171
239
|
{
|
|
172
240
|
"from": "menu",
|
|
173
241
|
"to": "menu",
|
|
174
|
-
"event": "NAVIGATE"
|
|
175
|
-
"effects": []
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"from": "paused",
|
|
179
|
-
"to": "paused",
|
|
180
|
-
"event": "NAVIGATE",
|
|
181
|
-
"effects": []
|
|
242
|
+
"event": "NAVIGATE"
|
|
182
243
|
},
|
|
183
244
|
{
|
|
184
245
|
"from": "playing",
|
|
@@ -189,18 +250,18 @@
|
|
|
189
250
|
"render-ui",
|
|
190
251
|
"modal",
|
|
191
252
|
{
|
|
192
|
-
"type": "game-menu",
|
|
193
253
|
"title": "Paused",
|
|
254
|
+
"type": "game-menu",
|
|
194
255
|
"menuItems": [
|
|
195
256
|
{
|
|
196
|
-
"label": "Resume",
|
|
197
257
|
"event": "RESUME",
|
|
198
|
-
"variant": "primary"
|
|
258
|
+
"variant": "primary",
|
|
259
|
+
"label": "Resume"
|
|
199
260
|
},
|
|
200
261
|
{
|
|
262
|
+
"variant": "ghost",
|
|
201
263
|
"label": "Quit",
|
|
202
|
-
"event": "RESTART"
|
|
203
|
-
"variant": "ghost"
|
|
264
|
+
"event": "RESTART"
|
|
204
265
|
}
|
|
205
266
|
]
|
|
206
267
|
}
|
|
@@ -208,20 +269,28 @@
|
|
|
208
269
|
]
|
|
209
270
|
},
|
|
210
271
|
{
|
|
211
|
-
"from": "
|
|
212
|
-
"to": "
|
|
213
|
-
"event": "
|
|
272
|
+
"from": "playing",
|
|
273
|
+
"to": "gameover",
|
|
274
|
+
"event": "GAME_OVER",
|
|
214
275
|
"effects": [
|
|
215
|
-
[
|
|
216
|
-
"render-ui",
|
|
217
|
-
"modal",
|
|
218
|
-
null
|
|
219
|
-
],
|
|
220
276
|
[
|
|
221
277
|
"render-ui",
|
|
222
278
|
"main",
|
|
223
279
|
{
|
|
224
|
-
"type": "game-
|
|
280
|
+
"type": "game-over-screen",
|
|
281
|
+
"title": "Game Over",
|
|
282
|
+
"menuItems": [
|
|
283
|
+
{
|
|
284
|
+
"variant": "primary",
|
|
285
|
+
"label": "Play Again",
|
|
286
|
+
"event": "RESTART"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"label": "Main Menu",
|
|
290
|
+
"variant": "secondary",
|
|
291
|
+
"event": "RESTART"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
225
294
|
"stats": [
|
|
226
295
|
{
|
|
227
296
|
"label": "Score",
|
|
@@ -235,7 +304,6 @@
|
|
|
235
304
|
]
|
|
236
305
|
},
|
|
237
306
|
{
|
|
238
|
-
"label": "Level",
|
|
239
307
|
"value": [
|
|
240
308
|
"object/get",
|
|
241
309
|
[
|
|
@@ -243,17 +311,23 @@
|
|
|
243
311
|
"@entity"
|
|
244
312
|
],
|
|
245
313
|
"level"
|
|
246
|
-
]
|
|
314
|
+
],
|
|
315
|
+
"label": "Level"
|
|
247
316
|
}
|
|
248
317
|
]
|
|
249
318
|
}
|
|
250
319
|
]
|
|
251
320
|
]
|
|
252
321
|
},
|
|
322
|
+
{
|
|
323
|
+
"from": "paused",
|
|
324
|
+
"to": "paused",
|
|
325
|
+
"event": "NAVIGATE"
|
|
326
|
+
},
|
|
253
327
|
{
|
|
254
328
|
"from": "paused",
|
|
255
329
|
"to": "playing",
|
|
256
|
-
"event": "
|
|
330
|
+
"event": "RESUME",
|
|
257
331
|
"effects": [
|
|
258
332
|
[
|
|
259
333
|
"render-ui",
|
|
@@ -278,7 +352,6 @@
|
|
|
278
352
|
]
|
|
279
353
|
},
|
|
280
354
|
{
|
|
281
|
-
"label": "Level",
|
|
282
355
|
"value": [
|
|
283
356
|
"object/get",
|
|
284
357
|
[
|
|
@@ -286,7 +359,8 @@
|
|
|
286
359
|
"@entity"
|
|
287
360
|
],
|
|
288
361
|
"level"
|
|
289
|
-
]
|
|
362
|
+
],
|
|
363
|
+
"label": "Level"
|
|
290
364
|
}
|
|
291
365
|
]
|
|
292
366
|
}
|
|
@@ -294,16 +368,20 @@
|
|
|
294
368
|
]
|
|
295
369
|
},
|
|
296
370
|
{
|
|
297
|
-
"from": "
|
|
298
|
-
"to": "
|
|
299
|
-
"event": "
|
|
371
|
+
"from": "paused",
|
|
372
|
+
"to": "playing",
|
|
373
|
+
"event": "CLOSE",
|
|
300
374
|
"effects": [
|
|
375
|
+
[
|
|
376
|
+
"render-ui",
|
|
377
|
+
"modal",
|
|
378
|
+
null
|
|
379
|
+
],
|
|
301
380
|
[
|
|
302
381
|
"render-ui",
|
|
303
382
|
"main",
|
|
304
383
|
{
|
|
305
|
-
"type": "game-
|
|
306
|
-
"title": "Game Over",
|
|
384
|
+
"type": "game-hud",
|
|
307
385
|
"stats": [
|
|
308
386
|
{
|
|
309
387
|
"label": "Score",
|
|
@@ -317,7 +395,6 @@
|
|
|
317
395
|
]
|
|
318
396
|
},
|
|
319
397
|
{
|
|
320
|
-
"label": "Level",
|
|
321
398
|
"value": [
|
|
322
399
|
"object/get",
|
|
323
400
|
[
|
|
@@ -325,19 +402,8 @@
|
|
|
325
402
|
"@entity"
|
|
326
403
|
],
|
|
327
404
|
"level"
|
|
328
|
-
]
|
|
329
|
-
|
|
330
|
-
],
|
|
331
|
-
"menuItems": [
|
|
332
|
-
{
|
|
333
|
-
"label": "Play Again",
|
|
334
|
-
"event": "RESTART",
|
|
335
|
-
"variant": "primary"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"label": "Main Menu",
|
|
339
|
-
"event": "RESTART",
|
|
340
|
-
"variant": "secondary"
|
|
405
|
+
],
|
|
406
|
+
"label": "Level"
|
|
341
407
|
}
|
|
342
408
|
]
|
|
343
409
|
}
|
|
@@ -345,58 +411,59 @@
|
|
|
345
411
|
]
|
|
346
412
|
},
|
|
347
413
|
{
|
|
348
|
-
"from": "
|
|
414
|
+
"from": "paused",
|
|
349
415
|
"to": "menu",
|
|
350
416
|
"event": "RESTART",
|
|
351
417
|
"effects": [
|
|
418
|
+
[
|
|
419
|
+
"render-ui",
|
|
420
|
+
"modal",
|
|
421
|
+
null
|
|
422
|
+
],
|
|
352
423
|
[
|
|
353
424
|
"render-ui",
|
|
354
425
|
"main",
|
|
355
426
|
{
|
|
356
|
-
"type": "game-menu",
|
|
357
|
-
"title": "GameSession",
|
|
358
427
|
"subtitle": "Main Menu",
|
|
428
|
+
"title": "GameSession",
|
|
359
429
|
"menuItems": [
|
|
360
430
|
{
|
|
361
431
|
"label": "Start Game",
|
|
362
|
-
"
|
|
363
|
-
"
|
|
432
|
+
"variant": "primary",
|
|
433
|
+
"event": "START"
|
|
364
434
|
}
|
|
365
|
-
]
|
|
435
|
+
],
|
|
436
|
+
"type": "game-menu"
|
|
366
437
|
}
|
|
367
438
|
]
|
|
368
439
|
]
|
|
369
440
|
},
|
|
370
441
|
{
|
|
371
|
-
"from": "
|
|
442
|
+
"from": "gameover",
|
|
372
443
|
"to": "menu",
|
|
373
444
|
"event": "RESTART",
|
|
374
445
|
"effects": [
|
|
375
|
-
[
|
|
376
|
-
"render-ui",
|
|
377
|
-
"modal",
|
|
378
|
-
null
|
|
379
|
-
],
|
|
380
446
|
[
|
|
381
447
|
"render-ui",
|
|
382
448
|
"main",
|
|
383
449
|
{
|
|
384
|
-
"type": "game-menu",
|
|
385
|
-
"title": "GameSession",
|
|
386
450
|
"subtitle": "Main Menu",
|
|
451
|
+
"title": "GameSession",
|
|
387
452
|
"menuItems": [
|
|
388
453
|
{
|
|
389
454
|
"label": "Start Game",
|
|
390
455
|
"event": "START",
|
|
391
456
|
"variant": "primary"
|
|
392
457
|
}
|
|
393
|
-
]
|
|
458
|
+
],
|
|
459
|
+
"type": "game-menu"
|
|
394
460
|
}
|
|
395
461
|
]
|
|
396
462
|
]
|
|
397
463
|
}
|
|
398
464
|
]
|
|
399
|
-
}
|
|
465
|
+
},
|
|
466
|
+
"scope": "instance"
|
|
400
467
|
}
|
|
401
468
|
],
|
|
402
469
|
"pages": [
|
|
@@ -412,4 +479,4 @@
|
|
|
412
479
|
]
|
|
413
480
|
}
|
|
414
481
|
]
|
|
415
|
-
}
|
|
482
|
+
}
|