@almadar/std 3.2.1 → 3.2.3

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.
Files changed (295) hide show
  1. package/behaviors/exports/atoms/std-async.orb +41 -24
  2. package/behaviors/exports/atoms/std-browse.orb +44 -44
  3. package/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  4. package/behaviors/exports/atoms/std-calendar.orb +770 -0
  5. package/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  6. package/behaviors/exports/atoms/std-collision.orb +278 -206
  7. package/behaviors/exports/atoms/std-combat-log.orb +6 -1
  8. package/behaviors/exports/atoms/std-combat.orb +6 -1
  9. package/behaviors/exports/atoms/std-confirmation.orb +212 -7
  10. package/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  11. package/behaviors/exports/atoms/std-display.orb +1186 -376
  12. package/behaviors/exports/atoms/std-drawer.orb +307 -101
  13. package/behaviors/exports/atoms/std-filter.orb +211 -18
  14. package/behaviors/exports/atoms/std-flip-card.orb +596 -0
  15. package/behaviors/exports/atoms/std-gallery.orb +382 -0
  16. package/behaviors/exports/atoms/std-game-audio.orb +6 -1
  17. package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  18. package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  19. package/behaviors/exports/atoms/std-game-hud.orb +6 -1
  20. package/behaviors/exports/atoms/std-game-menu.orb +6 -1
  21. package/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  22. package/behaviors/exports/atoms/std-gameflow.orb +100 -5
  23. package/behaviors/exports/atoms/std-input.orb +142 -137
  24. package/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  25. package/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  26. package/behaviors/exports/atoms/std-loading.orb +149 -170
  27. package/behaviors/exports/atoms/std-modal.orb +159 -94
  28. package/behaviors/exports/atoms/std-movement.orb +401 -31
  29. package/behaviors/exports/atoms/std-notification.orb +117 -95
  30. package/behaviors/exports/atoms/std-overworld.orb +44 -16
  31. package/behaviors/exports/atoms/std-pagination.orb +44 -115
  32. package/behaviors/exports/atoms/std-physics2d.orb +6 -1
  33. package/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  34. package/behaviors/exports/atoms/std-quest.orb +309 -34
  35. package/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  36. package/behaviors/exports/atoms/std-rating.orb +328 -0
  37. package/behaviors/exports/atoms/std-score-board.orb +6 -1
  38. package/behaviors/exports/atoms/std-score.orb +252 -11
  39. package/behaviors/exports/atoms/std-search.orb +62 -47
  40. package/behaviors/exports/atoms/std-selection.orb +180 -149
  41. package/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  42. package/behaviors/exports/atoms/std-sort.orb +192 -60
  43. package/behaviors/exports/atoms/std-sprite.orb +6 -1
  44. package/behaviors/exports/atoms/std-tabs.orb +25 -15
  45. package/behaviors/exports/atoms/std-text-effects.orb +658 -0
  46. package/behaviors/exports/atoms/std-theme.orb +573 -0
  47. package/behaviors/exports/atoms/std-timer.orb +483 -91
  48. package/behaviors/exports/atoms/std-undo.orb +211 -81
  49. package/behaviors/exports/atoms/std-upload.orb +535 -0
  50. package/behaviors/exports/atoms/std-wizard.orb +677 -240
  51. package/behaviors/exports/molecules/std-builder-game.orb +49 -4
  52. package/behaviors/exports/molecules/std-cart.orb +325 -102
  53. package/behaviors/exports/molecules/std-classifier-game.orb +49 -4
  54. package/behaviors/exports/molecules/std-debugger-game.orb +49 -4
  55. package/behaviors/exports/molecules/std-detail.orb +52 -48
  56. package/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
  57. package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  58. package/behaviors/exports/molecules/std-geospatial.orb +70 -51
  59. package/behaviors/exports/molecules/std-inventory.orb +92 -53
  60. package/behaviors/exports/molecules/std-list.orb +416 -52
  61. package/behaviors/exports/molecules/std-messaging.orb +41 -49
  62. package/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
  63. package/behaviors/exports/molecules/std-platformer-game.orb +58 -3
  64. package/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
  65. package/behaviors/exports/molecules/std-quiz.orb +1045 -0
  66. package/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
  67. package/behaviors/exports/molecules/std-simulator-game.orb +49 -4
  68. package/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
  69. package/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
  70. package/behaviors/exports/organisms/std-arcade-game.orb +399 -197
  71. package/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
  72. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
  73. package/behaviors/exports/organisms/std-cms.orb +1150 -277
  74. package/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
  75. package/behaviors/exports/organisms/std-crm.orb +2357 -821
  76. package/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
  77. package/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
  78. package/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
  79. package/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
  80. package/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
  81. package/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
  82. package/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
  83. package/behaviors/exports/organisms/std-lms.orb +2548 -1192
  84. package/behaviors/exports/organisms/std-logic-training.orb +220 -66
  85. package/behaviors/exports/organisms/std-platformer-app.orb +373 -194
  86. package/behaviors/exports/organisms/std-project-manager.orb +2347 -806
  87. package/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
  88. package/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
  89. package/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
  90. package/behaviors/exports/organisms/std-social-feed.orb +184 -168
  91. package/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
  92. package/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
  93. package/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
  94. package/behaviors/exports/validation-report.json +3 -750
  95. package/behaviors/exports/verify-results.json +13 -0
  96. package/dist/behaviors/exports/atoms/std-async.orb +41 -24
  97. package/dist/behaviors/exports/atoms/std-browse.orb +44 -44
  98. package/dist/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  99. package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
  100. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  101. package/dist/behaviors/exports/atoms/std-collision.orb +278 -206
  102. package/dist/behaviors/exports/atoms/std-combat-log.orb +6 -1
  103. package/dist/behaviors/exports/atoms/std-combat.orb +6 -1
  104. package/dist/behaviors/exports/atoms/std-confirmation.orb +212 -7
  105. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  106. package/dist/behaviors/exports/atoms/std-display.orb +1186 -376
  107. package/dist/behaviors/exports/atoms/std-drawer.orb +307 -101
  108. package/dist/behaviors/exports/atoms/std-filter.orb +211 -18
  109. package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
  110. package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
  111. package/dist/behaviors/exports/atoms/std-game-audio.orb +6 -1
  112. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  113. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  114. package/dist/behaviors/exports/atoms/std-game-hud.orb +6 -1
  115. package/dist/behaviors/exports/atoms/std-game-menu.orb +6 -1
  116. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  117. package/dist/behaviors/exports/atoms/std-gameflow.orb +100 -5
  118. package/dist/behaviors/exports/atoms/std-input.orb +142 -137
  119. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  120. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  121. package/dist/behaviors/exports/atoms/std-loading.orb +149 -170
  122. package/dist/behaviors/exports/atoms/std-modal.orb +159 -94
  123. package/dist/behaviors/exports/atoms/std-movement.orb +401 -31
  124. package/dist/behaviors/exports/atoms/std-notification.orb +117 -95
  125. package/dist/behaviors/exports/atoms/std-overworld.orb +44 -16
  126. package/dist/behaviors/exports/atoms/std-pagination.orb +44 -115
  127. package/dist/behaviors/exports/atoms/std-physics2d.orb +6 -1
  128. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  129. package/dist/behaviors/exports/atoms/std-quest.orb +309 -34
  130. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  131. package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
  132. package/dist/behaviors/exports/atoms/std-score-board.orb +6 -1
  133. package/dist/behaviors/exports/atoms/std-score.orb +252 -11
  134. package/dist/behaviors/exports/atoms/std-search.orb +62 -47
  135. package/dist/behaviors/exports/atoms/std-selection.orb +180 -149
  136. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  137. package/dist/behaviors/exports/atoms/std-sort.orb +192 -60
  138. package/dist/behaviors/exports/atoms/std-sprite.orb +6 -1
  139. package/dist/behaviors/exports/atoms/std-tabs.orb +25 -15
  140. package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
  141. package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
  142. package/dist/behaviors/exports/atoms/std-timer.orb +483 -91
  143. package/dist/behaviors/exports/atoms/std-undo.orb +211 -81
  144. package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
  145. package/dist/behaviors/exports/atoms/std-wizard.orb +677 -240
  146. package/dist/behaviors/exports/molecules/std-builder-game.orb +49 -4
  147. package/dist/behaviors/exports/molecules/std-cart.orb +325 -102
  148. package/dist/behaviors/exports/molecules/std-classifier-game.orb +49 -4
  149. package/dist/behaviors/exports/molecules/std-debugger-game.orb +49 -4
  150. package/dist/behaviors/exports/molecules/std-detail.orb +52 -48
  151. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
  152. package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  153. package/dist/behaviors/exports/molecules/std-geospatial.orb +70 -51
  154. package/dist/behaviors/exports/molecules/std-inventory.orb +92 -53
  155. package/dist/behaviors/exports/molecules/std-list.orb +416 -52
  156. package/dist/behaviors/exports/molecules/std-messaging.orb +41 -49
  157. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
  158. package/dist/behaviors/exports/molecules/std-platformer-game.orb +58 -3
  159. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
  160. package/dist/behaviors/exports/molecules/std-quiz.orb +1045 -0
  161. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
  162. package/dist/behaviors/exports/molecules/std-simulator-game.orb +49 -4
  163. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
  164. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
  165. package/dist/behaviors/exports/organisms/std-arcade-game.orb +399 -197
  166. package/dist/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
  167. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
  168. package/dist/behaviors/exports/organisms/std-cms.orb +1150 -277
  169. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
  170. package/dist/behaviors/exports/organisms/std-crm.orb +2357 -821
  171. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
  172. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
  173. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
  174. package/dist/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
  175. package/dist/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
  176. package/dist/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
  177. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
  178. package/dist/behaviors/exports/organisms/std-lms.orb +2548 -1192
  179. package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
  180. package/dist/behaviors/exports/organisms/std-platformer-app.orb +373 -194
  181. package/dist/behaviors/exports/organisms/std-project-manager.orb +2347 -806
  182. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
  183. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
  184. package/dist/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
  185. package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -168
  186. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
  187. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
  188. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
  189. package/dist/behaviors/exports/validation-report.json +3 -750
  190. package/dist/behaviors/exports/verify-results.json +13 -0
  191. package/dist/behaviors/functions/index.d.ts +270 -1
  192. package/dist/behaviors/functions/index.js +3811 -1333
  193. package/dist/behaviors/functions/index.js.map +1 -1
  194. package/dist/behaviors/index.d.ts +1 -1
  195. package/dist/behaviors/index.js +3811 -1333
  196. package/dist/behaviors/index.js.map +1 -1
  197. package/dist/exports/atoms/std-async.orb +41 -24
  198. package/dist/exports/atoms/std-browse.orb +44 -44
  199. package/dist/exports/atoms/std-cache-aside.orb +256 -42
  200. package/dist/exports/atoms/std-calendar.orb +770 -0
  201. package/dist/exports/atoms/std-circuit-breaker.orb +577 -97
  202. package/dist/exports/atoms/std-collision.orb +278 -206
  203. package/dist/exports/atoms/std-combat-log.orb +6 -1
  204. package/dist/exports/atoms/std-combat.orb +6 -1
  205. package/dist/exports/atoms/std-confirmation.orb +212 -7
  206. package/dist/exports/atoms/std-dialogue-box.orb +6 -1
  207. package/dist/exports/atoms/std-display.orb +1186 -376
  208. package/dist/exports/atoms/std-drawer.orb +307 -101
  209. package/dist/exports/atoms/std-filter.orb +211 -18
  210. package/dist/exports/atoms/std-flip-card.orb +596 -0
  211. package/dist/exports/atoms/std-gallery.orb +382 -0
  212. package/dist/exports/atoms/std-game-audio.orb +6 -1
  213. package/dist/exports/atoms/std-game-canvas2d.orb +6 -1
  214. package/dist/exports/atoms/std-game-canvas3d.orb +6 -1
  215. package/dist/exports/atoms/std-game-hud.orb +6 -1
  216. package/dist/exports/atoms/std-game-menu.orb +6 -1
  217. package/dist/exports/atoms/std-game-over-screen.orb +6 -1
  218. package/dist/exports/atoms/std-gameflow.orb +100 -5
  219. package/dist/exports/atoms/std-input.orb +142 -137
  220. package/dist/exports/atoms/std-inventory-panel.orb +6 -1
  221. package/dist/exports/atoms/std-isometric-canvas.orb +6 -1
  222. package/dist/exports/atoms/std-loading.orb +149 -170
  223. package/dist/exports/atoms/std-modal.orb +159 -94
  224. package/dist/exports/atoms/std-movement.orb +401 -31
  225. package/dist/exports/atoms/std-notification.orb +117 -95
  226. package/dist/exports/atoms/std-overworld.orb +44 -16
  227. package/dist/exports/atoms/std-pagination.orb +44 -115
  228. package/dist/exports/atoms/std-physics2d.orb +6 -1
  229. package/dist/exports/atoms/std-platformer-canvas.orb +6 -1
  230. package/dist/exports/atoms/std-quest.orb +309 -34
  231. package/dist/exports/atoms/std-rate-limiter.orb +410 -157
  232. package/dist/exports/atoms/std-rating.orb +328 -0
  233. package/dist/exports/atoms/std-score-board.orb +6 -1
  234. package/dist/exports/atoms/std-score.orb +252 -11
  235. package/dist/exports/atoms/std-search.orb +62 -47
  236. package/dist/exports/atoms/std-selection.orb +180 -149
  237. package/dist/exports/atoms/std-simulation-canvas.orb +6 -1
  238. package/dist/exports/atoms/std-sort.orb +192 -60
  239. package/dist/exports/atoms/std-sprite.orb +6 -1
  240. package/dist/exports/atoms/std-tabs.orb +25 -15
  241. package/dist/exports/atoms/std-text-effects.orb +658 -0
  242. package/dist/exports/atoms/std-theme.orb +573 -0
  243. package/dist/exports/atoms/std-timer.orb +483 -91
  244. package/dist/exports/atoms/std-undo.orb +211 -81
  245. package/dist/exports/atoms/std-upload.orb +535 -0
  246. package/dist/exports/atoms/std-wizard.orb +677 -240
  247. package/dist/exports/molecules/std-builder-game.orb +49 -4
  248. package/dist/exports/molecules/std-cart.orb +325 -102
  249. package/dist/exports/molecules/std-classifier-game.orb +49 -4
  250. package/dist/exports/molecules/std-debugger-game.orb +49 -4
  251. package/dist/exports/molecules/std-detail.orb +52 -48
  252. package/dist/exports/molecules/std-event-handler-game.orb +49 -4
  253. package/dist/exports/molecules/std-form-advanced.orb +654 -0
  254. package/dist/exports/molecules/std-geospatial.orb +70 -51
  255. package/dist/exports/molecules/std-inventory.orb +92 -53
  256. package/dist/exports/molecules/std-list.orb +416 -52
  257. package/dist/exports/molecules/std-messaging.orb +41 -49
  258. package/dist/exports/molecules/std-negotiator-game.orb +49 -4
  259. package/dist/exports/molecules/std-platformer-game.orb +58 -3
  260. package/dist/exports/molecules/std-puzzle-game.orb +58 -7
  261. package/dist/exports/molecules/std-quiz.orb +1045 -0
  262. package/dist/exports/molecules/std-sequencer-game.orb +49 -4
  263. package/dist/exports/molecules/std-simulator-game.orb +49 -4
  264. package/dist/exports/molecules/std-turn-based-battle.orb +66 -1
  265. package/dist/exports/organisms/std-api-gateway.orb +2615 -867
  266. package/dist/exports/organisms/std-arcade-game.orb +399 -197
  267. package/dist/exports/organisms/std-booking-system.orb +3154 -1305
  268. package/dist/exports/organisms/std-cicd-pipeline.orb +2298 -779
  269. package/dist/exports/organisms/std-cms.orb +1150 -277
  270. package/dist/exports/organisms/std-coding-academy.orb +1222 -533
  271. package/dist/exports/organisms/std-crm.orb +2357 -821
  272. package/dist/exports/organisms/std-devops-dashboard.orb +4230 -1281
  273. package/dist/exports/organisms/std-ecommerce.orb +2660 -1098
  274. package/dist/exports/organisms/std-finance-tracker.orb +1749 -737
  275. package/dist/exports/organisms/std-healthcare.orb +3593 -1478
  276. package/dist/exports/organisms/std-helpdesk.orb +1870 -738
  277. package/dist/exports/organisms/std-hr-portal.orb +3290 -1385
  278. package/dist/exports/organisms/std-iot-dashboard.orb +2704 -788
  279. package/dist/exports/organisms/std-lms.orb +2548 -1192
  280. package/dist/exports/organisms/std-logic-training.orb +220 -66
  281. package/dist/exports/organisms/std-platformer-app.orb +373 -194
  282. package/dist/exports/organisms/std-project-manager.orb +2347 -806
  283. package/dist/exports/organisms/std-puzzle-app.orb +240 -95
  284. package/dist/exports/organisms/std-realtime-chat.orb +2020 -660
  285. package/dist/exports/organisms/std-rpg-game.orb +1303 -740
  286. package/dist/exports/organisms/std-social-feed.orb +184 -168
  287. package/dist/exports/organisms/std-stem-lab.orb +1223 -512
  288. package/dist/exports/organisms/std-strategy-game.orb +1412 -731
  289. package/dist/exports/organisms/std-trading-dashboard.orb +1869 -695
  290. package/dist/exports/validation-report.json +3 -750
  291. package/dist/exports/verify-results.json +13 -0
  292. package/dist/index.d.ts +1 -1
  293. package/dist/index.js +3808 -1330
  294. package/dist/index.js.map +1 -1
  295. package/package.json +1 -1
