@fleox/agent3d 0.0.0-stage → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/LICENSE +143 -0
  2. package/README.md +396 -2
  3. package/changelog.json +68 -0
  4. package/dist/agent/agent3d.mjs +11242 -0
  5. package/dist/agent/chunks/assets-BUUM9TUB.mjs +2448 -0
  6. package/dist/agent/chunks/browser-t_JL_B82.mjs +226 -0
  7. package/dist/agent/chunks/cdp-Bdtm4fBN.mjs +178 -0
  8. package/dist/agent/chunks/check-CBO3Ekx1.mjs +971 -0
  9. package/dist/agent/chunks/export-BCI8vKw8.mjs +1130 -0
  10. package/dist/agent/chunks/gif-DQznzHTL.mjs +319 -0
  11. package/dist/agent/chunks/gltf-f_f0-OiV.mjs +207 -0
  12. package/dist/agent/chunks/imageCodec-Dz9PFxi9.mjs +101 -0
  13. package/dist/agent/chunks/jsonPath-DUCe1JpS.mjs +155 -0
  14. package/dist/agent/chunks/meshoptimizer-C-tN9jn5.mjs +1165 -0
  15. package/dist/agent/chunks/mp4-aOALfp3s.mjs +130 -0
  16. package/dist/agent/chunks/objects-DBAws7uf.mjs +53 -0
  17. package/dist/agent/chunks/optimizeSizing-CkZ3fZRp.mjs +540 -0
  18. package/dist/agent/chunks/package-BOIyp_2B.mjs +75 -0
  19. package/dist/agent/chunks/png-DXfSGJZt.mjs +91 -0
  20. package/dist/agent/chunks/render-CN4mgGLQ.mjs +1511 -0
  21. package/dist/agent/chunks/rolldown-runtime-ebOQtxsr.mjs +18 -0
  22. package/dist/agent/chunks/scene-BgajNvBf.mjs +444 -0
  23. package/dist/agent/chunks/server-CACCerkZ.mjs +237 -0
  24. package/dist/agent/chunks/suggest-Cpcgv1RP.mjs +46 -0
  25. package/dist/agent/chunks/tools-DT2tetIK.mjs +1412 -0
  26. package/dist/agent/chunks/tree-BrNYGui2.mjs +75 -0
  27. package/dist/agent/chunks/webpAnim-qaq9YgKl.mjs +132 -0
  28. package/dist/runtime/agent3d-runtime.js +373 -0
  29. package/dist/runtime/agent3d-runtime.single.js +7360 -0
  30. package/dist/runtime/chunks/BufferGeometryUtils-XmME4f7Z.js +1 -0
  31. package/dist/runtime/chunks/EXRLoader-CBdIpBMT.js +1 -0
  32. package/dist/runtime/chunks/FontLoader-dVu9WH2X.js +2 -0
  33. package/dist/runtime/chunks/GLTFLoader-Z9Inv-Xm.js +1 -0
  34. package/dist/runtime/chunks/GroundedSkybox-g1ASZWNu.js +1 -0
  35. package/dist/runtime/chunks/HDRLoader-DBOMWa7O.js +5 -0
  36. package/dist/runtime/chunks/OrbitControls-BIpWXK4x.js +1 -0
  37. package/dist/runtime/chunks/RectAreaLightUniformsLib-4ZzgX9vp.js +1 -0
  38. package/dist/runtime/chunks/RoomEnvironment-CXgfLJdO.js +1 -0
  39. package/dist/runtime/chunks/RoundedBoxGeometry-BViRogcJ.js +1 -0
  40. package/dist/runtime/chunks/SVGLoader-CV0U1EIF.js +1 -0
  41. package/dist/runtime/chunks/SkeletonUtils-DHlReJx3.js +1 -0
  42. package/dist/runtime/chunks/Sky-DGJXlPb_.js +243 -0
  43. package/dist/runtime/chunks/audio-DbVNbf-r.js +1 -0
  44. package/dist/runtime/chunks/catalog-DL6sgPay.js +1 -0
  45. package/dist/runtime/chunks/easing-CXSz2e6P.js +1 -0
  46. package/dist/runtime/chunks/extrude-D6WnITQq.js +1 -0
  47. package/dist/runtime/chunks/game-BoEiyZrL.js +20 -0
  48. package/dist/runtime/chunks/generators-D5JUo0jp.js +331 -0
  49. package/dist/runtime/chunks/materials-Dn-bYrZd.js +107 -0
  50. package/dist/runtime/chunks/meshGradient.glsl-BMatplLA.js +88 -0
  51. package/dist/runtime/chunks/meshopt_decoder.module-DXTYc6wn.js +1 -0
  52. package/dist/runtime/chunks/model-BCVF3QzB.js +1 -0
  53. package/dist/runtime/chunks/params-C2uoUDJ0.js +1 -0
  54. package/dist/runtime/chunks/physicsHost-ChPgysMQ.js +1 -0
  55. package/dist/runtime/chunks/postfx-UgKCbmZs.js +1527 -0
  56. package/dist/runtime/chunks/postfx-i_J5Vf-l.js +1 -0
  57. package/dist/runtime/chunks/random-eeej60NW.js +1 -0
  58. package/dist/runtime/chunks/shaders-Dw6zHdu_.js +443 -0
  59. package/dist/runtime/chunks/svg-CmlFY_8O.js +1 -0
  60. package/dist/runtime/chunks/text-D1EQpdSU.js +2 -0
  61. package/dist/runtime/chunks/three.module-DnaBiDAJ.js +4225 -0
  62. package/dist/runtime/chunks/toon-BsvVk_nK.js +6 -0
  63. package/dist/runtime/chunks/util-CyaW1fcW.js +1 -0
  64. package/dist/studio/assets/BufferGeometryUtils-CAlXAboW.js +1 -0
  65. package/dist/studio/assets/EXRLoader-BKkzlNd8.js +1 -0
  66. package/dist/studio/assets/FontLoader-Bzjx8mXt.js +2 -0
  67. package/dist/studio/assets/GLTFLoader-1Zd9N406.js +1 -0
  68. package/dist/studio/assets/GroundedSkybox-BEMqNCBD.js +1 -0
  69. package/dist/studio/assets/HDRLoader-DxB0kxPH.js +5 -0
  70. package/dist/studio/assets/OrbitControls-MlE9XiCg.js +1 -0
  71. package/dist/studio/assets/RectAreaLightUniformsLib-ClHrtYY6.js +1 -0
  72. package/dist/studio/assets/RoomEnvironment-MJ-jIEC8.js +1 -0
  73. package/dist/studio/assets/SVGLoader-CIYl0nEy.js +1 -0
  74. package/dist/studio/assets/SkeletonUtils-CG5akqME.js +1 -0
  75. package/dist/studio/assets/Sky-DNMfpp92.js +243 -0
  76. package/dist/studio/assets/audio-JD1kyX0A.js +1 -0
  77. package/dist/studio/assets/camera-7sEn13L-.js +2 -0
  78. package/dist/studio/assets/editor-CnbvVkhU.js +53 -0
  79. package/dist/studio/assets/extrude-9bG8hr2C.js +1 -0
  80. package/dist/studio/assets/game-B04KGAK0.js +19 -0
  81. package/dist/studio/assets/generators-LSni1Yfc.js +331 -0
  82. package/dist/studio/assets/index-3LL5NEIH.js +479 -0
  83. package/dist/studio/assets/index-BQT0otii.css +1 -0
  84. package/dist/studio/assets/meshopt_decoder.module-DXTYc6wn.js +1 -0
  85. package/dist/studio/assets/meshoptimizer-BCSwHBL3.js +1 -0
  86. package/dist/studio/assets/model-CNddhwmA.js +2 -0
  87. package/dist/studio/assets/physicsHost-hMU_SDiX.js +1 -0
  88. package/dist/studio/assets/postfx-BcCZS0Bq.js +1527 -0
  89. package/dist/studio/assets/runtime-DY_KqD1x.js +572 -0
  90. package/dist/studio/assets/shaders-BhMCstyv.js +443 -0
  91. package/dist/studio/assets/svg-CNKK-h7H.js +2 -0
  92. package/dist/studio/assets/text-BSPI7dk1.js +3 -0
  93. package/dist/studio/assets/three.module-CnI50X0U.js +4225 -0
  94. package/dist/studio/index.html +16 -0
  95. package/library/LICENSES.md +77 -0
  96. package/library/fonts/LICENSES.md +42 -0
  97. package/library/fonts/anton.typeface.json +1 -0
  98. package/library/fonts/bebas-neue.typeface.json +1 -0
  99. package/library/fonts/display.typeface.json +1 -0
  100. package/library/fonts/inter-black.typeface.json +1 -0
  101. package/library/fonts/lobster.typeface.json +1 -0
  102. package/library/fonts/mono.typeface.json +1 -0
  103. package/library/fonts/montserrat-extrabold.typeface.json +1 -0
  104. package/library/fonts/pacifico.typeface.json +1 -0
  105. package/library/fonts/sans-bold.typeface.json +1 -0
  106. package/library/fonts/sans.typeface.json +1 -0
  107. package/library/fonts/serif-bold.typeface.json +1 -0
  108. package/library/fonts/serif.typeface.json +1 -0
  109. package/library/fonts/space-grotesk-bold.typeface.json +1 -0
  110. package/library/hdri/beach.hdr +0 -0
  111. package/library/hdri/beach.jpg +0 -0
  112. package/library/hdri/city.hdr +0 -0
  113. package/library/hdri/city.jpg +0 -0
  114. package/library/hdri/forest.hdr +0 -0
  115. package/library/hdri/forest.jpg +0 -0
  116. package/library/hdri/night-city.hdr +0 -0
  117. package/library/hdri/night-city.jpg +0 -0
  118. package/library/hdri/night.hdr +0 -0
  119. package/library/hdri/night.jpg +0 -0
  120. package/library/hdri/sky.hdr +0 -0
  121. package/library/hdri/sky.jpg +0 -0
  122. package/library/hdri/softbox.hdr +0 -0
  123. package/library/hdri/softbox.jpg +0 -0
  124. package/library/hdri/studio.hdr +0 -0
  125. package/library/hdri/studio.jpg +0 -0
  126. package/library/hdri/sunset.hdr +0 -0
  127. package/library/hdri/sunset.jpg +0 -0
  128. package/library/hdri/warehouse.hdr +0 -0
  129. package/library/hdri/warehouse.jpg +0 -0
  130. package/library/index.json +5510 -0
  131. package/library/models/animals/fish.glb +0 -0
  132. package/library/models/animals/fox.glb +0 -0
  133. package/library/models/buildings/castle.glb +0 -0
  134. package/library/models/buildings/house.glb +0 -0
  135. package/library/models/buildings/market.glb +0 -0
  136. package/library/models/buildings/tavern.glb +0 -0
  137. package/library/models/buildings/tower.glb +0 -0
  138. package/library/models/buildings/windmill.glb +0 -0
  139. package/library/models/characters/barbarian.glb +0 -0
  140. package/library/models/characters/knight.glb +0 -0
  141. package/library/models/characters/mage.glb +0 -0
  142. package/library/models/characters/mini-soldier.glb +0 -0
  143. package/library/models/characters/platformer-hero.glb +0 -0
  144. package/library/models/characters/robot.glb +0 -0
  145. package/library/models/characters/rogue.glb +0 -0
  146. package/library/models/characters/skeleton.glb +0 -0
  147. package/library/models/city/building-a.glb +0 -0
  148. package/library/models/city/building-b.glb +0 -0
  149. package/library/models/city/building-tall.glb +0 -0
  150. package/library/models/city/fire-hydrant.glb +0 -0
  151. package/library/models/city/road-corner.glb +0 -0
  152. package/library/models/city/road-crossing.glb +0 -0
  153. package/library/models/city/road-junction.glb +0 -0
  154. package/library/models/city/road-straight.glb +0 -0
  155. package/library/models/city/streetlight.glb +0 -0
  156. package/library/models/city/suburban-house.glb +0 -0
  157. package/library/models/city/traffic-light.glb +0 -0
  158. package/library/models/city/water-tower.glb +0 -0
  159. package/library/models/food/apple.glb +0 -0
  160. package/library/models/food/avocado.glb +0 -0
  161. package/library/models/food/baguette.glb +0 -0
  162. package/library/models/food/bread-loaf.glb +0 -0
  163. package/library/models/food/burger.glb +0 -0
  164. package/library/models/food/carrot.glb +0 -0
  165. package/library/models/food/cheese.glb +0 -0
  166. package/library/models/food/cookie.glb +0 -0
  167. package/library/models/food/croissant.glb +0 -0
  168. package/library/models/food/cupcake.glb +0 -0
  169. package/library/models/food/dinner-plate.glb +0 -0
  170. package/library/models/food/donut.glb +0 -0
  171. package/library/models/food/ketchup.glb +0 -0
  172. package/library/models/food/mug.glb +0 -0
  173. package/library/models/food/pain-au-chocolat.glb +0 -0
  174. package/library/models/food/stew.glb +0 -0
  175. package/library/models/food/tomato.glb +0 -0
  176. package/library/models/food/veggie-burger.glb +0 -0
  177. package/library/models/nature/bush.glb +0 -0
  178. package/library/models/nature/cactus.glb +0 -0
  179. package/library/models/nature/cloud.glb +0 -0
  180. package/library/models/nature/fir-tree.glb +0 -0
  181. package/library/models/nature/forest-patch.glb +0 -0
  182. package/library/models/nature/grass-small.glb +0 -0
  183. package/library/models/nature/grass.glb +0 -0
  184. package/library/models/nature/hex-grass.glb +0 -0
  185. package/library/models/nature/hex-water.glb +0 -0
  186. package/library/models/nature/hills.glb +0 -0
  187. package/library/models/nature/mountain.glb +0 -0
  188. package/library/models/nature/pine-autumn.glb +0 -0
  189. package/library/models/nature/pine-tree.glb +0 -0
  190. package/library/models/nature/pumpkin.glb +0 -0
  191. package/library/models/nature/rock-flat.glb +0 -0
  192. package/library/models/nature/rock.glb +0 -0
  193. package/library/models/nature/tree-dead.glb +0 -0
  194. package/library/models/nature/tree-slim.glb +0 -0
  195. package/library/models/nature/trees-cluster.glb +0 -0
  196. package/library/models/nature/waterlily.glb +0 -0
  197. package/library/models/platformer/blaster.glb +0 -0
  198. package/library/models/platformer/block-coin.glb +0 -0
  199. package/library/models/platformer/brick.glb +0 -0
  200. package/library/models/platformer/coin.glb +0 -0
  201. package/library/models/platformer/enemy-flying.glb +0 -0
  202. package/library/models/platformer/flag.glb +0 -0
  203. package/library/models/platformer/platform-falling.glb +0 -0
  204. package/library/models/platformer/platform-grass-round.glb +0 -0
  205. package/library/models/platformer/platform-large.glb +0 -0
  206. package/library/models/platformer/platform-medium.glb +0 -0
  207. package/library/models/platformer/platform.glb +0 -0
  208. package/library/models/platformer/target.glb +0 -0
  209. package/library/models/platformer/track-corner.glb +0 -0
  210. package/library/models/platformer/track-straight.glb +0 -0
  211. package/library/models/platformer/wall-low.glb +0 -0
  212. package/library/models/products/boombox.glb +0 -0
  213. package/library/models/products/iridescent-lamp.glb +0 -0
  214. package/library/models/products/lantern.glb +0 -0
  215. package/library/models/products/lounge-chair.glb +0 -0
  216. package/library/models/products/sneaker.glb +0 -0
  217. package/library/models/products/velvet-sofa.glb +0 -0
  218. package/library/models/products/water-bottle.glb +0 -0
  219. package/library/models/props/alarm-clock.glb +0 -0
  220. package/library/models/props/armchair.glb +0 -0
  221. package/library/models/props/barrel.glb +0 -0
  222. package/library/models/props/bench.glb +0 -0
  223. package/library/models/props/brass-vase.glb +0 -0
  224. package/library/models/props/chest.glb +0 -0
  225. package/library/models/props/coffee-table.glb +0 -0
  226. package/library/models/props/coin-stack.glb +0 -0
  227. package/library/models/props/coin.glb +0 -0
  228. package/library/models/props/couch.glb +0 -0
  229. package/library/models/props/crate.glb +0 -0
  230. package/library/models/props/flag.glb +0 -0
  231. package/library/models/props/gravestone.glb +0 -0
  232. package/library/models/props/key.glb +0 -0
  233. package/library/models/props/lamp.glb +0 -0
  234. package/library/models/props/lantern.glb +0 -0
  235. package/library/models/props/marble-bust.glb +0 -0
  236. package/library/models/props/modern-armchair.glb +0 -0
  237. package/library/models/props/potted-succulent.glb +0 -0
  238. package/library/models/props/rubber-duck.glb +0 -0
  239. package/library/models/props/shield.glb +0 -0
  240. package/library/models/props/sword-shield.glb +0 -0
  241. package/library/models/props/sword.glb +0 -0
  242. package/library/models/props/table.glb +0 -0
  243. package/library/models/props/tent.glb +0 -0
  244. package/library/models/props/torch.glb +0 -0
  245. package/library/models/props/trophy.glb +0 -0
  246. package/library/models/space/base-module.glb +0 -0
  247. package/library/models/space/lander.glb +0 -0
  248. package/library/models/space/landing-pad.glb +0 -0
  249. package/library/models/space/rocks.glb +0 -0
  250. package/library/models/space/solar-panel.glb +0 -0
  251. package/library/models/space/space-truck.glb +0 -0
  252. package/library/models/space/wind-turbine.glb +0 -0
  253. package/library/models/vehicles/car.glb +0 -0
  254. package/library/models/vehicles/hatchback.glb +0 -0
  255. package/library/models/vehicles/motorcycle.glb +0 -0
  256. package/library/models/vehicles/police-car.glb +0 -0
  257. package/library/models/vehicles/taxi.glb +0 -0
  258. package/library/models/vehicles/truck.glb +0 -0
  259. package/library/sources.json +2856 -0
  260. package/library/textures/brick-color.jpg +0 -0
  261. package/library/textures/brick-normal.jpg +0 -0
  262. package/library/textures/brick-roughness.jpg +0 -0
  263. package/library/textures/concrete-color.jpg +0 -0
  264. package/library/textures/concrete-normal.jpg +0 -0
  265. package/library/textures/concrete-roughness.jpg +0 -0
  266. package/library/textures/fabric-color.jpg +0 -0
  267. package/library/textures/fabric-normal.jpg +0 -0
  268. package/library/textures/fabric-roughness.jpg +0 -0
  269. package/library/textures/grass-ground-color.jpg +0 -0
  270. package/library/textures/grass-ground-normal.jpg +0 -0
  271. package/library/textures/grass-ground-roughness.jpg +0 -0
  272. package/library/textures/rusty-metal-color.jpg +0 -0
  273. package/library/textures/rusty-metal-normal.jpg +0 -0
  274. package/library/textures/rusty-metal-roughness.jpg +0 -0
  275. package/library/textures/wood-planks-color.jpg +0 -0
  276. package/library/textures/wood-planks-normal.jpg +0 -0
  277. package/library/textures/wood-planks-roughness.jpg +0 -0
  278. package/package.json +67 -4
  279. package/plugin/.claude-plugin/plugin.json +19 -0
  280. package/plugin/skills/agent3d-assets/SKILL.md +140 -0
  281. package/plugin/skills/agent3d-assets/references/sources.md +33 -0
  282. package/plugin/skills/agent3d-create/SKILL.md +141 -0
  283. package/plugin/skills/agent3d-create/references/art-direction.md +144 -0
  284. package/plugin/skills/agent3d-create/references/recipes.md +1357 -0
  285. package/plugin/skills/agent3d-edit/SKILL.md +121 -0
  286. package/plugin/skills/agent3d-edit/references/patch-ops.md +278 -0
  287. package/plugin/skills/agent3d-game/SKILL.md +111 -0
  288. package/plugin/skills/agent3d-game/references/game-patterns.md +262 -0
  289. package/plugin/skills/agent3d-game/references/script-api.md +211 -0
  290. package/plugin/skills/agent3d-publish/SKILL.md +161 -0
  291. package/plugin/skills/agent3d-publish/references/integrations.md +221 -0
  292. package/templates/banner-aurora-night/README.md +15 -0
  293. package/templates/banner-aurora-night/agent3d.json +8 -0
  294. package/templates/banner-aurora-night/preview.png +0 -0
  295. package/templates/banner-aurora-night/scene.json +327 -0
  296. package/templates/banner-aurora-night/template.json +24 -0
  297. package/templates/banner-data-bars/README.md +15 -0
  298. package/templates/banner-data-bars/agent3d.json +8 -0
  299. package/templates/banner-data-bars/preview.png +0 -0
  300. package/templates/banner-data-bars/scene.json +222 -0
  301. package/templates/banner-data-bars/template.json +25 -0
  302. package/templates/banner-floating-shapes/README.md +15 -0
  303. package/templates/banner-floating-shapes/agent3d.json +8 -0
  304. package/templates/banner-floating-shapes/preview.png +0 -0
  305. package/templates/banner-floating-shapes/scene.json +703 -0
  306. package/templates/banner-floating-shapes/template.json +24 -0
  307. package/templates/banner-gradient-blob/README.md +16 -0
  308. package/templates/banner-gradient-blob/agent3d.json +8 -0
  309. package/templates/banner-gradient-blob/preview.png +0 -0
  310. package/templates/banner-gradient-blob/scene.json +330 -0
  311. package/templates/banner-gradient-blob/template.json +21 -0
  312. package/templates/banner-liquid-chrome/README.md +16 -0
  313. package/templates/banner-liquid-chrome/agent3d.json +8 -0
  314. package/templates/banner-liquid-chrome/preview.png +0 -0
  315. package/templates/banner-liquid-chrome/scene.json +290 -0
  316. package/templates/banner-liquid-chrome/template.json +24 -0
  317. package/templates/banner-logo-extrude/README.md +24 -0
  318. package/templates/banner-logo-extrude/agent3d.json +8 -0
  319. package/templates/banner-logo-extrude/assets/logo.svg +6 -0
  320. package/templates/banner-logo-extrude/assets/manifest.json +13 -0
  321. package/templates/banner-logo-extrude/preview.png +0 -0
  322. package/templates/banner-logo-extrude/scene.json +332 -0
  323. package/templates/banner-logo-extrude/template.json +22 -0
  324. package/templates/banner-neon-title/README.md +18 -0
  325. package/templates/banner-neon-title/agent3d.json +8 -0
  326. package/templates/banner-neon-title/preview.png +0 -0
  327. package/templates/banner-neon-title/scene.json +494 -0
  328. package/templates/banner-neon-title/template.json +25 -0
  329. package/templates/banner-wave-grid/README.md +18 -0
  330. package/templates/banner-wave-grid/agent3d.json +8 -0
  331. package/templates/banner-wave-grid/preview.png +0 -0
  332. package/templates/banner-wave-grid/scene.json +217 -0
  333. package/templates/banner-wave-grid/template.json +23 -0
  334. package/templates/card-hover-3d/README.md +16 -0
  335. package/templates/card-hover-3d/agent3d.json +8 -0
  336. package/templates/card-hover-3d/preview.png +0 -0
  337. package/templates/card-hover-3d/scene.json +359 -0
  338. package/templates/card-hover-3d/template.json +21 -0
  339. package/templates/card-product-tilt/README.md +14 -0
  340. package/templates/card-product-tilt/agent3d.json +8 -0
  341. package/templates/card-product-tilt/preview.png +0 -0
  342. package/templates/card-product-tilt/scene.json +296 -0
  343. package/templates/card-product-tilt/template.json +23 -0
  344. package/templates/character-mascot-hero/README.md +19 -0
  345. package/templates/character-mascot-hero/agent3d.json +8 -0
  346. package/templates/character-mascot-hero/preview.png +0 -0
  347. package/templates/character-mascot-hero/scene.json +512 -0
  348. package/templates/character-mascot-hero/template.json +8 -0
  349. package/templates/character-showcase/README.md +27 -0
  350. package/templates/character-showcase/agent3d.json +8 -0
  351. package/templates/character-showcase/preview.png +0 -0
  352. package/templates/character-showcase/scene.json +440 -0
  353. package/templates/character-showcase/template.json +24 -0
  354. package/templates/diorama-city/README.md +21 -0
  355. package/templates/diorama-city/agent3d.json +8 -0
  356. package/templates/diorama-city/preview.png +0 -0
  357. package/templates/diorama-city/scene.json +432 -0
  358. package/templates/diorama-city/template.json +21 -0
  359. package/templates/game-basket/README.md +25 -0
  360. package/templates/game-basket/agent3d.json +8 -0
  361. package/templates/game-basket/preview.png +0 -0
  362. package/templates/game-basket/scene.json +640 -0
  363. package/templates/game-basket/scripts/basket.js +176 -0
  364. package/templates/game-basket/template.json +8 -0
  365. package/templates/game-coin-collector/README.md +28 -0
  366. package/templates/game-coin-collector/agent3d.json +8 -0
  367. package/templates/game-coin-collector/preview.png +0 -0
  368. package/templates/game-coin-collector/scene.json +900 -0
  369. package/templates/game-coin-collector/scripts/collector.js +210 -0
  370. package/templates/game-coin-collector/template.json +19 -0
  371. package/templates/game-maze/README.md +24 -0
  372. package/templates/game-maze/agent3d.json +8 -0
  373. package/templates/game-maze/preview.png +0 -0
  374. package/templates/game-maze/scene.json +315 -0
  375. package/templates/game-maze/scripts/maze.js +168 -0
  376. package/templates/game-maze/template.json +18 -0
  377. package/templates/game-physics-playground/README.md +30 -0
  378. package/templates/game-physics-playground/agent3d.json +8 -0
  379. package/templates/game-physics-playground/preview.png +0 -0
  380. package/templates/game-physics-playground/scene.json +1712 -0
  381. package/templates/game-physics-playground/scripts/playground.js +151 -0
  382. package/templates/game-physics-playground/template.json +19 -0
  383. package/templates/game-platformer/README.md +26 -0
  384. package/templates/game-platformer/agent3d.json +8 -0
  385. package/templates/game-platformer/preview.png +0 -0
  386. package/templates/game-platformer/scene.json +1063 -0
  387. package/templates/game-platformer/scripts/platformer.js +222 -0
  388. package/templates/game-platformer/template.json +8 -0
  389. package/templates/game-runner/README.md +30 -0
  390. package/templates/game-runner/agent3d.json +8 -0
  391. package/templates/game-runner/preview.png +0 -0
  392. package/templates/game-runner/scene.json +1317 -0
  393. package/templates/game-runner/scripts/runner.js +263 -0
  394. package/templates/game-runner/template.json +18 -0
  395. package/templates/game-tap-targets/README.md +21 -0
  396. package/templates/game-tap-targets/agent3d.json +8 -0
  397. package/templates/game-tap-targets/preview.png +0 -0
  398. package/templates/game-tap-targets/scene.json +924 -0
  399. package/templates/game-tap-targets/scripts/targets.js +159 -0
  400. package/templates/game-tap-targets/template.json +19 -0
  401. package/templates/hero-floating-island/README.md +18 -0
  402. package/templates/hero-floating-island/agent3d.json +8 -0
  403. package/templates/hero-floating-island/preview.png +0 -0
  404. package/templates/hero-floating-island/scene.json +658 -0
  405. package/templates/hero-floating-island/template.json +8 -0
  406. package/templates/hero-perfume-luxury/README.md +18 -0
  407. package/templates/hero-perfume-luxury/agent3d.json +8 -0
  408. package/templates/hero-perfume-luxury/preview.png +0 -0
  409. package/templates/hero-perfume-luxury/scene.json +529 -0
  410. package/templates/hero-perfume-luxury/template.json +27 -0
  411. package/templates/hero-product-turntable/README.md +16 -0
  412. package/templates/hero-product-turntable/agent3d.json +8 -0
  413. package/templates/hero-product-turntable/preview.png +0 -0
  414. package/templates/hero-product-turntable/scene.json +225 -0
  415. package/templates/hero-product-turntable/template.json +21 -0
  416. package/templates/hero-saas-globe/README.md +16 -0
  417. package/templates/hero-saas-globe/agent3d.json +8 -0
  418. package/templates/hero-saas-globe/preview.png +0 -0
  419. package/templates/hero-saas-globe/scene.json +318 -0
  420. package/templates/hero-saas-globe/template.json +24 -0
  421. package/templates/hero-scroll-story/README.md +26 -0
  422. package/templates/hero-scroll-story/agent3d.json +8 -0
  423. package/templates/hero-scroll-story/preview.png +0 -0
  424. package/templates/hero-scroll-story/scene.json +642 -0
  425. package/templates/hero-scroll-story/template.json +22 -0
  426. package/templates/hero-sneaker-showcase/README.md +19 -0
  427. package/templates/hero-sneaker-showcase/agent3d.json +8 -0
  428. package/templates/hero-sneaker-showcase/preview.png +0 -0
  429. package/templates/hero-sneaker-showcase/scene.json +523 -0
  430. package/templates/hero-sneaker-showcase/template.json +23 -0
  431. package/templates/hero-space-planet/README.md +17 -0
  432. package/templates/hero-space-planet/agent3d.json +8 -0
  433. package/templates/hero-space-planet/preview.png +0 -0
  434. package/templates/hero-space-planet/scene.json +330 -0
  435. package/templates/hero-space-planet/template.json +21 -0
  436. package/templates/landscape-island/README.md +21 -0
  437. package/templates/landscape-island/agent3d.json +8 -0
  438. package/templates/landscape-island/preview.png +0 -0
  439. package/templates/landscape-island/scene.json +716 -0
  440. package/templates/landscape-island/template.json +24 -0
  441. package/templates/landscape-night-galaxy/README.md +25 -0
  442. package/templates/landscape-night-galaxy/agent3d.json +8 -0
  443. package/templates/landscape-night-galaxy/preview.png +0 -0
  444. package/templates/landscape-night-galaxy/scene.json +403 -0
  445. package/templates/landscape-night-galaxy/template.json +8 -0
  446. package/templates/landscape-valley-sunset/README.md +20 -0
  447. package/templates/landscape-valley-sunset/agent3d.json +8 -0
  448. package/templates/landscape-valley-sunset/preview.png +0 -0
  449. package/templates/landscape-valley-sunset/scene.json +265 -0
  450. package/templates/landscape-valley-sunset/template.json +22 -0
  451. package/templates/scene-cozy-room/README.md +21 -0
  452. package/templates/scene-cozy-room/agent3d.json +8 -0
  453. package/templates/scene-cozy-room/preview.png +0 -0
  454. package/templates/scene-cozy-room/scene.json +728 -0
  455. package/templates/scene-cozy-room/template.json +8 -0
