@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.
- package/LICENSE +143 -0
- package/README.md +396 -2
- package/changelog.json +68 -0
- package/dist/agent/agent3d.mjs +11242 -0
- package/dist/agent/chunks/assets-BUUM9TUB.mjs +2448 -0
- package/dist/agent/chunks/browser-t_JL_B82.mjs +226 -0
- package/dist/agent/chunks/cdp-Bdtm4fBN.mjs +178 -0
- package/dist/agent/chunks/check-CBO3Ekx1.mjs +971 -0
- package/dist/agent/chunks/export-BCI8vKw8.mjs +1130 -0
- package/dist/agent/chunks/gif-DQznzHTL.mjs +319 -0
- package/dist/agent/chunks/gltf-f_f0-OiV.mjs +207 -0
- package/dist/agent/chunks/imageCodec-Dz9PFxi9.mjs +101 -0
- package/dist/agent/chunks/jsonPath-DUCe1JpS.mjs +155 -0
- package/dist/agent/chunks/meshoptimizer-C-tN9jn5.mjs +1165 -0
- package/dist/agent/chunks/mp4-aOALfp3s.mjs +130 -0
- package/dist/agent/chunks/objects-DBAws7uf.mjs +53 -0
- package/dist/agent/chunks/optimizeSizing-CkZ3fZRp.mjs +540 -0
- package/dist/agent/chunks/package-BOIyp_2B.mjs +75 -0
- package/dist/agent/chunks/png-DXfSGJZt.mjs +91 -0
- package/dist/agent/chunks/render-CN4mgGLQ.mjs +1511 -0
- package/dist/agent/chunks/rolldown-runtime-ebOQtxsr.mjs +18 -0
- package/dist/agent/chunks/scene-BgajNvBf.mjs +444 -0
- package/dist/agent/chunks/server-CACCerkZ.mjs +237 -0
- package/dist/agent/chunks/suggest-Cpcgv1RP.mjs +46 -0
- package/dist/agent/chunks/tools-DT2tetIK.mjs +1412 -0
- package/dist/agent/chunks/tree-BrNYGui2.mjs +75 -0
- package/dist/agent/chunks/webpAnim-qaq9YgKl.mjs +132 -0
- package/dist/runtime/agent3d-runtime.js +373 -0
- package/dist/runtime/agent3d-runtime.single.js +7360 -0
- package/dist/runtime/chunks/BufferGeometryUtils-XmME4f7Z.js +1 -0
- package/dist/runtime/chunks/EXRLoader-CBdIpBMT.js +1 -0
- package/dist/runtime/chunks/FontLoader-dVu9WH2X.js +2 -0
- package/dist/runtime/chunks/GLTFLoader-Z9Inv-Xm.js +1 -0
- package/dist/runtime/chunks/GroundedSkybox-g1ASZWNu.js +1 -0
- package/dist/runtime/chunks/HDRLoader-DBOMWa7O.js +5 -0
- package/dist/runtime/chunks/OrbitControls-BIpWXK4x.js +1 -0
- package/dist/runtime/chunks/RectAreaLightUniformsLib-4ZzgX9vp.js +1 -0
- package/dist/runtime/chunks/RoomEnvironment-CXgfLJdO.js +1 -0
- package/dist/runtime/chunks/RoundedBoxGeometry-BViRogcJ.js +1 -0
- package/dist/runtime/chunks/SVGLoader-CV0U1EIF.js +1 -0
- package/dist/runtime/chunks/SkeletonUtils-DHlReJx3.js +1 -0
- package/dist/runtime/chunks/Sky-DGJXlPb_.js +243 -0
- package/dist/runtime/chunks/audio-DbVNbf-r.js +1 -0
- package/dist/runtime/chunks/catalog-DL6sgPay.js +1 -0
- package/dist/runtime/chunks/easing-CXSz2e6P.js +1 -0
- package/dist/runtime/chunks/extrude-D6WnITQq.js +1 -0
- package/dist/runtime/chunks/game-BoEiyZrL.js +20 -0
- package/dist/runtime/chunks/generators-D5JUo0jp.js +331 -0
- package/dist/runtime/chunks/materials-Dn-bYrZd.js +107 -0
- package/dist/runtime/chunks/meshGradient.glsl-BMatplLA.js +88 -0
- package/dist/runtime/chunks/meshopt_decoder.module-DXTYc6wn.js +1 -0
- package/dist/runtime/chunks/model-BCVF3QzB.js +1 -0
- package/dist/runtime/chunks/params-C2uoUDJ0.js +1 -0
- package/dist/runtime/chunks/physicsHost-ChPgysMQ.js +1 -0
- package/dist/runtime/chunks/postfx-UgKCbmZs.js +1527 -0
- package/dist/runtime/chunks/postfx-i_J5Vf-l.js +1 -0
- package/dist/runtime/chunks/random-eeej60NW.js +1 -0
- package/dist/runtime/chunks/shaders-Dw6zHdu_.js +443 -0
- package/dist/runtime/chunks/svg-CmlFY_8O.js +1 -0
- package/dist/runtime/chunks/text-D1EQpdSU.js +2 -0
- package/dist/runtime/chunks/three.module-DnaBiDAJ.js +4225 -0
- package/dist/runtime/chunks/toon-BsvVk_nK.js +6 -0
- package/dist/runtime/chunks/util-CyaW1fcW.js +1 -0
- package/dist/studio/assets/BufferGeometryUtils-CAlXAboW.js +1 -0
- package/dist/studio/assets/EXRLoader-BKkzlNd8.js +1 -0
- package/dist/studio/assets/FontLoader-Bzjx8mXt.js +2 -0
- package/dist/studio/assets/GLTFLoader-1Zd9N406.js +1 -0
- package/dist/studio/assets/GroundedSkybox-BEMqNCBD.js +1 -0
- package/dist/studio/assets/HDRLoader-DxB0kxPH.js +5 -0
- package/dist/studio/assets/OrbitControls-MlE9XiCg.js +1 -0
- package/dist/studio/assets/RectAreaLightUniformsLib-ClHrtYY6.js +1 -0
- package/dist/studio/assets/RoomEnvironment-MJ-jIEC8.js +1 -0
- package/dist/studio/assets/SVGLoader-CIYl0nEy.js +1 -0
- package/dist/studio/assets/SkeletonUtils-CG5akqME.js +1 -0
- package/dist/studio/assets/Sky-DNMfpp92.js +243 -0
- package/dist/studio/assets/audio-JD1kyX0A.js +1 -0
- package/dist/studio/assets/camera-7sEn13L-.js +2 -0
- package/dist/studio/assets/editor-CnbvVkhU.js +53 -0
- package/dist/studio/assets/extrude-9bG8hr2C.js +1 -0
- package/dist/studio/assets/game-B04KGAK0.js +19 -0
- package/dist/studio/assets/generators-LSni1Yfc.js +331 -0
- package/dist/studio/assets/index-3LL5NEIH.js +479 -0
- package/dist/studio/assets/index-BQT0otii.css +1 -0
- package/dist/studio/assets/meshopt_decoder.module-DXTYc6wn.js +1 -0
- package/dist/studio/assets/meshoptimizer-BCSwHBL3.js +1 -0
- package/dist/studio/assets/model-CNddhwmA.js +2 -0
- package/dist/studio/assets/physicsHost-hMU_SDiX.js +1 -0
- package/dist/studio/assets/postfx-BcCZS0Bq.js +1527 -0
- package/dist/studio/assets/runtime-DY_KqD1x.js +572 -0
- package/dist/studio/assets/shaders-BhMCstyv.js +443 -0
- package/dist/studio/assets/svg-CNKK-h7H.js +2 -0
- package/dist/studio/assets/text-BSPI7dk1.js +3 -0
- package/dist/studio/assets/three.module-CnI50X0U.js +4225 -0
- package/dist/studio/index.html +16 -0
- package/library/LICENSES.md +77 -0
- package/library/fonts/LICENSES.md +42 -0
- package/library/fonts/anton.typeface.json +1 -0
- package/library/fonts/bebas-neue.typeface.json +1 -0
- package/library/fonts/display.typeface.json +1 -0
- package/library/fonts/inter-black.typeface.json +1 -0
- package/library/fonts/lobster.typeface.json +1 -0
- package/library/fonts/mono.typeface.json +1 -0
- package/library/fonts/montserrat-extrabold.typeface.json +1 -0
- package/library/fonts/pacifico.typeface.json +1 -0
- package/library/fonts/sans-bold.typeface.json +1 -0
- package/library/fonts/sans.typeface.json +1 -0
- package/library/fonts/serif-bold.typeface.json +1 -0
- package/library/fonts/serif.typeface.json +1 -0
- package/library/fonts/space-grotesk-bold.typeface.json +1 -0
- package/library/hdri/beach.hdr +0 -0
- package/library/hdri/beach.jpg +0 -0
- package/library/hdri/city.hdr +0 -0
- package/library/hdri/city.jpg +0 -0
- package/library/hdri/forest.hdr +0 -0
- package/library/hdri/forest.jpg +0 -0
- package/library/hdri/night-city.hdr +0 -0
- package/library/hdri/night-city.jpg +0 -0
- package/library/hdri/night.hdr +0 -0
- package/library/hdri/night.jpg +0 -0
- package/library/hdri/sky.hdr +0 -0
- package/library/hdri/sky.jpg +0 -0
- package/library/hdri/softbox.hdr +0 -0
- package/library/hdri/softbox.jpg +0 -0
- package/library/hdri/studio.hdr +0 -0
- package/library/hdri/studio.jpg +0 -0
- package/library/hdri/sunset.hdr +0 -0
- package/library/hdri/sunset.jpg +0 -0
- package/library/hdri/warehouse.hdr +0 -0
- package/library/hdri/warehouse.jpg +0 -0
- package/library/index.json +5510 -0
- package/library/models/animals/fish.glb +0 -0
- package/library/models/animals/fox.glb +0 -0
- package/library/models/buildings/castle.glb +0 -0
- package/library/models/buildings/house.glb +0 -0
- package/library/models/buildings/market.glb +0 -0
- package/library/models/buildings/tavern.glb +0 -0
- package/library/models/buildings/tower.glb +0 -0
- package/library/models/buildings/windmill.glb +0 -0
- package/library/models/characters/barbarian.glb +0 -0
- package/library/models/characters/knight.glb +0 -0
- package/library/models/characters/mage.glb +0 -0
- package/library/models/characters/mini-soldier.glb +0 -0
- package/library/models/characters/platformer-hero.glb +0 -0
- package/library/models/characters/robot.glb +0 -0
- package/library/models/characters/rogue.glb +0 -0
- package/library/models/characters/skeleton.glb +0 -0
- package/library/models/city/building-a.glb +0 -0
- package/library/models/city/building-b.glb +0 -0
- package/library/models/city/building-tall.glb +0 -0
- package/library/models/city/fire-hydrant.glb +0 -0
- package/library/models/city/road-corner.glb +0 -0
- package/library/models/city/road-crossing.glb +0 -0
- package/library/models/city/road-junction.glb +0 -0
- package/library/models/city/road-straight.glb +0 -0
- package/library/models/city/streetlight.glb +0 -0
- package/library/models/city/suburban-house.glb +0 -0
- package/library/models/city/traffic-light.glb +0 -0
- package/library/models/city/water-tower.glb +0 -0
- package/library/models/food/apple.glb +0 -0
- package/library/models/food/avocado.glb +0 -0
- package/library/models/food/baguette.glb +0 -0
- package/library/models/food/bread-loaf.glb +0 -0
- package/library/models/food/burger.glb +0 -0
- package/library/models/food/carrot.glb +0 -0
- package/library/models/food/cheese.glb +0 -0
- package/library/models/food/cookie.glb +0 -0
- package/library/models/food/croissant.glb +0 -0
- package/library/models/food/cupcake.glb +0 -0
- package/library/models/food/dinner-plate.glb +0 -0
- package/library/models/food/donut.glb +0 -0
- package/library/models/food/ketchup.glb +0 -0
- package/library/models/food/mug.glb +0 -0
- package/library/models/food/pain-au-chocolat.glb +0 -0
- package/library/models/food/stew.glb +0 -0
- package/library/models/food/tomato.glb +0 -0
- package/library/models/food/veggie-burger.glb +0 -0
- package/library/models/nature/bush.glb +0 -0
- package/library/models/nature/cactus.glb +0 -0
- package/library/models/nature/cloud.glb +0 -0
- package/library/models/nature/fir-tree.glb +0 -0
- package/library/models/nature/forest-patch.glb +0 -0
- package/library/models/nature/grass-small.glb +0 -0
- package/library/models/nature/grass.glb +0 -0
- package/library/models/nature/hex-grass.glb +0 -0
- package/library/models/nature/hex-water.glb +0 -0
- package/library/models/nature/hills.glb +0 -0
- package/library/models/nature/mountain.glb +0 -0
- package/library/models/nature/pine-autumn.glb +0 -0
- package/library/models/nature/pine-tree.glb +0 -0
- package/library/models/nature/pumpkin.glb +0 -0
- package/library/models/nature/rock-flat.glb +0 -0
- package/library/models/nature/rock.glb +0 -0
- package/library/models/nature/tree-dead.glb +0 -0
- package/library/models/nature/tree-slim.glb +0 -0
- package/library/models/nature/trees-cluster.glb +0 -0
- package/library/models/nature/waterlily.glb +0 -0
- package/library/models/platformer/blaster.glb +0 -0
- package/library/models/platformer/block-coin.glb +0 -0
- package/library/models/platformer/brick.glb +0 -0
- package/library/models/platformer/coin.glb +0 -0
- package/library/models/platformer/enemy-flying.glb +0 -0
- package/library/models/platformer/flag.glb +0 -0
- package/library/models/platformer/platform-falling.glb +0 -0
- package/library/models/platformer/platform-grass-round.glb +0 -0
- package/library/models/platformer/platform-large.glb +0 -0
- package/library/models/platformer/platform-medium.glb +0 -0
- package/library/models/platformer/platform.glb +0 -0
- package/library/models/platformer/target.glb +0 -0
- package/library/models/platformer/track-corner.glb +0 -0
- package/library/models/platformer/track-straight.glb +0 -0
- package/library/models/platformer/wall-low.glb +0 -0
- package/library/models/products/boombox.glb +0 -0
- package/library/models/products/iridescent-lamp.glb +0 -0
- package/library/models/products/lantern.glb +0 -0
- package/library/models/products/lounge-chair.glb +0 -0
- package/library/models/products/sneaker.glb +0 -0
- package/library/models/products/velvet-sofa.glb +0 -0
- package/library/models/products/water-bottle.glb +0 -0
- package/library/models/props/alarm-clock.glb +0 -0
- package/library/models/props/armchair.glb +0 -0
- package/library/models/props/barrel.glb +0 -0
- package/library/models/props/bench.glb +0 -0
- package/library/models/props/brass-vase.glb +0 -0
- package/library/models/props/chest.glb +0 -0
- package/library/models/props/coffee-table.glb +0 -0
- package/library/models/props/coin-stack.glb +0 -0
- package/library/models/props/coin.glb +0 -0
- package/library/models/props/couch.glb +0 -0
- package/library/models/props/crate.glb +0 -0
- package/library/models/props/flag.glb +0 -0
- package/library/models/props/gravestone.glb +0 -0
- package/library/models/props/key.glb +0 -0
- package/library/models/props/lamp.glb +0 -0
- package/library/models/props/lantern.glb +0 -0
- package/library/models/props/marble-bust.glb +0 -0
- package/library/models/props/modern-armchair.glb +0 -0
- package/library/models/props/potted-succulent.glb +0 -0
- package/library/models/props/rubber-duck.glb +0 -0
- package/library/models/props/shield.glb +0 -0
- package/library/models/props/sword-shield.glb +0 -0
- package/library/models/props/sword.glb +0 -0
- package/library/models/props/table.glb +0 -0
- package/library/models/props/tent.glb +0 -0
- package/library/models/props/torch.glb +0 -0
- package/library/models/props/trophy.glb +0 -0
- package/library/models/space/base-module.glb +0 -0
- package/library/models/space/lander.glb +0 -0
- package/library/models/space/landing-pad.glb +0 -0
- package/library/models/space/rocks.glb +0 -0
- package/library/models/space/solar-panel.glb +0 -0
- package/library/models/space/space-truck.glb +0 -0
- package/library/models/space/wind-turbine.glb +0 -0
- package/library/models/vehicles/car.glb +0 -0
- package/library/models/vehicles/hatchback.glb +0 -0
- package/library/models/vehicles/motorcycle.glb +0 -0
- package/library/models/vehicles/police-car.glb +0 -0
- package/library/models/vehicles/taxi.glb +0 -0
- package/library/models/vehicles/truck.glb +0 -0
- package/library/sources.json +2856 -0
- package/library/textures/brick-color.jpg +0 -0
- package/library/textures/brick-normal.jpg +0 -0
- package/library/textures/brick-roughness.jpg +0 -0
- package/library/textures/concrete-color.jpg +0 -0
- package/library/textures/concrete-normal.jpg +0 -0
- package/library/textures/concrete-roughness.jpg +0 -0
- package/library/textures/fabric-color.jpg +0 -0
- package/library/textures/fabric-normal.jpg +0 -0
- package/library/textures/fabric-roughness.jpg +0 -0
- package/library/textures/grass-ground-color.jpg +0 -0
- package/library/textures/grass-ground-normal.jpg +0 -0
- package/library/textures/grass-ground-roughness.jpg +0 -0
- package/library/textures/rusty-metal-color.jpg +0 -0
- package/library/textures/rusty-metal-normal.jpg +0 -0
- package/library/textures/rusty-metal-roughness.jpg +0 -0
- package/library/textures/wood-planks-color.jpg +0 -0
- package/library/textures/wood-planks-normal.jpg +0 -0
- package/library/textures/wood-planks-roughness.jpg +0 -0
- package/package.json +67 -4
- package/plugin/.claude-plugin/plugin.json +19 -0
- package/plugin/skills/agent3d-assets/SKILL.md +140 -0
- package/plugin/skills/agent3d-assets/references/sources.md +33 -0
- package/plugin/skills/agent3d-create/SKILL.md +141 -0
- package/plugin/skills/agent3d-create/references/art-direction.md +144 -0
- package/plugin/skills/agent3d-create/references/recipes.md +1357 -0
- package/plugin/skills/agent3d-edit/SKILL.md +121 -0
- package/plugin/skills/agent3d-edit/references/patch-ops.md +278 -0
- package/plugin/skills/agent3d-game/SKILL.md +111 -0
- package/plugin/skills/agent3d-game/references/game-patterns.md +262 -0
- package/plugin/skills/agent3d-game/references/script-api.md +211 -0
- package/plugin/skills/agent3d-publish/SKILL.md +161 -0
- package/plugin/skills/agent3d-publish/references/integrations.md +221 -0
- package/templates/banner-aurora-night/README.md +15 -0
- package/templates/banner-aurora-night/agent3d.json +8 -0
- package/templates/banner-aurora-night/preview.png +0 -0
- package/templates/banner-aurora-night/scene.json +327 -0
- package/templates/banner-aurora-night/template.json +24 -0
- package/templates/banner-data-bars/README.md +15 -0
- package/templates/banner-data-bars/agent3d.json +8 -0
- package/templates/banner-data-bars/preview.png +0 -0
- package/templates/banner-data-bars/scene.json +222 -0
- package/templates/banner-data-bars/template.json +25 -0
- package/templates/banner-floating-shapes/README.md +15 -0
- package/templates/banner-floating-shapes/agent3d.json +8 -0
- package/templates/banner-floating-shapes/preview.png +0 -0
- package/templates/banner-floating-shapes/scene.json +703 -0
- package/templates/banner-floating-shapes/template.json +24 -0
- package/templates/banner-gradient-blob/README.md +16 -0
- package/templates/banner-gradient-blob/agent3d.json +8 -0
- package/templates/banner-gradient-blob/preview.png +0 -0
- package/templates/banner-gradient-blob/scene.json +330 -0
- package/templates/banner-gradient-blob/template.json +21 -0
- package/templates/banner-liquid-chrome/README.md +16 -0
- package/templates/banner-liquid-chrome/agent3d.json +8 -0
- package/templates/banner-liquid-chrome/preview.png +0 -0
- package/templates/banner-liquid-chrome/scene.json +290 -0
- package/templates/banner-liquid-chrome/template.json +24 -0
- package/templates/banner-logo-extrude/README.md +24 -0
- package/templates/banner-logo-extrude/agent3d.json +8 -0
- package/templates/banner-logo-extrude/assets/logo.svg +6 -0
- package/templates/banner-logo-extrude/assets/manifest.json +13 -0
- package/templates/banner-logo-extrude/preview.png +0 -0
- package/templates/banner-logo-extrude/scene.json +332 -0
- package/templates/banner-logo-extrude/template.json +22 -0
- package/templates/banner-neon-title/README.md +18 -0
- package/templates/banner-neon-title/agent3d.json +8 -0
- package/templates/banner-neon-title/preview.png +0 -0
- package/templates/banner-neon-title/scene.json +494 -0
- package/templates/banner-neon-title/template.json +25 -0
- package/templates/banner-wave-grid/README.md +18 -0
- package/templates/banner-wave-grid/agent3d.json +8 -0
- package/templates/banner-wave-grid/preview.png +0 -0
- package/templates/banner-wave-grid/scene.json +217 -0
- package/templates/banner-wave-grid/template.json +23 -0
- package/templates/card-hover-3d/README.md +16 -0
- package/templates/card-hover-3d/agent3d.json +8 -0
- package/templates/card-hover-3d/preview.png +0 -0
- package/templates/card-hover-3d/scene.json +359 -0
- package/templates/card-hover-3d/template.json +21 -0
- package/templates/card-product-tilt/README.md +14 -0
- package/templates/card-product-tilt/agent3d.json +8 -0
- package/templates/card-product-tilt/preview.png +0 -0
- package/templates/card-product-tilt/scene.json +296 -0
- package/templates/card-product-tilt/template.json +23 -0
- package/templates/character-mascot-hero/README.md +19 -0
- package/templates/character-mascot-hero/agent3d.json +8 -0
- package/templates/character-mascot-hero/preview.png +0 -0
- package/templates/character-mascot-hero/scene.json +512 -0
- package/templates/character-mascot-hero/template.json +8 -0
- package/templates/character-showcase/README.md +27 -0
- package/templates/character-showcase/agent3d.json +8 -0
- package/templates/character-showcase/preview.png +0 -0
- package/templates/character-showcase/scene.json +440 -0
- package/templates/character-showcase/template.json +24 -0
- package/templates/diorama-city/README.md +21 -0
- package/templates/diorama-city/agent3d.json +8 -0
- package/templates/diorama-city/preview.png +0 -0
- package/templates/diorama-city/scene.json +432 -0
- package/templates/diorama-city/template.json +21 -0
- package/templates/game-basket/README.md +25 -0
- package/templates/game-basket/agent3d.json +8 -0
- package/templates/game-basket/preview.png +0 -0
- package/templates/game-basket/scene.json +640 -0
- package/templates/game-basket/scripts/basket.js +176 -0
- package/templates/game-basket/template.json +8 -0
- package/templates/game-coin-collector/README.md +28 -0
- package/templates/game-coin-collector/agent3d.json +8 -0
- package/templates/game-coin-collector/preview.png +0 -0
- package/templates/game-coin-collector/scene.json +900 -0
- package/templates/game-coin-collector/scripts/collector.js +210 -0
- package/templates/game-coin-collector/template.json +19 -0
- package/templates/game-maze/README.md +24 -0
- package/templates/game-maze/agent3d.json +8 -0
- package/templates/game-maze/preview.png +0 -0
- package/templates/game-maze/scene.json +315 -0
- package/templates/game-maze/scripts/maze.js +168 -0
- package/templates/game-maze/template.json +18 -0
- package/templates/game-physics-playground/README.md +30 -0
- package/templates/game-physics-playground/agent3d.json +8 -0
- package/templates/game-physics-playground/preview.png +0 -0
- package/templates/game-physics-playground/scene.json +1712 -0
- package/templates/game-physics-playground/scripts/playground.js +151 -0
- package/templates/game-physics-playground/template.json +19 -0
- package/templates/game-platformer/README.md +26 -0
- package/templates/game-platformer/agent3d.json +8 -0
- package/templates/game-platformer/preview.png +0 -0
- package/templates/game-platformer/scene.json +1063 -0
- package/templates/game-platformer/scripts/platformer.js +222 -0
- package/templates/game-platformer/template.json +8 -0
- package/templates/game-runner/README.md +30 -0
- package/templates/game-runner/agent3d.json +8 -0
- package/templates/game-runner/preview.png +0 -0
- package/templates/game-runner/scene.json +1317 -0
- package/templates/game-runner/scripts/runner.js +263 -0
- package/templates/game-runner/template.json +18 -0
- package/templates/game-tap-targets/README.md +21 -0
- package/templates/game-tap-targets/agent3d.json +8 -0
- package/templates/game-tap-targets/preview.png +0 -0
- package/templates/game-tap-targets/scene.json +924 -0
- package/templates/game-tap-targets/scripts/targets.js +159 -0
- package/templates/game-tap-targets/template.json +19 -0
- package/templates/hero-floating-island/README.md +18 -0
- package/templates/hero-floating-island/agent3d.json +8 -0
- package/templates/hero-floating-island/preview.png +0 -0
- package/templates/hero-floating-island/scene.json +658 -0
- package/templates/hero-floating-island/template.json +8 -0
- package/templates/hero-perfume-luxury/README.md +18 -0
- package/templates/hero-perfume-luxury/agent3d.json +8 -0
- package/templates/hero-perfume-luxury/preview.png +0 -0
- package/templates/hero-perfume-luxury/scene.json +529 -0
- package/templates/hero-perfume-luxury/template.json +27 -0
- package/templates/hero-product-turntable/README.md +16 -0
- package/templates/hero-product-turntable/agent3d.json +8 -0
- package/templates/hero-product-turntable/preview.png +0 -0
- package/templates/hero-product-turntable/scene.json +225 -0
- package/templates/hero-product-turntable/template.json +21 -0
- package/templates/hero-saas-globe/README.md +16 -0
- package/templates/hero-saas-globe/agent3d.json +8 -0
- package/templates/hero-saas-globe/preview.png +0 -0
- package/templates/hero-saas-globe/scene.json +318 -0
- package/templates/hero-saas-globe/template.json +24 -0
- package/templates/hero-scroll-story/README.md +26 -0
- package/templates/hero-scroll-story/agent3d.json +8 -0
- package/templates/hero-scroll-story/preview.png +0 -0
- package/templates/hero-scroll-story/scene.json +642 -0
- package/templates/hero-scroll-story/template.json +22 -0
- package/templates/hero-sneaker-showcase/README.md +19 -0
- package/templates/hero-sneaker-showcase/agent3d.json +8 -0
- package/templates/hero-sneaker-showcase/preview.png +0 -0
- package/templates/hero-sneaker-showcase/scene.json +523 -0
- package/templates/hero-sneaker-showcase/template.json +23 -0
- package/templates/hero-space-planet/README.md +17 -0
- package/templates/hero-space-planet/agent3d.json +8 -0
- package/templates/hero-space-planet/preview.png +0 -0
- package/templates/hero-space-planet/scene.json +330 -0
- package/templates/hero-space-planet/template.json +21 -0
- package/templates/landscape-island/README.md +21 -0
- package/templates/landscape-island/agent3d.json +8 -0
- package/templates/landscape-island/preview.png +0 -0
- package/templates/landscape-island/scene.json +716 -0
- package/templates/landscape-island/template.json +24 -0
- package/templates/landscape-night-galaxy/README.md +25 -0
- package/templates/landscape-night-galaxy/agent3d.json +8 -0
- package/templates/landscape-night-galaxy/preview.png +0 -0
- package/templates/landscape-night-galaxy/scene.json +403 -0
- package/templates/landscape-night-galaxy/template.json +8 -0
- package/templates/landscape-valley-sunset/README.md +20 -0
- package/templates/landscape-valley-sunset/agent3d.json +8 -0
- package/templates/landscape-valley-sunset/preview.png +0 -0
- package/templates/landscape-valley-sunset/scene.json +265 -0
- package/templates/landscape-valley-sunset/template.json +22 -0
- package/templates/scene-cozy-room/README.md +21 -0
- package/templates/scene-cozy-room/agent3d.json +8 -0
- package/templates/scene-cozy-room/preview.png +0 -0
- package/templates/scene-cozy-room/scene.json +728 -0
- package/templates/scene-cozy-room/template.json +8 -0
|
@@ -0,0 +1,640 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"id": "game-basket",
|
|
4
|
+
"title": "Hoop shot",
|
|
5
|
+
"ariaLabel": "Basketball shooting game in a dark arena: swipe or drag up from the ball to throw it at a glowing hoop under a spotlight",
|
|
6
|
+
"seed": 9,
|
|
7
|
+
"target": {
|
|
8
|
+
"kind": "game",
|
|
9
|
+
"aspect": "16:9",
|
|
10
|
+
"reducedMotion": "ignore",
|
|
11
|
+
"posterTime": 3.2,
|
|
12
|
+
"maxDpr": 2,
|
|
13
|
+
"quality": "auto"
|
|
14
|
+
},
|
|
15
|
+
"camera": {
|
|
16
|
+
"type": "perspective",
|
|
17
|
+
"fov": 44,
|
|
18
|
+
"position": [
|
|
19
|
+
0,
|
|
20
|
+
1.9,
|
|
21
|
+
8.4
|
|
22
|
+
],
|
|
23
|
+
"target": [
|
|
24
|
+
0,
|
|
25
|
+
2.5,
|
|
26
|
+
0
|
|
27
|
+
],
|
|
28
|
+
"controls": "none"
|
|
29
|
+
},
|
|
30
|
+
"environment": {
|
|
31
|
+
"background": {
|
|
32
|
+
"radial": [
|
|
33
|
+
"#232046",
|
|
34
|
+
"#07060f"
|
|
35
|
+
],
|
|
36
|
+
"center": [
|
|
37
|
+
0.5,
|
|
38
|
+
0.7
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"lighting": "night",
|
|
42
|
+
"lightingIntensity": 0.6,
|
|
43
|
+
"fog": {
|
|
44
|
+
"color": "#0b0a18",
|
|
45
|
+
"near": 14,
|
|
46
|
+
"far": 30
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"lights": [
|
|
50
|
+
{
|
|
51
|
+
"id": "spot",
|
|
52
|
+
"type": "spot",
|
|
53
|
+
"position": [
|
|
54
|
+
0,
|
|
55
|
+
9,
|
|
56
|
+
3
|
|
57
|
+
],
|
|
58
|
+
"target": [
|
|
59
|
+
0,
|
|
60
|
+
2.4,
|
|
61
|
+
-0.2
|
|
62
|
+
],
|
|
63
|
+
"angle": 26,
|
|
64
|
+
"penumbra": 0.7,
|
|
65
|
+
"intensity": 110,
|
|
66
|
+
"color": "#fff1dc",
|
|
67
|
+
"castShadow": true
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "courtSpot",
|
|
71
|
+
"type": "spot",
|
|
72
|
+
"position": [
|
|
73
|
+
0,
|
|
74
|
+
9,
|
|
75
|
+
12
|
|
76
|
+
],
|
|
77
|
+
"target": [
|
|
78
|
+
0,
|
|
79
|
+
0,
|
|
80
|
+
3
|
|
81
|
+
],
|
|
82
|
+
"angle": 38,
|
|
83
|
+
"penumbra": 0.9,
|
|
84
|
+
"intensity": 600,
|
|
85
|
+
"color": "#ffe2bf"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "front",
|
|
89
|
+
"type": "directional",
|
|
90
|
+
"position": [
|
|
91
|
+
1,
|
|
92
|
+
3,
|
|
93
|
+
10
|
|
94
|
+
],
|
|
95
|
+
"color": "#cfd8ff",
|
|
96
|
+
"intensity": 0.9
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "rimL",
|
|
100
|
+
"type": "point",
|
|
101
|
+
"position": [
|
|
102
|
+
-6,
|
|
103
|
+
3,
|
|
104
|
+
-3
|
|
105
|
+
],
|
|
106
|
+
"color": "#4f7bff",
|
|
107
|
+
"intensity": 30,
|
|
108
|
+
"distance": 14
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "rimR",
|
|
112
|
+
"type": "point",
|
|
113
|
+
"position": [
|
|
114
|
+
6,
|
|
115
|
+
3,
|
|
116
|
+
-3
|
|
117
|
+
],
|
|
118
|
+
"color": "#ff5aa8",
|
|
119
|
+
"intensity": 30,
|
|
120
|
+
"distance": 14
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "amb",
|
|
124
|
+
"type": "hemisphere",
|
|
125
|
+
"skyColor": "#5a5fa8",
|
|
126
|
+
"groundColor": "#2a1a20",
|
|
127
|
+
"intensity": 0.6
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"physics": {
|
|
131
|
+
"gravity": [
|
|
132
|
+
0,
|
|
133
|
+
-9.81,
|
|
134
|
+
0
|
|
135
|
+
],
|
|
136
|
+
"step": 0.016666,
|
|
137
|
+
"substeps": 2
|
|
138
|
+
},
|
|
139
|
+
"objects": [
|
|
140
|
+
{
|
|
141
|
+
"id": "floor",
|
|
142
|
+
"kind": "mesh",
|
|
143
|
+
"geometry": {
|
|
144
|
+
"type": "box",
|
|
145
|
+
"width": 16,
|
|
146
|
+
"height": 0.2,
|
|
147
|
+
"depth": 15
|
|
148
|
+
},
|
|
149
|
+
"position": [
|
|
150
|
+
0,
|
|
151
|
+
-0.1,
|
|
152
|
+
1
|
|
153
|
+
],
|
|
154
|
+
"receiveShadow": true,
|
|
155
|
+
"material": {
|
|
156
|
+
"type": "physical",
|
|
157
|
+
"color": "#ffffff",
|
|
158
|
+
"roughness": 0.35,
|
|
159
|
+
"clearcoat": 0.6,
|
|
160
|
+
"clearcoatRoughness": 0.2,
|
|
161
|
+
"map": "library:textures/wood-planks-color.jpg",
|
|
162
|
+
"normalMap": "library:textures/wood-planks-normal.jpg",
|
|
163
|
+
"repeat": [
|
|
164
|
+
4,
|
|
165
|
+
4
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
"body": {
|
|
169
|
+
"type": "static",
|
|
170
|
+
"shape": "box",
|
|
171
|
+
"restitution": 0.75,
|
|
172
|
+
"friction": 0.6
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "keyPaint",
|
|
177
|
+
"kind": "mesh",
|
|
178
|
+
"geometry": {
|
|
179
|
+
"type": "plane",
|
|
180
|
+
"width": 3.6,
|
|
181
|
+
"height": 5.2
|
|
182
|
+
},
|
|
183
|
+
"rotation": [
|
|
184
|
+
-90,
|
|
185
|
+
0,
|
|
186
|
+
0
|
|
187
|
+
],
|
|
188
|
+
"position": [
|
|
189
|
+
0,
|
|
190
|
+
0.005,
|
|
191
|
+
2.2
|
|
192
|
+
],
|
|
193
|
+
"material": {
|
|
194
|
+
"color": "#1d3f8f",
|
|
195
|
+
"roughness": 0.5,
|
|
196
|
+
"opacity": 0.55,
|
|
197
|
+
"transparent": true
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "pole",
|
|
202
|
+
"kind": "mesh",
|
|
203
|
+
"geometry": {
|
|
204
|
+
"type": "cylinder",
|
|
205
|
+
"radiusTop": 0.09,
|
|
206
|
+
"radiusBottom": 0.11,
|
|
207
|
+
"height": 3.6,
|
|
208
|
+
"segments": 16
|
|
209
|
+
},
|
|
210
|
+
"position": [
|
|
211
|
+
0,
|
|
212
|
+
1.8,
|
|
213
|
+
-1.55
|
|
214
|
+
],
|
|
215
|
+
"material": {
|
|
216
|
+
"preset": "brushedMetal",
|
|
217
|
+
"color": "#30343f"
|
|
218
|
+
},
|
|
219
|
+
"castShadow": true
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "arm",
|
|
223
|
+
"kind": "mesh",
|
|
224
|
+
"geometry": {
|
|
225
|
+
"type": "box",
|
|
226
|
+
"width": 0.14,
|
|
227
|
+
"height": 0.14,
|
|
228
|
+
"depth": 0.9
|
|
229
|
+
},
|
|
230
|
+
"position": [
|
|
231
|
+
0,
|
|
232
|
+
3.45,
|
|
233
|
+
-1.1
|
|
234
|
+
],
|
|
235
|
+
"material": {
|
|
236
|
+
"preset": "brushedMetal",
|
|
237
|
+
"color": "#30343f"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "board",
|
|
242
|
+
"kind": "mesh",
|
|
243
|
+
"geometry": {
|
|
244
|
+
"type": "roundedBox",
|
|
245
|
+
"width": 1.8,
|
|
246
|
+
"height": 1.05,
|
|
247
|
+
"depth": 0.05,
|
|
248
|
+
"radius": 0.02
|
|
249
|
+
},
|
|
250
|
+
"position": [
|
|
251
|
+
0,
|
|
252
|
+
3.4,
|
|
253
|
+
-0.62
|
|
254
|
+
],
|
|
255
|
+
"castShadow": true,
|
|
256
|
+
"material": {
|
|
257
|
+
"type": "physical",
|
|
258
|
+
"color": "#dfe8f5",
|
|
259
|
+
"roughness": 0.25,
|
|
260
|
+
"opacity": 0.92,
|
|
261
|
+
"transparent": true,
|
|
262
|
+
"clearcoat": 1
|
|
263
|
+
},
|
|
264
|
+
"body": {
|
|
265
|
+
"type": "static",
|
|
266
|
+
"shape": "box",
|
|
267
|
+
"restitution": 0.55
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"id": "boardFrame",
|
|
272
|
+
"kind": "mesh",
|
|
273
|
+
"geometry": {
|
|
274
|
+
"type": "box",
|
|
275
|
+
"width": 0.6,
|
|
276
|
+
"height": 0.45,
|
|
277
|
+
"depth": 0.06
|
|
278
|
+
},
|
|
279
|
+
"position": [
|
|
280
|
+
0,
|
|
281
|
+
3.22,
|
|
282
|
+
-0.6
|
|
283
|
+
],
|
|
284
|
+
"material": {
|
|
285
|
+
"type": "basic",
|
|
286
|
+
"color": "#ff5a1f",
|
|
287
|
+
"wireframe": true
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"id": "rim",
|
|
292
|
+
"kind": "mesh",
|
|
293
|
+
"geometry": {
|
|
294
|
+
"type": "torus",
|
|
295
|
+
"radius": 0.42,
|
|
296
|
+
"tube": 0.025,
|
|
297
|
+
"radialSegments": 10,
|
|
298
|
+
"tubularSegments": 48
|
|
299
|
+
},
|
|
300
|
+
"rotation": [
|
|
301
|
+
90,
|
|
302
|
+
0,
|
|
303
|
+
0
|
|
304
|
+
],
|
|
305
|
+
"position": [
|
|
306
|
+
0,
|
|
307
|
+
3.05,
|
|
308
|
+
-0.13
|
|
309
|
+
],
|
|
310
|
+
"material": {
|
|
311
|
+
"preset": "plastic",
|
|
312
|
+
"color": "#ff5a1f",
|
|
313
|
+
"emissive": "#ff3d00",
|
|
314
|
+
"emissiveIntensity": 0.25
|
|
315
|
+
},
|
|
316
|
+
"castShadow": true,
|
|
317
|
+
"body": {
|
|
318
|
+
"type": "static",
|
|
319
|
+
"shape": "trimesh",
|
|
320
|
+
"restitution": 0.45
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"id": "net",
|
|
325
|
+
"kind": "mesh",
|
|
326
|
+
"geometry": {
|
|
327
|
+
"type": "lathe",
|
|
328
|
+
"points": [
|
|
329
|
+
[
|
|
330
|
+
0.3,
|
|
331
|
+
-0.5
|
|
332
|
+
],
|
|
333
|
+
[
|
|
334
|
+
0.36,
|
|
335
|
+
-0.25
|
|
336
|
+
],
|
|
337
|
+
[
|
|
338
|
+
0.42,
|
|
339
|
+
0
|
|
340
|
+
]
|
|
341
|
+
],
|
|
342
|
+
"segments": 14
|
|
343
|
+
},
|
|
344
|
+
"position": [
|
|
345
|
+
0,
|
|
346
|
+
3.05,
|
|
347
|
+
-0.13
|
|
348
|
+
],
|
|
349
|
+
"material": {
|
|
350
|
+
"type": "basic",
|
|
351
|
+
"color": "#ffffff",
|
|
352
|
+
"wireframe": true,
|
|
353
|
+
"opacity": 0.8,
|
|
354
|
+
"transparent": true
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "scoreZone",
|
|
359
|
+
"kind": "mesh",
|
|
360
|
+
"geometry": {
|
|
361
|
+
"type": "cylinder",
|
|
362
|
+
"radiusTop": 0.3,
|
|
363
|
+
"radiusBottom": 0.3,
|
|
364
|
+
"height": 0.12,
|
|
365
|
+
"segments": 12
|
|
366
|
+
},
|
|
367
|
+
"position": [
|
|
368
|
+
0,
|
|
369
|
+
2.82,
|
|
370
|
+
-0.13
|
|
371
|
+
],
|
|
372
|
+
"visible": false,
|
|
373
|
+
"body": {
|
|
374
|
+
"type": "trigger",
|
|
375
|
+
"shape": "cylinder"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"id": "ball",
|
|
380
|
+
"kind": "mesh",
|
|
381
|
+
"geometry": {
|
|
382
|
+
"type": "sphere",
|
|
383
|
+
"radius": 0.2,
|
|
384
|
+
"segments": 40
|
|
385
|
+
},
|
|
386
|
+
"position": [
|
|
387
|
+
0,
|
|
388
|
+
1.3,
|
|
389
|
+
5.5
|
|
390
|
+
],
|
|
391
|
+
"castShadow": true,
|
|
392
|
+
"material": {
|
|
393
|
+
"type": "physical",
|
|
394
|
+
"color": "#e8692a",
|
|
395
|
+
"roughness": 0.7,
|
|
396
|
+
"bumpMap": {
|
|
397
|
+
"procedural": "dots",
|
|
398
|
+
"cells": 48,
|
|
399
|
+
"radius": 0.35
|
|
400
|
+
},
|
|
401
|
+
"bumpScale": 0.4,
|
|
402
|
+
"sheen": 0.3
|
|
403
|
+
},
|
|
404
|
+
"children": [
|
|
405
|
+
{
|
|
406
|
+
"id": "seamA",
|
|
407
|
+
"kind": "mesh",
|
|
408
|
+
"geometry": {
|
|
409
|
+
"type": "torus",
|
|
410
|
+
"radius": 0.202,
|
|
411
|
+
"tube": 0.007,
|
|
412
|
+
"radialSegments": 6,
|
|
413
|
+
"tubularSegments": 48
|
|
414
|
+
},
|
|
415
|
+
"material": {
|
|
416
|
+
"color": "#1d1410"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"id": "seamB",
|
|
421
|
+
"kind": "mesh",
|
|
422
|
+
"geometry": {
|
|
423
|
+
"type": "torus",
|
|
424
|
+
"radius": 0.202,
|
|
425
|
+
"tube": 0.007,
|
|
426
|
+
"radialSegments": 6,
|
|
427
|
+
"tubularSegments": 48
|
|
428
|
+
},
|
|
429
|
+
"rotation": [
|
|
430
|
+
0,
|
|
431
|
+
90,
|
|
432
|
+
0
|
|
433
|
+
],
|
|
434
|
+
"material": {
|
|
435
|
+
"color": "#1d1410"
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"id": "seamC",
|
|
440
|
+
"kind": "mesh",
|
|
441
|
+
"geometry": {
|
|
442
|
+
"type": "torus",
|
|
443
|
+
"radius": 0.202,
|
|
444
|
+
"tube": 0.007,
|
|
445
|
+
"radialSegments": 6,
|
|
446
|
+
"tubularSegments": 48
|
|
447
|
+
},
|
|
448
|
+
"rotation": [
|
|
449
|
+
90,
|
|
450
|
+
0,
|
|
451
|
+
0
|
|
452
|
+
],
|
|
453
|
+
"material": {
|
|
454
|
+
"color": "#1d1410"
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
"body": {
|
|
459
|
+
"type": "dynamic",
|
|
460
|
+
"shape": "sphere",
|
|
461
|
+
"radius": 0.2,
|
|
462
|
+
"mass": 0.6,
|
|
463
|
+
"restitution": 0.7,
|
|
464
|
+
"friction": 0.6,
|
|
465
|
+
"ccd": true,
|
|
466
|
+
"linearDamping": 0,
|
|
467
|
+
"angularDamping": 0.1
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"id": "confetti",
|
|
472
|
+
"kind": "particles",
|
|
473
|
+
"preset": "confetti",
|
|
474
|
+
"count": 140,
|
|
475
|
+
"area": [
|
|
476
|
+
4,
|
|
477
|
+
3,
|
|
478
|
+
2
|
|
479
|
+
],
|
|
480
|
+
"position": [
|
|
481
|
+
0,
|
|
482
|
+
4.2,
|
|
483
|
+
-0.5
|
|
484
|
+
],
|
|
485
|
+
"visible": false
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"id": "crowdLights",
|
|
489
|
+
"kind": "particles",
|
|
490
|
+
"preset": "bokeh",
|
|
491
|
+
"count": 26,
|
|
492
|
+
"area": [
|
|
493
|
+
34,
|
|
494
|
+
5,
|
|
495
|
+
2
|
|
496
|
+
],
|
|
497
|
+
"position": [
|
|
498
|
+
0,
|
|
499
|
+
7,
|
|
500
|
+
-10
|
|
501
|
+
],
|
|
502
|
+
"color": [
|
|
503
|
+
"#ffd28a",
|
|
504
|
+
"#8fb4ff",
|
|
505
|
+
"#ff9ec7"
|
|
506
|
+
],
|
|
507
|
+
"size": 0.35,
|
|
508
|
+
"opacity": 0.35
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"scripts": [
|
|
512
|
+
"scripts/basket.js"
|
|
513
|
+
],
|
|
514
|
+
"data": {
|
|
515
|
+
"basket": {
|
|
516
|
+
"time": 45,
|
|
517
|
+
"flight": 1.25,
|
|
518
|
+
"respawn": 2.4
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"ui": {
|
|
522
|
+
"color": "#ffffff",
|
|
523
|
+
"accent": "#ff7a1a",
|
|
524
|
+
"elements": [
|
|
525
|
+
{
|
|
526
|
+
"id": "scoreHud",
|
|
527
|
+
"type": "text",
|
|
528
|
+
"text": "Score {score}",
|
|
529
|
+
"anchor": "top-left",
|
|
530
|
+
"style": "pill"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"id": "timer",
|
|
534
|
+
"type": "text",
|
|
535
|
+
"text": "{time} s",
|
|
536
|
+
"anchor": "top",
|
|
537
|
+
"style": "pill",
|
|
538
|
+
"visible": "phase == 'play'"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"id": "bestHud",
|
|
542
|
+
"type": "text",
|
|
543
|
+
"text": "Best {best}",
|
|
544
|
+
"anchor": "top-right",
|
|
545
|
+
"style": "pill"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"id": "streak",
|
|
549
|
+
"type": "text",
|
|
550
|
+
"text": "\ud83d\udd25 x{mult}",
|
|
551
|
+
"anchor": "left",
|
|
552
|
+
"style": "pill",
|
|
553
|
+
"visible": "phase == 'play' && mult > 1"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"id": "title",
|
|
557
|
+
"type": "text",
|
|
558
|
+
"text": "Hoop Shot",
|
|
559
|
+
"anchor": "top",
|
|
560
|
+
"style": "title",
|
|
561
|
+
"visible": "phase == 'attract'"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"id": "hint",
|
|
565
|
+
"type": "text",
|
|
566
|
+
"text": "Swipe up from the ball to shoot \u00b7 or hold Space and release",
|
|
567
|
+
"anchor": "bottom",
|
|
568
|
+
"style": "subtitle",
|
|
569
|
+
"visible": "phase == 'attract'"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"id": "power",
|
|
573
|
+
"type": "bar",
|
|
574
|
+
"value": "power",
|
|
575
|
+
"anchor": "bottom",
|
|
576
|
+
"visible": "charging"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"id": "over",
|
|
580
|
+
"type": "text",
|
|
581
|
+
"text": "Time! {score} points",
|
|
582
|
+
"anchor": "center",
|
|
583
|
+
"style": "title",
|
|
584
|
+
"visible": "phase == 'over'"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"id": "retry",
|
|
588
|
+
"type": "button",
|
|
589
|
+
"text": "Play again",
|
|
590
|
+
"anchor": "bottom",
|
|
591
|
+
"action": "retry",
|
|
592
|
+
"visible": "phase == 'over'"
|
|
593
|
+
}
|
|
594
|
+
]
|
|
595
|
+
},
|
|
596
|
+
"audio": {
|
|
597
|
+
"sounds": {
|
|
598
|
+
"swish": {
|
|
599
|
+
"preset": "powerup",
|
|
600
|
+
"volume": 0.5
|
|
601
|
+
},
|
|
602
|
+
"bounce": {
|
|
603
|
+
"preset": "hit",
|
|
604
|
+
"volume": 0.35
|
|
605
|
+
},
|
|
606
|
+
"throw": {
|
|
607
|
+
"preset": "whoosh",
|
|
608
|
+
"volume": 0.4
|
|
609
|
+
},
|
|
610
|
+
"buzzer": {
|
|
611
|
+
"preset": "lose",
|
|
612
|
+
"volume": 0.5
|
|
613
|
+
},
|
|
614
|
+
"click": {
|
|
615
|
+
"preset": "click"
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"postfx": [
|
|
620
|
+
{
|
|
621
|
+
"type": "bloom",
|
|
622
|
+
"strength": 0.6,
|
|
623
|
+
"threshold": 1.1,
|
|
624
|
+
"radius": 0.6
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"type": "grading",
|
|
628
|
+
"contrast": 1.08,
|
|
629
|
+
"saturation": 1.1,
|
|
630
|
+
"vibrance": 0.15
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"type": "vignette",
|
|
634
|
+
"darkness": 0.9
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"type": "fxaa"
|
|
638
|
+
}
|
|
639
|
+
]
|
|
640
|
+
}
|