@@ -43,6 +43,18 @@
43
43
  "type": "string",
44
44
  "default": ""
45
45
  }
46
+ ],
47
+ "instances": [
48
+ {
49
+ "id": "player-1",
50
+ "name": "Player",
51
+ "description": "Main character",
52
+ "status": "active",
53
+ "score": 0,
54
+ "lives": 3,
55
+ "player": "",
56
+ "platforms": ""
57
+ }
46
58
  ]
47
59
  },
48
60
  "traits": [
@@ -130,14 +142,21 @@
130
142
  "render-ui",
131
143
  "main",
132
144
  {
133
- "type": "game-menu",
134
- "title": "Platformer",
135
- "subtitle": "Side-Scrolling Adventure",
136
- "menuItems": [
145
+ "type": "game-shell",
146
+ "appName": "Platformer App",
147
+ "showTopBar": true,
148
+ "children": [
137
149
  {
138
- "label": "Start Game",
139
- "event": "START",
140
- "variant": "primary"
150
+ "type": "game-menu",
151
+ "title": "Platformer",
152
+ "subtitle": "Side-Scrolling Adventure",
153
+ "menuItems": [
154
+ {
155
+ "label": "Start Game",
156
+ "event": "START",
157
+ "variant": "primary"
158
+ }
159
+ ]
141
160
  }
142
161
  ]
143
162
  }
@@ -153,17 +172,24 @@
153
172
  "render-ui",
154
173
  "main",
155
174
  {
156
- "type": "platformer-canvas",
157
- "canvasWidth": 800,
158
- "canvasHeight": 400,
159
- "worldWidth": 2400,
160
- "worldHeight": 400,
161
- "followCamera": true,
162
- "bgColor": "#1a1a2e",
163
- "leftEvent": "LEFT",
164
- "rightEvent": "RIGHT",
165
- "jumpEvent": "JUMP",
166
- "stopEvent": "STOP"
175
+ "type": "game-shell",
176
+ "appName": "Platformer App",
177
+ "showTopBar": true,
178
+ "children": [
179
+ {
180
+ "type": "platformer-canvas",
181
+ "canvasWidth": 800,
182
+ "canvasHeight": 400,
183
+ "worldWidth": 2400,
184
+ "worldHeight": 400,
185
+ "followCamera": true,
186
+ "bgColor": "#1a1a2e",
187
+ "leftEvent": "LEFT",
188
+ "rightEvent": "RIGHT",
189
+ "jumpEvent": "JUMP",
190
+ "stopEvent": "STOP"
191
+ }
192
+ ]
167
193
  }
168
194
  ]
169
195
  ]