@@ -0,0 +1,1317 @@
1
+ {
2
+ "version": 1,
3
+ "id": "game-runner",
4
+ "title": "Endless runner",
5
+ "ariaLabel": "Endless runner mini game: change lanes with the arrow keys or by tapping, jump with Space or a swipe up",
6
+ "seed": 3,
7
+ "target": {
8
+ "kind": "game",
9
+ "aspect": "16:9",
10
+ "budgetKb": 400,
11
+ "reducedMotion": "ignore",
12
+ "maxDpr": 2,
13
+ "lazy": true
14
+ },
15
+ "camera": {
16
+ "type": "perspective",
17
+ "fov": 55,
18
+ "position": [
19
+ 0,
20
+ 3.6,
21
+ 6.5
22
+ ],
23
+ "target": [
24
+ 0,
25
+ 1,
26
+ -6
27
+ ]
28
+ },
29
+ "environment": {
30
+ "background": {
31
+ "sky": {
32
+ "top": "#3e6fc4",
33
+ "horizon": "#ffc999",
34
+ "bottom": "#ffb38a",
35
+ "sun": {
36
+ "direction": [
37
+ 0.25,
38
+ 0.12,
39
+ -1
40
+ ],
41
+ "color": "#fff0d0",
42
+ "size": 1.6
43
+ }
44
+ }
45
+ },
46
+ "lighting": "sunset",
47
+ "lightingIntensity": 0.55,
48
+ "fog": {
49
+ "color": "#ffc999",
50
+ "near": 28,
51
+ "far": 72
52
+ }
53
+ },
54
+ "lights": [
55
+ {
56
+ "id": "fill",
57
+ "type": "hemisphere",
58
+ "skyColor": "#ffe6cc",
59
+ "groundColor": "#6f9a52",
60
+ "intensity": 0.8
61
+ },
62
+ {
63
+ "id": "sun",
64
+ "type": "directional",
65
+ "position": [
66
+ 4,
67
+ 5,
68
+ -10
69
+ ],
70
+ "color": "#ffcc8f",
71
+ "intensity": 2.4,
72
+ "castShadow": true
73
+ },
74
+ {
75
+ "id": "front",
76
+ "type": "directional",
77
+ "position": [
78
+ -3,
79
+ 4,
80
+ 8
81
+ ],
82
+ "color": "#cfe0ff",
83
+ "intensity": 0.7
84
+ }
85
+ ],
86
+ "objects": [
87
+ {
88
+ "id": "road",
89
+ "kind": "generator",
90
+ "generator": "road",
91
+ "params": {
92
+ "width": 6,
93
+ "length": 80,
94
+ "lanes": 3,
95
+ "color": "#3d405b",
96
+ "lineColor": "#f4f1de",
97
+ "speed": 11
98
+ },
99
+ "receiveShadow": true
100
+ },
101
+ {
102
+ "id": "hillsL",
103
+ "kind": "generator",
104
+ "generator": "trees",
105
+ "params": {
106
+ "count": 40,
107
+ "area": [
108
+ 14,
109
+ 0,
110
+ 70
111
+ ],
112
+ "style": "round",
113
+ "onTerrain": false,
114
+ "sway": true,
115
+ "leafColors": [
116
+ "#3f8f3a",
117
+ "#5fae46",
118
+ "#8cc85a"
119
+ ]
120
+ },
121
+ "position": [
122
+ -13,
123
+ 0,
124
+ -30
125
+ ],
126
+ "seed": 2
127
+ },
128
+ {
129
+ "id": "hillsR",
130
+ "kind": "generator",
131
+ "generator": "trees",
132
+ "params": {
133
+ "count": 40,
134
+ "area": [
135
+ 14,
136
+ 0,
137
+ 70
138
+ ],
139
+ "style": "mixed",
140
+ "onTerrain": false,
141
+ "sway": true,
142
+ "leafColors": [
143
+ "#3f8f3a",
144
+ "#5fae46",
145
+ "#8cc85a"
146
+ ]
147
+ },
148
+ "position": [
149
+ 13,
150
+ 0,
151
+ -30
152
+ ],
153
+ "seed": 5
154
+ },
155
+ {
156
+ "id": "runner",
157
+ "kind": "generator",
158
+ "generator": "character",
159
+ "params": {
160
+ "style": "humanoid",
161
+ "shirt": "#ef476f",
162
+ "pants": "#26547c",
163
+ "skin": "#f1c27d",
164
+ "hair": "#3b2a20",
165
+ "accent": "#ffd166",
166
+ "animation": "run",
167
+ "animationSpeed": 1.4,
168
+ "height": 1.5,
169
+ "outfit": "hoodie",
170
+ "hairStyle": "spiky",
171
+ "accessories": [
172
+ "cap",
173
+ "backpack"
174
+ ],
175
+ "expression": "happy"
176
+ },
177
+ "rotation": [
178
+ 0,
179
+ 180,
180
+ 0
181
+ ],
182
+ "castShadow": true
183
+ },
184
+ {
185
+ "id": "obstacles",
186
+ "kind": "group",
187
+ "children": [
188
+ {
189
+ "id": "barrier0",
190
+ "kind": "group",
191
+ "tags": [
192
+ "barrier"
193
+ ],
194
+ "visible": false,
195
+ "children": [
196
+ {
197
+ "id": "barrier0Board",
198
+ "kind": "mesh",
199
+ "geometry": {
200
+ "type": "roundedBox",
201
+ "width": 1.7,
202
+ "height": 0.5,
203
+ "depth": 0.25,
204
+ "radius": 0.06
205
+ },
206
+ "position": [
207
+ 0,
208
+ 0.55,
209
+ 0
210
+ ],
211
+ "material": {
212
+ "preset": "plastic",
213
+ "color": "#ef476f"
214
+ }
215
+ },
216
+ {
217
+ "id": "barrier0Stripe",
218
+ "kind": "mesh",
219
+ "geometry": {
220
+ "type": "box",
221
+ "width": 1.72,
222
+ "height": 0.12,
223
+ "depth": 0.27
224
+ },
225
+ "position": [
226
+ 0,
227
+ 0.55,
228
+ 0
229
+ ],
230
+ "material": {
231
+ "preset": "plastic",
232
+ "color": "#ffffff"
233
+ }
234
+ },
235
+ {
236
+ "id": "barrier0LegL",
237
+ "kind": "mesh",
238
+ "geometry": {
239
+ "type": "box",
240
+ "width": 0.12,
241
+ "height": 0.4,
242
+ "depth": 0.12
243
+ },
244
+ "position": [
245
+ -0.65,
246
+ 0.2,
247
+ 0
248
+ ],
249
+ "material": {
250
+ "preset": "matte",
251
+ "color": "#3d405b"
252
+ }
253
+ },
254
+ {
255
+ "id": "barrier0LegR",
256
+ "kind": "mesh",
257
+ "geometry": {
258
+ "type": "box",
259
+ "width": 0.12,
260
+ "height": 0.4,
261
+ "depth": 0.12
262
+ },
263
+ "position": [
264
+ 0.65,
265
+ 0.2,
266
+ 0
267
+ ],
268
+ "material": {
269
+ "preset": "matte",
270
+ "color": "#3d405b"
271
+ }
272
+ }
273
+ ]
274
+ },
275
+ {
276
+ "id": "barrier1",
277
+ "kind": "group",
278
+ "tags": [
279
+ "barrier"
280
+ ],
281
+ "visible": false,
282
+ "children": [
283
+ {
284
+ "id": "barrier1Board",
285
+ "kind": "mesh",
286
+ "geometry": {
287
+ "type": "roundedBox",
288
+ "width": 1.7,
289
+ "height": 0.5,
290
+ "depth": 0.25,
291
+ "radius": 0.06
292
+ },
293
+ "position": [
294
+ 0,
295
+ 0.55,
296
+ 0
297
+ ],
298
+ "material": {
299
+ "preset": "plastic",
300
+ "color": "#ef476f"
301
+ }
302
+ },
303
+ {
304
+ "id": "barrier1Stripe",
305
+ "kind": "mesh",
306
+ "geometry": {
307
+ "type": "box",
308
+ "width": 1.72,
309
+ "height": 0.12,
310
+ "depth": 0.27
311
+ },
312
+ "position": [
313
+ 0,
314
+ 0.55,
315
+ 0
316
+ ],
317
+ "material": {
318
+ "preset": "plastic",
319
+ "color": "#ffffff"
320
+ }
321
+ },
322
+ {
323
+ "id": "barrier1LegL",
324
+ "kind": "mesh",
325
+ "geometry": {
326
+ "type": "box",
327
+ "width": 0.12,
328
+ "height": 0.4,
329
+ "depth": 0.12
330
+ },
331
+ "position": [
332
+ -0.65,
333
+ 0.2,
334
+ 0
335
+ ],
336
+ "material": {
337
+ "preset": "matte",
338
+ "color": "#3d405b"
339
+ }
340
+ },
341
+ {
342
+ "id": "barrier1LegR",
343
+ "kind": "mesh",
344
+ "geometry": {
345
+ "type": "box",
346
+ "width": 0.12,
347
+ "height": 0.4,
348
+ "depth": 0.12
349
+ },
350
+ "position": [
351
+ 0.65,
352
+ 0.2,
353
+ 0
354
+ ],
355
+ "material": {
356
+ "preset": "matte",
357
+ "color": "#3d405b"
358
+ }
359
+ }
360
+ ]
361
+ },
362
+ {
363
+ "id": "barrier2",
364
+ "kind": "group",
365
+ "tags": [
366
+ "barrier"
367
+ ],
368
+ "visible": false,
369
+ "children": [
370
+ {
371
+ "id": "barrier2Board",
372
+ "kind": "mesh",
373
+ "geometry": {
374
+ "type": "roundedBox",
375
+ "width": 1.7,
376
+ "height": 0.5,
377
+ "depth": 0.25,
378
+ "radius": 0.06
379
+ },
380
+ "position": [
381
+ 0,
382
+ 0.55,
383
+ 0
384
+ ],
385
+ "material": {
386
+ "preset": "plastic",
387
+ "color": "#ef476f"
388
+ }
389
+ },
390
+ {
391
+ "id": "barrier2Stripe",
392
+ "kind": "mesh",
393
+ "geometry": {
394
+ "type": "box",
395
+ "width": 1.72,
396
+ "height": 0.12,
397
+ "depth": 0.27
398
+ },
399
+ "position": [
400
+ 0,
401
+ 0.55,
402
+ 0
403
+ ],
404
+ "material": {
405
+ "preset": "plastic",
406
+ "color": "#ffffff"
407
+ }
408
+ },
409
+ {
410
+ "id": "barrier2LegL",
411
+ "kind": "mesh",
412
+ "geometry": {
413
+ "type": "box",
414
+ "width": 0.12,
415
+ "height": 0.4,
416
+ "depth": 0.12
417
+ },
418
+ "position": [
419
+ -0.65,
420
+ 0.2,
421
+ 0
422
+ ],
423
+ "material": {
424
+ "preset": "matte",
425
+ "color": "#3d405b"
426
+ }
427
+ },
428
+ {
429
+ "id": "barrier2LegR",
430
+ "kind": "mesh",
431
+ "geometry": {
432
+ "type": "box",
433
+ "width": 0.12,
434
+ "height": 0.4,
435
+ "depth": 0.12
436
+ },
437
+ "position": [
438
+ 0.65,
439
+ 0.2,
440
+ 0
441
+ ],
442
+ "material": {
443
+ "preset": "matte",
444
+ "color": "#3d405b"
445
+ }
446
+ }
447
+ ]
448
+ },
449
+ {
450
+ "id": "barrier3",
451
+ "kind": "group",
452
+ "tags": [
453
+ "barrier"
454
+ ],
455
+ "visible": false,
456
+ "children": [
457
+ {
458
+ "id": "barrier3Board",
459
+ "kind": "mesh",
460
+ "geometry": {
461
+ "type": "roundedBox",
462
+ "width": 1.7,
463
+ "height": 0.5,
464
+ "depth": 0.25,
465
+ "radius": 0.06
466
+ },
467
+ "position": [
468
+ 0,
469
+ 0.55,
470
+ 0
471
+ ],
472
+ "material": {
473
+ "preset": "plastic",
474
+ "color": "#ef476f"
475
+ }
476
+ },
477
+ {
478
+ "id": "barrier3Stripe",
479
+ "kind": "mesh",
480
+ "geometry": {
481
+ "type": "box",
482
+ "width": 1.72,
483
+ "height": 0.12,
484
+ "depth": 0.27
485
+ },
486
+ "position": [
487
+ 0,
488
+ 0.55,
489
+ 0
490
+ ],
491
+ "material": {
492
+ "preset": "plastic",
493
+ "color": "#ffffff"
494
+ }
495
+ },
496
+ {
497
+ "id": "barrier3LegL",
498
+ "kind": "mesh",
499
+ "geometry": {
500
+ "type": "box",
501
+ "width": 0.12,
502
+ "height": 0.4,
503
+ "depth": 0.12
504
+ },
505
+ "position": [
506
+ -0.65,
507
+ 0.2,
508
+ 0
509
+ ],
510
+ "material": {
511
+ "preset": "matte",
512
+ "color": "#3d405b"
513
+ }
514
+ },
515
+ {
516
+ "id": "barrier3LegR",
517
+ "kind": "mesh",
518
+ "geometry": {
519
+ "type": "box",
520
+ "width": 0.12,
521
+ "height": 0.4,
522
+ "depth": 0.12
523
+ },
524
+ "position": [
525
+ 0.65,
526
+ 0.2,
527
+ 0
528
+ ],
529
+ "material": {
530
+ "preset": "matte",
531
+ "color": "#3d405b"
532
+ }
533
+ }
534
+ ]
535
+ },
536
+ {
537
+ "id": "barrier4",
538
+ "kind": "group",
539
+ "tags": [
540
+ "barrier"
541
+ ],
542
+ "visible": false,
543
+ "children": [
544
+ {
545
+ "id": "barrier4Board",
546
+ "kind": "mesh",
547
+ "geometry": {
548
+ "type": "roundedBox",
549
+ "width": 1.7,
550
+ "height": 0.5,
551
+ "depth": 0.25,
552
+ "radius": 0.06
553
+ },
554
+ "position": [
555
+ 0,
556
+ 0.55,
557
+ 0
558
+ ],
559
+ "material": {
560
+ "preset": "plastic",
561
+ "color": "#ef476f"
562
+ }
563
+ },
564
+ {
565
+ "id": "barrier4Stripe",
566
+ "kind": "mesh",
567
+ "geometry": {
568
+ "type": "box",
569
+ "width": 1.72,
570
+ "height": 0.12,
571
+ "depth": 0.27
572
+ },
573
+ "position": [
574
+ 0,
575
+ 0.55,
576
+ 0
577
+ ],
578
+ "material": {
579
+ "preset": "plastic",
580
+ "color": "#ffffff"
581
+ }
582
+ },
583
+ {
584
+ "id": "barrier4LegL",
585
+ "kind": "mesh",
586
+ "geometry": {
587
+ "type": "box",
588
+ "width": 0.12,
589
+ "height": 0.4,
590
+ "depth": 0.12
591
+ },
592
+ "position": [
593
+ -0.65,
594
+ 0.2,
595
+ 0
596
+ ],
597
+ "material": {
598
+ "preset": "matte",
599
+ "color": "#3d405b"
600
+ }
601
+ },
602
+ {
603
+ "id": "barrier4LegR",
604
+ "kind": "mesh",
605
+ "geometry": {
606
+ "type": "box",
607
+ "width": 0.12,
608
+ "height": 0.4,
609
+ "depth": 0.12
610
+ },
611
+ "position": [
612
+ 0.65,
613
+ 0.2,
614
+ 0
615
+ ],
616
+ "material": {
617
+ "preset": "matte",
618
+ "color": "#3d405b"
619
+ }
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ "id": "barrier5",
625
+ "kind": "group",
626
+ "tags": [
627
+ "barrier"
628
+ ],
629
+ "visible": false,
630
+ "children": [
631
+ {
632
+ "id": "barrier5Board",
633
+ "kind": "mesh",
634
+ "geometry": {
635
+ "type": "roundedBox",
636
+ "width": 1.7,
637
+ "height": 0.5,
638
+ "depth": 0.25,
639
+ "radius": 0.06
640
+ },
641
+ "position": [
642
+ 0,
643
+ 0.55,
644
+ 0
645
+ ],
646
+ "material": {
647
+ "preset": "plastic",
648
+ "color": "#ef476f"
649
+ }
650
+ },
651
+ {
652
+ "id": "barrier5Stripe",
653
+ "kind": "mesh",
654
+ "geometry": {
655
+ "type": "box",
656
+ "width": 1.72,
657
+ "height": 0.12,
658
+ "depth": 0.27
659
+ },
660
+ "position": [
661
+ 0,
662
+ 0.55,
663
+ 0
664
+ ],
665
+ "material": {
666
+ "preset": "plastic",
667
+ "color": "#ffffff"
668
+ }
669
+ },
670
+ {
671
+ "id": "barrier5LegL",
672
+ "kind": "mesh",
673
+ "geometry": {
674
+ "type": "box",
675
+ "width": 0.12,
676
+ "height": 0.4,
677
+ "depth": 0.12
678
+ },
679
+ "position": [
680
+ -0.65,
681
+ 0.2,
682
+ 0
683
+ ],
684
+ "material": {
685
+ "preset": "matte",
686
+ "color": "#3d405b"
687
+ }
688
+ },
689
+ {
690
+ "id": "barrier5LegR",
691
+ "kind": "mesh",
692
+ "geometry": {
693
+ "type": "box",
694
+ "width": 0.12,
695
+ "height": 0.4,
696
+ "depth": 0.12
697
+ },
698
+ "position": [
699
+ 0.65,
700
+ 0.2,
701
+ 0
702
+ ],
703
+ "material": {
704
+ "preset": "matte",
705
+ "color": "#3d405b"
706
+ }
707
+ }
708
+ ]
709
+ },
710
+ {
711
+ "id": "barrier6",
712
+ "kind": "group",
713
+ "tags": [
714
+ "barrier"
715
+ ],
716
+ "visible": false,
717
+ "children": [
718
+ {
719
+ "id": "barrier6Board",
720
+ "kind": "mesh",
721
+ "geometry": {
722
+ "type": "roundedBox",
723
+ "width": 1.7,
724
+ "height": 0.5,
725
+ "depth": 0.25,
726
+ "radius": 0.06
727
+ },
728
+ "position": [
729
+ 0,
730
+ 0.55,
731
+ 0
732
+ ],
733
+ "material": {
734
+ "preset": "plastic",
735
+ "color": "#ef476f"
736
+ }
737
+ },
738
+ {
739
+ "id": "barrier6Stripe",
740
+ "kind": "mesh",
741
+ "geometry": {
742
+ "type": "box",
743
+ "width": 1.72,
744
+ "height": 0.12,
745
+ "depth": 0.27
746
+ },
747
+ "position": [
748
+ 0,
749
+ 0.55,
750
+ 0
751
+ ],
752
+ "material": {
753
+ "preset": "plastic",
754
+ "color": "#ffffff"
755
+ }
756
+ },
757
+ {
758
+ "id": "barrier6LegL",
759
+ "kind": "mesh",
760
+ "geometry": {
761
+ "type": "box",
762
+ "width": 0.12,
763
+ "height": 0.4,
764
+ "depth": 0.12
765
+ },
766
+ "position": [
767
+ -0.65,
768
+ 0.2,
769
+ 0
770
+ ],
771
+ "material": {
772
+ "preset": "matte",
773
+ "color": "#3d405b"
774
+ }
775
+ },
776
+ {
777
+ "id": "barrier6LegR",
778
+ "kind": "mesh",
779
+ "geometry": {
780
+ "type": "box",
781
+ "width": 0.12,
782
+ "height": 0.4,
783
+ "depth": 0.12
784
+ },
785
+ "position": [
786
+ 0.65,
787
+ 0.2,
788
+ 0
789
+ ],
790
+ "material": {
791
+ "preset": "matte",
792
+ "color": "#3d405b"
793
+ }
794
+ }
795
+ ]
796
+ },
797
+ {
798
+ "id": "barrier7",
799
+ "kind": "group",
800
+ "tags": [
801
+ "barrier"
802
+ ],
803
+ "visible": false,
804
+ "children": [
805
+ {
806
+ "id": "barrier7Board",
807
+ "kind": "mesh",
808
+ "geometry": {
809
+ "type": "roundedBox",
810
+ "width": 1.7,
811
+ "height": 0.5,
812
+ "depth": 0.25,
813
+ "radius": 0.06
814
+ },
815
+ "position": [
816
+ 0,
817
+ 0.55,
818
+ 0
819
+ ],
820
+ "material": {
821
+ "preset": "plastic",
822
+ "color": "#ef476f"
823
+ }
824
+ },
825
+ {
826
+ "id": "barrier7Stripe",
827
+ "kind": "mesh",
828
+ "geometry": {
829
+ "type": "box",
830
+ "width": 1.72,
831
+ "height": 0.12,
832
+ "depth": 0.27
833
+ },
834
+ "position": [
835
+ 0,
836
+ 0.55,
837
+ 0
838
+ ],
839
+ "material": {
840
+ "preset": "plastic",
841
+ "color": "#ffffff"
842
+ }
843
+ },
844
+ {
845
+ "id": "barrier7LegL",
846
+ "kind": "mesh",
847
+ "geometry": {
848
+ "type": "box",
849
+ "width": 0.12,
850
+ "height": 0.4,
851
+ "depth": 0.12
852
+ },
853
+ "position": [
854
+ -0.65,
855
+ 0.2,
856
+ 0
857
+ ],
858
+ "material": {
859
+ "preset": "matte",
860
+ "color": "#3d405b"
861
+ }
862
+ },
863
+ {
864
+ "id": "barrier7LegR",
865
+ "kind": "mesh",
866
+ "geometry": {
867
+ "type": "box",
868
+ "width": 0.12,
869
+ "height": 0.4,
870
+ "depth": 0.12
871
+ },
872
+ "position": [
873
+ 0.65,
874
+ 0.2,
875
+ 0
876
+ ],
877
+ "material": {
878
+ "preset": "matte",
879
+ "color": "#3d405b"
880
+ }
881
+ }
882
+ ]
883
+ }
884
+ ]
885
+ },
886
+ {
887
+ "id": "pickups",
888
+ "kind": "group",
889
+ "children": [
890
+ {
891
+ "id": "coin0",
892
+ "kind": "mesh",
893
+ "tags": [
894
+ "coin"
895
+ ],
896
+ "visible": false,
897
+ "geometry": {
898
+ "type": "cylinder",
899
+ "radiusTop": 0.32,
900
+ "radiusBottom": 0.32,
901
+ "height": 0.08,
902
+ "segments": 24
903
+ },
904
+ "rotation": [
905
+ 90,
906
+ 0,
907
+ 0
908
+ ],
909
+ "material": {
910
+ "preset": "gold",
911
+ "emissive": "#ffb703",
912
+ "emissiveIntensity": 0.25
913
+ }
914
+ },
915
+ {
916
+ "id": "coin1",
917
+ "kind": "mesh",
918
+ "tags": [
919
+ "coin"
920
+ ],
921
+ "visible": false,
922
+ "geometry": {
923
+ "type": "cylinder",
924
+ "radiusTop": 0.32,
925
+ "radiusBottom": 0.32,
926
+ "height": 0.08,
927
+ "segments": 24
928
+ },
929
+ "rotation": [
930
+ 90,
931
+ 0,
932
+ 0
933
+ ],
934
+ "material": {
935
+ "preset": "gold",
936
+ "emissive": "#ffb703",
937
+ "emissiveIntensity": 0.25
938
+ }
939
+ },
940
+ {
941
+ "id": "coin2",
942
+ "kind": "mesh",
943
+ "tags": [
944
+ "coin"
945
+ ],
946
+ "visible": false,
947
+ "geometry": {
948
+ "type": "cylinder",
949
+ "radiusTop": 0.32,
950
+ "radiusBottom": 0.32,
951
+ "height": 0.08,
952
+ "segments": 24
953
+ },
954
+ "rotation": [
955
+ 90,
956
+ 0,
957
+ 0
958
+ ],
959
+ "material": {
960
+ "preset": "gold",
961
+ "emissive": "#ffb703",
962
+ "emissiveIntensity": 0.25
963
+ }
964
+ },
965
+ {
966
+ "id": "coin3",
967
+ "kind": "mesh",
968
+ "tags": [
969
+ "coin"
970
+ ],
971
+ "visible": false,
972
+ "geometry": {
973
+ "type": "cylinder",
974
+ "radiusTop": 0.32,
975
+ "radiusBottom": 0.32,
976
+ "height": 0.08,
977
+ "segments": 24
978
+ },
979
+ "rotation": [
980
+ 90,
981
+ 0,
982
+ 0
983
+ ],
984
+ "material": {
985
+ "preset": "gold",
986
+ "emissive": "#ffb703",
987
+ "emissiveIntensity": 0.25
988
+ }
989
+ },
990
+ {
991
+ "id": "coin4",
992
+ "kind": "mesh",
993
+ "tags": [
994
+ "coin"
995
+ ],
996
+ "visible": false,
997
+ "geometry": {
998
+ "type": "cylinder",
999
+ "radiusTop": 0.32,
1000
+ "radiusBottom": 0.32,
1001
+ "height": 0.08,
1002
+ "segments": 24
1003
+ },
1004
+ "rotation": [
1005
+ 90,
1006
+ 0,
1007
+ 0
1008
+ ],
1009
+ "material": {
1010
+ "preset": "gold",
1011
+ "emissive": "#ffb703",
1012
+ "emissiveIntensity": 0.25
1013
+ }
1014
+ },
1015
+ {
1016
+ "id": "coin5",
1017
+ "kind": "mesh",
1018
+ "tags": [
1019
+ "coin"
1020
+ ],
1021
+ "visible": false,
1022
+ "geometry": {
1023
+ "type": "cylinder",
1024
+ "radiusTop": 0.32,
1025
+ "radiusBottom": 0.32,
1026
+ "height": 0.08,
1027
+ "segments": 24
1028
+ },
1029
+ "rotation": [
1030
+ 90,
1031
+ 0,
1032
+ 0
1033
+ ],
1034
+ "material": {
1035
+ "preset": "gold",
1036
+ "emissive": "#ffb703",
1037
+ "emissiveIntensity": 0.25
1038
+ }
1039
+ },
1040
+ {
1041
+ "id": "coin6",
1042
+ "kind": "mesh",
1043
+ "tags": [
1044
+ "coin"
1045
+ ],
1046
+ "visible": false,
1047
+ "geometry": {
1048
+ "type": "cylinder",
1049
+ "radiusTop": 0.32,
1050
+ "radiusBottom": 0.32,
1051
+ "height": 0.08,
1052
+ "segments": 24
1053
+ },
1054
+ "rotation": [
1055
+ 90,
1056
+ 0,
1057
+ 0
1058
+ ],
1059
+ "material": {
1060
+ "preset": "gold",
1061
+ "emissive": "#ffb703",
1062
+ "emissiveIntensity": 0.25
1063
+ }
1064
+ },
1065
+ {
1066
+ "id": "coin7",
1067
+ "kind": "mesh",
1068
+ "tags": [
1069
+ "coin"
1070
+ ],
1071
+ "visible": false,
1072
+ "geometry": {
1073
+ "type": "cylinder",
1074
+ "radiusTop": 0.32,
1075
+ "radiusBottom": 0.32,
1076
+ "height": 0.08,
1077
+ "segments": 24
1078
+ },
1079
+ "rotation": [
1080
+ 90,
1081
+ 0,
1082
+ 0
1083
+ ],
1084
+ "material": {
1085
+ "preset": "gold",
1086
+ "emissive": "#ffb703",
1087
+ "emissiveIntensity": 0.25
1088
+ }
1089
+ },
1090
+ {
1091
+ "id": "coin8",
1092
+ "kind": "mesh",
1093
+ "tags": [
1094
+ "coin"
1095
+ ],
1096
+ "visible": false,
1097
+ "geometry": {
1098
+ "type": "cylinder",
1099
+ "radiusTop": 0.32,
1100
+ "radiusBottom": 0.32,
1101
+ "height": 0.08,
1102
+ "segments": 24
1103
+ },
1104
+ "rotation": [
1105
+ 90,
1106
+ 0,
1107
+ 0
1108
+ ],
1109
+ "material": {
1110
+ "preset": "gold",
1111
+ "emissive": "#ffb703",
1112
+ "emissiveIntensity": 0.25
1113
+ }
1114
+ },
1115
+ {
1116
+ "id": "coin9",
1117
+ "kind": "mesh",
1118
+ "tags": [
1119
+ "coin"
1120
+ ],
1121
+ "visible": false,
1122
+ "geometry": {
1123
+ "type": "cylinder",
1124
+ "radiusTop": 0.32,
1125
+ "radiusBottom": 0.32,
1126
+ "height": 0.08,
1127
+ "segments": 24
1128
+ },
1129
+ "rotation": [
1130
+ 90,
1131
+ 0,
1132
+ 0
1133
+ ],
1134
+ "material": {
1135
+ "preset": "gold",
1136
+ "emissive": "#ffb703",
1137
+ "emissiveIntensity": 0.25
1138
+ }
1139
+ },
1140
+ {
1141
+ "id": "coin10",
1142
+ "kind": "mesh",
1143
+ "tags": [
1144
+ "coin"
1145
+ ],
1146
+ "visible": false,
1147
+ "geometry": {
1148
+ "type": "cylinder",
1149
+ "radiusTop": 0.32,
1150
+ "radiusBottom": 0.32,
1151
+ "height": 0.08,
1152
+ "segments": 24
1153
+ },
1154
+ "rotation": [
1155
+ 90,
1156
+ 0,
1157
+ 0
1158
+ ],
1159
+ "material": {
1160
+ "preset": "gold",
1161
+ "emissive": "#ffb703",
1162
+ "emissiveIntensity": 0.25
1163
+ }
1164
+ },
1165
+ {
1166
+ "id": "coin11",
1167
+ "kind": "mesh",
1168
+ "tags": [
1169
+ "coin"
1170
+ ],
1171
+ "visible": false,
1172
+ "geometry": {
1173
+ "type": "cylinder",
1174
+ "radiusTop": 0.32,
1175
+ "radiusBottom": 0.32,
1176
+ "height": 0.08,
1177
+ "segments": 24
1178
+ },
1179
+ "rotation": [
1180
+ 90,
1181
+ 0,
1182
+ 0
1183
+ ],
1184
+ "material": {
1185
+ "preset": "gold",
1186
+ "emissive": "#ffb703",
1187
+ "emissiveIntensity": 0.25
1188
+ }
1189
+ }
1190
+ ]
1191
+ },
1192
+ {
1193
+ "id": "leaves",
1194
+ "kind": "particles",
1195
+ "preset": "petals",
1196
+ "count": 60,
1197
+ "area": [
1198
+ 16,
1199
+ 6,
1200
+ 30
1201
+ ],
1202
+ "position": [
1203
+ 0,
1204
+ 3,
1205
+ -12
1206
+ ],
1207
+ "size": 0.09
1208
+ }
1209
+ ],
1210
+ "scripts": [
1211
+ "scripts/runner.js"
1212
+ ],
1213
+ "data": {
1214
+ "runner": {
1215
+ "startSpeed": 11,
1216
+ "maxSpeed": 30,
1217
+ "accel": 0.35,
1218
+ "coinValue": 10
1219
+ }
1220
+ },
1221
+ "ui": {
1222
+ "color": "#fffaf2",
1223
+ "accent": "#ef476f",
1224
+ "elements": [
1225
+ {
1226
+ "id": "score",
1227
+ "type": "text",
1228
+ "text": "Score {score}",
1229
+ "anchor": "top-left",
1230
+ "style": "pill"
1231
+ },
1232
+ {
1233
+ "id": "best",
1234
+ "type": "text",
1235
+ "text": "Best {best}",
1236
+ "anchor": "top-right",
1237
+ "style": "pill"
1238
+ },
1239
+ {
1240
+ "id": "title",
1241
+ "type": "text",
1242
+ "text": "Lane Dash",
1243
+ "anchor": "top",
1244
+ "style": "title",
1245
+ "visible": "phase == 'attract'"
1246
+ },
1247
+ {
1248
+ "id": "hint",
1249
+ "type": "text",
1250
+ "text": "Press Space or tap to play",
1251
+ "anchor": "bottom",
1252
+ "style": "subtitle",
1253
+ "visible": "phase == 'attract'"
1254
+ },
1255
+ {
1256
+ "id": "over",
1257
+ "type": "text",
1258
+ "text": "Game over \u2014 {score} pts",
1259
+ "anchor": "center",
1260
+ "style": "title",
1261
+ "visible": "phase == 'over'"
1262
+ },
1263
+ {
1264
+ "id": "retry",
1265
+ "type": "button",
1266
+ "text": "Play again",
1267
+ "anchor": "bottom",
1268
+ "action": "retry",
1269
+ "visible": "phase == 'over'"
1270
+ }
1271
+ ]
1272
+ },
1273
+ "audio": {
1274
+ "sounds": {
1275
+ "coin": {
1276
+ "preset": "coin",
1277
+ "volume": 0.5
1278
+ },
1279
+ "jump": {
1280
+ "preset": "jump",
1281
+ "volume": 0.4
1282
+ },
1283
+ "lose": {
1284
+ "preset": "lose",
1285
+ "volume": 0.6
1286
+ },
1287
+ "click": {
1288
+ "preset": "click"
1289
+ },
1290
+ "whoosh": {
1291
+ "preset": "whoosh",
1292
+ "volume": 0.25
1293
+ }
1294
+ }
1295
+ },
1296
+ "postfx": [
1297
+ {
1298
+ "type": "bloom",
1299
+ "strength": 0.3,
1300
+ "threshold": 1.3,
1301
+ "radius": 0.5
1302
+ },
1303
+ {
1304
+ "type": "grading",
1305
+ "look": "warm",
1306
+ "intensity": 0.4,
1307
+ "saturation": 1.06
1308
+ },
1309
+ {
1310
+ "type": "vignette",
1311
+ "darkness": 0.55
1312
+ },
1313
+ {
1314
+ "type": "fxaa"
1315
+ }
1316
+ ]
1317
+ }