@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-sprite",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-sprite as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "SpriteEntityOrbital",
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
{
|
|
39
39
|
"name": "x",
|
|
40
40
|
"type": "number",
|
|
41
|
-
"default": 0
|
|
41
|
+
"default": 0.0
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"name": "y",
|
|
45
45
|
"type": "number",
|
|
46
|
-
"default": 0
|
|
46
|
+
"default": 0.0
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "frame",
|
|
50
50
|
"type": "number",
|
|
51
|
-
"default": 0
|
|
51
|
+
"default": 0.0
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"name": "spritesheet",
|
|
@@ -60,8 +60,64 @@
|
|
|
60
60
|
"traits": [
|
|
61
61
|
{
|
|
62
62
|
"name": "SpriteEntitySprite",
|
|
63
|
-
"linkedEntity": "SpriteEntity",
|
|
64
63
|
"category": "interaction",
|
|
64
|
+
"linkedEntity": "SpriteEntity",
|
|
65
|
+
"emits": [
|
|
66
|
+
{
|
|
67
|
+
"event": "SpriteEntityLoaded",
|
|
68
|
+
"description": "Fired when SpriteEntity finishes loading",
|
|
69
|
+
"scope": "internal",
|
|
70
|
+
"payload": [
|
|
71
|
+
{
|
|
72
|
+
"name": "id",
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "name",
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "description",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "status",
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "createdAt",
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "x",
|
|
93
|
+
"type": "number"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "y",
|
|
97
|
+
"type": "number"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "frame",
|
|
101
|
+
"type": "number"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "spritesheet",
|
|
105
|
+
"type": "string"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"event": "SpriteEntityLoadFailed",
|
|
111
|
+
"description": "Fired when SpriteEntity fails to load",
|
|
112
|
+
"scope": "internal",
|
|
113
|
+
"payload": [
|
|
114
|
+
{
|
|
115
|
+
"name": "message",
|
|
116
|
+
"type": "string"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
],
|
|
65
121
|
"stateMachine": {
|
|
66
122
|
"states": [
|
|
67
123
|
{
|
|
@@ -88,6 +144,20 @@
|
|
|
88
144
|
{
|
|
89
145
|
"key": "CLICK",
|
|
90
146
|
"name": "Click"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"key": "SpriteEntityLoaded",
|
|
150
|
+
"name": "SpriteEntity loaded"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"key": "SpriteEntityLoadFailed",
|
|
154
|
+
"name": "SpriteEntity load failed",
|
|
155
|
+
"payload": [
|
|
156
|
+
{
|
|
157
|
+
"name": "message",
|
|
158
|
+
"type": "string"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
91
161
|
}
|
|
92
162
|
],
|
|
93
163
|
"transitions": [
|
|
@@ -98,94 +168,100 @@
|
|
|
98
168
|
"effects": [
|
|
99
169
|
[
|
|
100
170
|
"fetch",
|
|
101
|
-
"SpriteEntity"
|
|
171
|
+
"SpriteEntity",
|
|
172
|
+
{
|
|
173
|
+
"emit": {
|
|
174
|
+
"success": "SpriteEntityLoaded",
|
|
175
|
+
"failure": "SpriteEntityLoadFailed"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
102
178
|
],
|
|
103
179
|
[
|
|
104
180
|
"render-ui",
|
|
105
181
|
"main",
|
|
106
182
|
{
|
|
107
|
-
"type": "stack",
|
|
108
|
-
"direction": "vertical",
|
|
109
|
-
"gap": "md",
|
|
110
183
|
"children": [
|
|
111
184
|
{
|
|
112
|
-
"type": "stack",
|
|
113
|
-
"direction": "horizontal",
|
|
114
|
-
"gap": "sm",
|
|
115
185
|
"align": "center",
|
|
116
186
|
"children": [
|
|
117
187
|
{
|
|
188
|
+
"size": "lg",
|
|
118
189
|
"type": "icon",
|
|
119
|
-
"name": "image"
|
|
120
|
-
"size": "lg"
|
|
190
|
+
"name": "image"
|
|
121
191
|
},
|
|
122
192
|
{
|
|
123
193
|
"type": "typography",
|
|
124
194
|
"content": "SpriteEntity Sprite",
|
|
125
195
|
"variant": "h2"
|
|
126
196
|
}
|
|
127
|
-
]
|
|
197
|
+
],
|
|
198
|
+
"type": "stack",
|
|
199
|
+
"direction": "horizontal",
|
|
200
|
+
"gap": "sm"
|
|
128
201
|
},
|
|
129
202
|
{
|
|
130
203
|
"type": "divider"
|
|
131
204
|
},
|
|
132
205
|
{
|
|
133
|
-
"type": "box",
|
|
134
206
|
"className": "relative bg-gray-900 rounded-lg overflow-hidden",
|
|
135
|
-
"
|
|
136
|
-
"width": "256px",
|
|
137
|
-
"height": "256px",
|
|
138
|
-
"margin": "0 auto"
|
|
139
|
-
},
|
|
207
|
+
"type": "box",
|
|
140
208
|
"children": [
|
|
141
209
|
{
|
|
142
|
-
"
|
|
210
|
+
"y": 64.0,
|
|
211
|
+
"frameWidth": 64.0,
|
|
143
212
|
"spritesheet": "@SpriteEntity.spritesheet",
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"scale": 1
|
|
213
|
+
"x": 64.0,
|
|
214
|
+
"type": "sprite",
|
|
215
|
+
"frameHeight": 64.0,
|
|
216
|
+
"scale": 1.0,
|
|
217
|
+
"frame": "@SpriteEntity.frame"
|
|
150
218
|
}
|
|
151
|
-
]
|
|
219
|
+
],
|
|
220
|
+
"style": {
|
|
221
|
+
"width": "256px",
|
|
222
|
+
"height": "256px",
|
|
223
|
+
"margin": "0 auto"
|
|
224
|
+
}
|
|
152
225
|
},
|
|
153
226
|
{
|
|
154
227
|
"type": "stack",
|
|
155
228
|
"direction": "horizontal",
|
|
156
|
-
"gap": "md",
|
|
157
|
-
"justify": "center",
|
|
158
229
|
"children": [
|
|
159
230
|
{
|
|
160
|
-
"type": "typography",
|
|
161
231
|
"content": "Frame: ",
|
|
162
232
|
"variant": "caption",
|
|
233
|
+
"type": "typography",
|
|
163
234
|
"color": "muted"
|
|
164
235
|
},
|
|
165
236
|
{
|
|
237
|
+
"variant": "default",
|
|
166
238
|
"type": "badge",
|
|
167
|
-
"content": "@SpriteEntity.frame"
|
|
168
|
-
"variant": "default"
|
|
239
|
+
"content": "@SpriteEntity.frame"
|
|
169
240
|
},
|
|
170
241
|
{
|
|
171
|
-
"
|
|
242
|
+
"color": "muted",
|
|
172
243
|
"content": "Position: ",
|
|
173
244
|
"variant": "caption",
|
|
174
|
-
"
|
|
245
|
+
"type": "typography"
|
|
175
246
|
},
|
|
176
247
|
{
|
|
177
248
|
"type": "badge",
|
|
249
|
+
"variant": "default",
|
|
178
250
|
"content": [
|
|
179
|
-
"
|
|
251
|
+
"concat",
|
|
180
252
|
"@SpriteEntity.x",
|
|
181
253
|
",",
|
|
182
254
|
"@SpriteEntity.y"
|
|
183
|
-
]
|
|
184
|
-
"variant": "default"
|
|
255
|
+
]
|
|
185
256
|
}
|
|
186
|
-
]
|
|
257
|
+
],
|
|
258
|
+
"justify": "center",
|
|
259
|
+
"gap": "md"
|
|
187
260
|
}
|
|
188
|
-
]
|
|
261
|
+
],
|
|
262
|
+
"gap": "md",
|
|
263
|
+
"direction": "vertical",
|
|
264
|
+
"type": "stack"
|
|
189
265
|
}
|
|
190
266
|
]
|
|
191
267
|
]
|
|
@@ -199,34 +275,33 @@
|
|
|
199
275
|
"render-ui",
|
|
200
276
|
"main",
|
|
201
277
|
{
|
|
202
|
-
"type": "stack",
|
|
203
278
|
"direction": "vertical",
|
|
279
|
+
"type": "stack",
|
|
204
280
|
"gap": "md",
|
|
205
281
|
"children": [
|
|
206
282
|
{
|
|
207
|
-
"type": "stack",
|
|
208
283
|
"direction": "horizontal",
|
|
209
|
-
"gap": "sm",
|
|
210
|
-
"align": "center",
|
|
211
284
|
"children": [
|
|
212
285
|
{
|
|
213
|
-
"type": "icon",
|
|
214
286
|
"name": "image",
|
|
215
|
-
"size": "lg"
|
|
287
|
+
"size": "lg",
|
|
288
|
+
"type": "icon"
|
|
216
289
|
},
|
|
217
290
|
{
|
|
218
|
-
"type": "typography",
|
|
219
291
|
"content": "SpriteEntity Sprite",
|
|
292
|
+
"type": "typography",
|
|
220
293
|
"variant": "h2"
|
|
221
294
|
}
|
|
222
|
-
]
|
|
295
|
+
],
|
|
296
|
+
"align": "center",
|
|
297
|
+
"gap": "sm",
|
|
298
|
+
"type": "stack"
|
|
223
299
|
},
|
|
224
300
|
{
|
|
225
301
|
"type": "divider"
|
|
226
302
|
},
|
|
227
303
|
{
|
|
228
304
|
"type": "box",
|
|
229
|
-
"className": "relative bg-gray-900 rounded-lg overflow-hidden",
|
|
230
305
|
"style": {
|
|
231
306
|
"width": "256px",
|
|
232
307
|
"height": "256px",
|
|
@@ -235,50 +310,51 @@
|
|
|
235
310
|
"children": [
|
|
236
311
|
{
|
|
237
312
|
"type": "sprite",
|
|
238
|
-
"spritesheet": "@SpriteEntity.spritesheet",
|
|
239
|
-
"frameWidth": 64,
|
|
240
|
-
"frameHeight": 64,
|
|
241
313
|
"frame": "@SpriteEntity.frame",
|
|
242
|
-
"
|
|
243
|
-
"y": 64,
|
|
244
|
-
"
|
|
314
|
+
"frameHeight": 64.0,
|
|
315
|
+
"y": 64.0,
|
|
316
|
+
"spritesheet": "@SpriteEntity.spritesheet",
|
|
317
|
+
"frameWidth": 64.0,
|
|
318
|
+
"x": 64.0,
|
|
319
|
+
"scale": 1.0
|
|
245
320
|
}
|
|
246
|
-
]
|
|
321
|
+
],
|
|
322
|
+
"className": "relative bg-gray-900 rounded-lg overflow-hidden"
|
|
247
323
|
},
|
|
248
324
|
{
|
|
249
|
-
"type": "stack",
|
|
250
|
-
"direction": "horizontal",
|
|
251
325
|
"gap": "md",
|
|
252
326
|
"justify": "center",
|
|
253
327
|
"children": [
|
|
254
328
|
{
|
|
255
|
-
"type": "typography",
|
|
256
|
-
"content": "Frame: ",
|
|
257
329
|
"variant": "caption",
|
|
258
|
-
"color": "muted"
|
|
330
|
+
"color": "muted",
|
|
331
|
+
"content": "Frame: ",
|
|
332
|
+
"type": "typography"
|
|
259
333
|
},
|
|
260
334
|
{
|
|
261
335
|
"type": "badge",
|
|
262
|
-
"
|
|
263
|
-
"
|
|
336
|
+
"variant": "default",
|
|
337
|
+
"content": "@SpriteEntity.frame"
|
|
264
338
|
},
|
|
265
339
|
{
|
|
340
|
+
"color": "muted",
|
|
266
341
|
"type": "typography",
|
|
267
|
-
"content": "Position: ",
|
|
268
342
|
"variant": "caption",
|
|
269
|
-
"
|
|
343
|
+
"content": "Position: "
|
|
270
344
|
},
|
|
271
345
|
{
|
|
272
346
|
"type": "badge",
|
|
347
|
+
"variant": "default",
|
|
273
348
|
"content": [
|
|
274
|
-
"
|
|
349
|
+
"concat",
|
|
275
350
|
"@SpriteEntity.x",
|
|
276
351
|
",",
|
|
277
352
|
"@SpriteEntity.y"
|
|
278
|
-
]
|
|
279
|
-
"variant": "default"
|
|
353
|
+
]
|
|
280
354
|
}
|
|
281
|
-
]
|
|
355
|
+
],
|
|
356
|
+
"direction": "horizontal",
|
|
357
|
+
"type": "stack"
|
|
282
358
|
}
|
|
283
359
|
]
|
|
284
360
|
}
|
|
@@ -288,11 +364,11 @@
|
|
|
288
364
|
{
|
|
289
365
|
"from": "idle",
|
|
290
366
|
"to": "idle",
|
|
291
|
-
"event": "CLICK"
|
|
292
|
-
"effects": []
|
|
367
|
+
"event": "CLICK"
|
|
293
368
|
}
|
|
294
369
|
]
|
|
295
|
-
}
|
|
370
|
+
},
|
|
371
|
+
"scope": "instance"
|
|
296
372
|
}
|
|
297
373
|
],
|
|
298
374
|
"pages": [
|
|
@@ -308,4 +384,4 @@
|
|
|
308
384
|
]
|
|
309
385
|
}
|
|
310
386
|
]
|
|
311
|
-
}
|
|
387
|
+
}
|