@@ -240,6 +266,30 @@
240
266
  "render-ui",
241
267
  "modal",
242
268
  null
269
+ ],
270
+ [
271
+ "render-ui",
272
+ "main",
273
+ {
274
+ "type": "game-shell",
275
+ "appName": "Platformer App",
276
+ "showTopBar": true,
277
+ "children": [
278
+ {
279
+ "type": "platformer-canvas",
280
+ "canvasWidth": 800,
281
+ "canvasHeight": 400,
282
+ "worldWidth": 2400,
283
+ "worldHeight": 400,
284
+ "followCamera": true,
285
+ "bgColor": "#1a1a2e",
286
+ "leftEvent": "LEFT",
287
+ "rightEvent": "RIGHT",
288
+ "jumpEvent": "JUMP",
289
+ "stopEvent": "STOP"
290
+ }
291
+ ]
292
+ }
243
293
  ]
244
294
  ]
245
295
  },
@@ -252,6 +302,30 @@
252
302
  "render-ui",
253
303
  "modal",
254
304
  null
305
+ ],
306
+ [
307
+ "render-ui",
308
+ "main",
309
+ {
310
+ "type": "game-shell",
311
+ "appName": "Platformer App",
312
+ "showTopBar": true,
313
+ "children": [
314
+ {
315
+ "type": "platformer-canvas",
316
+ "canvasWidth": 800,
317
+ "canvasHeight": 400,
318
+ "worldWidth": 2400,
319
+ "worldHeight": 400,
320
+ "followCamera": true,
321
+ "bgColor": "#1a1a2e",
322
+ "leftEvent": "LEFT",
323
+ "rightEvent": "RIGHT",
324
+ "jumpEvent": "JUMP",
325
+ "stopEvent": "STOP"
326
+ }
327
+ ]
328
+ }
255
329
  ]
256
330
  ]
257
331
  },
@@ -264,28 +338,35 @@
264
338
  "render-ui",
265
339
  "main",
266
340
  {
267
- "type": "game-over-screen",
268
- "title": "Game Over",
269
- "stats": [
270
- {
271
- "label": "Score",
272
- "value": "@entity.score"
273
- },
274
- {
275
- "label": "Lives",
276
- "value": "@entity.lives"
277
- }
278
- ],
279
- "menuItems": [
280
- {
281
- "label": "Play Again",
282
- "event": "RESTART",
283
- "variant": "primary"
284
- },
341
+ "type": "game-shell",
342
+ "appName": "Platformer App",
343
+ "showTopBar": true,
344
+ "children": [
285
345
  {
286
- "label": "Main Menu",
287
- "event": "RESTART",
288
- "variant": "secondary"
346
+ "type": "game-over-screen",
347
+ "title": "Game Over",
348
+ "stats": [
349
+ {
350
+ "label": "Score",
351
+ "value": "@entity.score"
352
+ },
353
+ {
354
+ "label": "Lives",
355
+ "value": "@entity.lives"
356
+ }
357
+ ],
358
+ "menuItems": [
359
+ {
360
+ "label": "Play Again",
361
+ "event": "RESTART",
362
+ "variant": "primary"
363
+ },
364
+ {
365
+ "label": "Main Menu",
366
+ "event": "RESTART",
367
+ "variant": "secondary"
368
+ }
369
+ ]
289
370
  }
290
371
  ]
291
372
  }
@@ -301,14 +382,21 @@
301
382
  "render-ui",
302
383
  "main",
303
384
  {
304
- "type": "game-menu",
305
- "title": "Platformer",
306
- "subtitle": "Side-Scrolling Adventure",
307
- "menuItems": [
385
+ "type": "game-shell",
386
+ "appName": "Platformer App",
387
+ "showTopBar": true,
388
+ "children": [
308
389
  {
309
- "label": "Start Game",
310
- "event": "START",
311
- "variant": "primary"
390
+ "type": "game-menu",
391
+ "title": "Platformer",
392
+ "subtitle": "Side-Scrolling Adventure",
393
+ "menuItems": [
394
+ {
395
+ "label": "Start Game",
396
+ "event": "START",
397
+ "variant": "primary"
398
+ }
399
+ ]
312
400
  }
313
401
  ]
314
402
  }
@@ -329,14 +417,21 @@
329
417
  "render-ui",
330
418
  "main",
331
419
  {
332
- "type": "game-menu",
333
- "title": "Platformer",
334
- "subtitle": "Side-Scrolling Adventure",
335
- "menuItems": [
420
+ "type": "game-shell",
421
+ "appName": "Platformer App",
422
+ "showTopBar": true,
423
+ "children": [
336
424
  {
337
- "label": "Start Game",
338
- "event": "START",
339
- "variant": "primary"
425
+ "type": "game-menu",
426
+ "title": "Platformer",
427
+ "subtitle": "Side-Scrolling Adventure",
428
+ "menuItems": [
429
+ {
430
+ "label": "Start Game",
431
+ "event": "START",
432
+ "variant": "primary"
433
+ }
434
+ ]
340
435
  }
341
436
  ]
342
437
  }
@@ -407,19 +502,26 @@
407
502
  "render-ui",
408
503
  "main",
409
504
  {
410
- "type": "platformer-canvas",
411
- "platforms": "@entity.platforms",
412
- "player": "@entity.player",
413
- "canvasWidth": 800,
414
- "canvasHeight": 400,
415
- "worldWidth": 2400,
416
- "worldHeight": 400,
417
- "followCamera": true,
418
- "bgColor": "#1a1a2e",
419
- "leftEvent": "LEFT",
420
- "rightEvent": "RIGHT",
421
- "jumpEvent": "JUMP",
422
- "stopEvent": "STOP"
505
+ "type": "game-shell",
506
+ "appName": "Platformer App",
507
+ "showTopBar": true,
508
+ "children": [
509
+ {
510
+ "type": "platformer-canvas",
511
+ "platforms": "@entity.platforms",
512
+ "player": "@entity.player",
513
+ "canvasWidth": 800,
514
+ "canvasHeight": 400,
515
+ "worldWidth": 2400,
516
+ "worldHeight": 400,
517
+ "followCamera": true,
518
+ "bgColor": "#1a1a2e",
519
+ "leftEvent": "LEFT",
520
+ "rightEvent": "RIGHT",
521
+ "jumpEvent": "JUMP",
522
+ "stopEvent": "STOP"
523
+ }
524
+ ]
423
525
  }
424
526
  ]
425
527
  ]
@@ -451,19 +553,26 @@
451
553
  "render-ui",
452
554
  "main",
453
555
  {
454
- "type": "platformer-canvas",
455
- "platforms": "@entity.platforms",
456
- "player": "@entity.player",
457
- "canvasWidth": 800,
458
- "canvasHeight": 400,
459
- "worldWidth": 2400,
460
- "worldHeight": 400,
461
- "followCamera": true,
462
- "bgColor": "#1a1a2e",
463
- "leftEvent": "LEFT",
464
- "rightEvent": "RIGHT",
465
- "jumpEvent": "JUMP",
466
- "stopEvent": "STOP"
556
+ "type": "game-shell",
557
+ "appName": "Platformer App",
558
+ "showTopBar": true,
559
+ "children": [
560
+ {
561
+ "type": "platformer-canvas",
562
+ "platforms": "@entity.platforms",
563
+ "player": "@entity.player",
564
+ "canvasWidth": 800,
565
+ "canvasHeight": 400,
566
+ "worldWidth": 2400,
567
+ "worldHeight": 400,
568
+ "followCamera": true,
569
+ "bgColor": "#1a1a2e",
570
+ "leftEvent": "LEFT",
571
+ "rightEvent": "RIGHT",
572
+ "jumpEvent": "JUMP",
573
+ "stopEvent": "STOP"
574
+ }
575
+ ]
467
576
  }
468
577
  ]
469
578
  ]
@@ -592,12 +701,19 @@
592
701
  "render-ui",
593
702
  "main",
594
703
  {
595
- "type": "score-board",
596
- "score": "@entity.score",
597
- "highScore": "@entity.highScore",
598
- "combo": "@entity.combo",
599
- "multiplier": "@entity.multiplier",
600
- "level": "@entity.level"
704
+ "type": "game-shell",
705
+ "appName": "Platformer App",
706
+ "showTopBar": true,
707
+ "children": [
708
+ {
709
+ "type": "score-board",
710
+ "score": "@entity.score",
711
+ "highScore": "@entity.highScore",
712
+ "combo": "@entity.combo",
713
+ "multiplier": "@entity.multiplier",
714
+ "level": "@entity.level"
715
+ }
716
+ ]
601
717
  }
602
718
  ]
603
719
  ]
@@ -629,12 +745,19 @@
629
745
  "render-ui",
630
746
  "main",
631
747
  {
632
- "type": "score-board",
633
- "score": "@entity.score",
634
- "highScore": "@entity.highScore",
635
- "combo": "@entity.combo",
636
- "multiplier": "@entity.multiplier",
637
- "level": "@entity.level"
748
+ "type": "game-shell",
749
+ "appName": "Platformer App",
750
+ "showTopBar": true,
751
+ "children": [
752
+ {
753
+ "type": "score-board",
754
+ "score": "@entity.score",
755
+ "highScore": "@entity.highScore",
756
+ "combo": "@entity.combo",
757
+ "multiplier": "@entity.multiplier",
758
+ "level": "@entity.level"
759
+ }
760
+ ]
638
761
  }
639
762
  ]
640
763
  ]
@@ -653,12 +776,19 @@
653
776
  "render-ui",
654
777
  "main",
655
778
  {
656
- "type": "score-board",
657
- "score": "@entity.score",
658
- "highScore": "@entity.highScore",
659
- "combo": "@entity.combo",
660
- "multiplier": "@entity.multiplier",
661
- "level": "@entity.level"
779
+ "type": "game-shell",
780
+ "appName": "Platformer App",
781
+ "showTopBar": true,
782
+ "children": [
783
+ {
784
+ "type": "score-board",
785
+ "score": "@entity.score",
786
+ "highScore": "@entity.highScore",
787
+ "combo": "@entity.combo",
788
+ "multiplier": "@entity.multiplier",
789
+ "level": "@entity.level"
790
+ }
791
+ ]
662
792
  }
663
793
  ]
664
794
  ]
@@ -687,12 +817,19 @@
687
817
  "render-ui",
688
818
  "main",
689
819
  {
690
- "type": "score-board",
691
- "score": "@entity.score",
692
- "highScore": "@entity.highScore",
693
- "combo": "@entity.combo",
694
- "multiplier": "@entity.multiplier",
695
- "level": "@entity.level"
820
+ "type": "game-shell",
821
+ "appName": "Platformer App",
822
+ "showTopBar": true,
823
+ "children": [
824
+ {
825
+ "type": "score-board",
826
+ "score": "@entity.score",
827
+ "highScore": "@entity.highScore",
828
+ "combo": "@entity.combo",
829
+ "multiplier": "@entity.multiplier",
830
+ "level": "@entity.level"
831
+ }
832
+ ]
696
833
  }
697
834
  ]
698
835
  ]
@@ -750,6 +887,29 @@
750
887
  "type": "string",
751
888
  "default": ""
752
889
  }
890
+ ],
891
+ "instances": [
892
+ {
893
+ "id": "item-1",
894
+ "name": "Health Potion",
895
+ "description": "Restores 50 HP",
896
+ "status": "active",
897
+ "pendingId": ""
898
+ },
899
+ {
900
+ "id": "item-2",
901
+ "name": "Iron Sword",
902
+ "description": "A sturdy blade",
903
+ "status": "active",
904
+ "pendingId": ""
905
+ },
906
+ {
907
+ "id": "item-3",
908
+ "name": "Wooden Shield",
909
+ "description": "Basic protection",
910
+ "status": "active",
911
+ "pendingId": ""
912
+ }
753
913
  ]
754
914
  },
755
915
  "traits": [
@@ -857,112 +1017,110 @@
857
1017
  "render-ui",
858
1018
  "main",
859
1019
  {
860
- "type": "stack",
861
- "direction": "vertical",
862
- "gap": "lg",
1020
+ "type": "game-shell",
1021
+ "appName": "Platformer App",
1022
+ "showTopBar": true,
863
1023
  "children": [
864
1024
  {
865
1025
  "type": "stack",
866
- "direction": "horizontal",
867
- "gap": "md",
868
- "justify": "space-between",
1026
+ "direction": "vertical",
1027
+ "gap": "lg",
1028
+ "className": "max-w-5xl mx-auto w-full",
869
1029
  "children": [
870
1030
  {
871
1031
  "type": "stack",
872
1032
  "direction": "horizontal",
873
- "gap": "sm",
1033
+ "gap": "md",
1034
+ "justify": "space-between",
874
1035
  "align": "center",
875
- "children": [
876
- {
877
- "type": "icon",
878
- "name": "package",
879
- "size": "lg"
880
- },
881
- {
882
- "type": "typography",
883
- "content": "Collectibles",
884
- "variant": "h2"
885
- }
886
- ]
887
- },
888
- {
889
- "type": "stack",
890
- "direction": "horizontal",
891
- "gap": "sm",
892
- "children": [
893
- {
894
- "type": "button",
895
- "label": "Add Collectible",
896
- "event": "ADD_ITEM",
897
- "variant": "primary",
898
- "icon": "plus"
899
- }
900
- ]
901
- }
902
- ]
903
- },
904
- {
905
- "type": "divider"
906
- },
907
- {
908
- "type": "data-grid",
909
- "entity": "Collectible",
910
- "emptyIcon": "inbox",
911
- "emptyTitle": "No items yet",
912
- "emptyDescription": "Add your first item to get started.",
913
- "itemActions": [
914
- {
915
- "label": "Use",
916
- "event": "USE_ITEM"
917
- },
918
- {
919
- "label": "Drop",
920
- "event": "DROP",
921
- "variant": "danger"
922
- }
923
- ],
924
- "className": "transition-shadow hover:shadow-md cursor-pointer",
925
- "children": [
926
- {
927
- "type": "stack",
928
- "direction": "vertical",
929
- "gap": "sm",
930
1036
  "children": [
931
1037
  {
932
1038
  "type": "stack",
933
1039
  "direction": "horizontal",
934
- "justify": "space-between",
1040
+ "gap": "sm",
935
1041
  "align": "center",
936
1042
  "children": [
937
1043
  {
938
- "type": "stack",
939
- "direction": "horizontal",
940
- "gap": "sm",
941
- "align": "center",
942
- "children": [
943
- {
944
- "type": "icon",
945
- "name": "package",
946
- "size": "sm"
947
- },
948
- {
949
- "type": "typography",
950
- "variant": "h4",
951
- "content": "@entity.name"
952
- }
953
- ]
1044
+ "type": "icon",
1045
+ "name": "package",
1046
+ "size": "lg"
954
1047
  },
955
1048
  {
956
- "type": "badge",
957
- "label": "@entity.type"
1049
+ "type": "typography",
1050
+ "content": "Collectibles",
1051
+ "variant": "h2"
958
1052
  }
959
1053
  ]
960
1054
  },
961
1055
  {
962
- "type": "typography",
963
- "variant": "caption",
964
- "color": "muted",
965
- "content": "@entity.quantity"
1056
+ "type": "stack",
1057
+ "direction": "horizontal",
1058
+ "gap": "sm",
1059
+ "children": [
1060
+ {
1061
+ "type": "button",
1062
+ "label": "Add Collectible",
1063
+ "event": "ADD_ITEM",
1064
+ "variant": "primary",
1065
+ "icon": "plus"
1066
+ }
1067
+ ]
1068
+ }
1069
+ ]
1070
+ },
1071
+ {
1072
+ "type": "divider"
1073
+ },
1074
+ {
1075
+ "type": "data-grid",
1076
+ "entity": "Collectible",
1077
+ "emptyIcon": "inbox",
1078
+ "emptyTitle": "No items yet",
1079
+ "emptyDescription": "Add your first item to get started.",
1080
+ "itemActions": [
1081
+ {
1082
+ "label": "Use",
1083
+ "event": "USE_ITEM",
1084
+ "variant": "ghost",
1085
+ "size": "sm"
1086
+ },
1087
+ {
1088
+ "label": "Drop",
1089
+ "event": "DROP",
1090
+ "variant": "danger",
1091
+ "size": "sm"
1092
+ }
1093
+ ],
1094
+ "columns": [
1095
+ {
1096
+ "name": "name",
1097
+ "label": "Name",
1098
+ "variant": "h4",
1099
+ "icon": "package"
1100
+ },
1101
+ {
1102
+ "name": "type",
1103
+ "label": "Type",
1104
+ "variant": "badge",
1105
+ "colorMap": {
1106
+ "active": "success",
1107
+ "completed": "success",
1108
+ "done": "success",
1109
+ "pending": "warning",
1110
+ "draft": "warning",
1111
+ "scheduled": "warning",
1112
+ "inactive": "neutral",
1113
+ "archived": "neutral",
1114
+ "disabled": "neutral",
1115
+ "error": "destructive",
1116
+ "cancelled": "destructive",
1117
+ "failed": "destructive"
1118
+ }
1119
+ },
1120
+ {
1121
+ "name": "quantity",
1122
+ "label": "Quantity",
1123
+ "variant": "caption"
966
1124
  }
967
1125
  ]
968
1126
  }
@@ -1112,8 +1270,7 @@
1112
1270
  "name",
1113
1271
  "type",
1114
1272
  "quantity",
1115
- "rarity",
1116
- "pendingId"
1273
+ "rarity"
1117
1274
  ]
1118
1275
  }
1119
1276
  ]
@@ -1130,6 +1287,11 @@
1130
1287
  "render-ui",
1131
1288
  "modal",
1132
1289
  null
1290
+ ],
1291
+ [
1292
+ "notify",
1293
+ "Cancelled",
1294
+ "info"
1133
1295
  ]
1134
1296
  ]
1135
1297
  },
@@ -1309,6 +1471,11 @@
1309
1471
  "render-ui",
1310
1472
  "modal",
1311
1473
  null
1474
+ ],
1475
+ [
1476
+ "notify",
1477
+ "Cancelled",
1478
+ "info"
1312
1479
  ]
1313
1480
  ]
1314
1481
  },
@@ -1443,7 +1610,7 @@
1443
1610
  "children": [
1444
1611
  {
1445
1612
  "type": "icon",
1446
- "name": "trash-2",
1613
+ "name": "alert-triangle",
1447
1614
  "size": "md"
1448
1615
  },
1449
1616
  {
@@ -1457,9 +1624,9 @@
1457
1624
  "type": "divider"
1458
1625
  },
1459
1626
  {
1460
- "type": "typography",
1461
- "content": "Are you sure you want to drop this collectible?",
1462
- "variant": "body"
1627
+ "type": "alert",
1628
+ "variant": "danger",
1629
+ "message": "Are you sure you want to drop this collectible?"
1463
1630
  },
1464
1631
  {
1465
1632
  "type": "stack",
@@ -1507,6 +1674,10 @@
1507
1674
  "modal",
1508
1675
  null
1509
1676
  ],
1677
+ [
1678
+ "fetch",
1679
+ "Collectible"
1680
+ ],
1510
1681
  [
1511
1682
  "emit",
1512
1683
  "CONFIRM_DROP"
@@ -1526,6 +1697,10 @@
1526
1697
  "render-ui",
1527
1698
  "modal",
1528
1699
  null
1700
+ ],
1701
+ [
1702
+ "fetch",
1703
+ "Collectible"
1529
1704
  ]
1530
1705
  ]
1531
1706
  },
@@ -1538,6 +1713,10 @@
1538
1713
  "render-ui",
1539
1714
  "modal",
1540
1715
  null
1716
+ ],
1717
+ [
1718
+ "fetch",
1719
+ "Collectible"
1541
1720
  ]
1542
1721
  ]
1543
1722
  }