@fleox/agent3d 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +143 -0
- package/README.md +172 -2
- package/changelog.json +56 -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-CaKRRzMX.mjs +177 -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-BpDU9Lsq.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-Ck7_Nszg.mjs +75 -0
- package/dist/agent/chunks/png-DXfSGJZt.mjs +91 -0
- package/dist/agent/chunks/render-Cbuhz5uW.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-Re3wQkXp.js +1 -0
- package/dist/runtime/chunks/EXRLoader-Bzm84si5.js +1 -0
- package/dist/runtime/chunks/FontLoader-BocwqK8V.js +2 -0
- package/dist/runtime/chunks/GLTFLoader-DHp1wv6J.js +1 -0
- package/dist/runtime/chunks/GroundedSkybox-esvlRCO0.js +1 -0
- package/dist/runtime/chunks/HDRLoader-DHrHp8fs.js +5 -0
- package/dist/runtime/chunks/OrbitControls-sjN2MF0e.js +1 -0
- package/dist/runtime/chunks/RectAreaLightUniformsLib-_mZ62yWn.js +1 -0
- package/dist/runtime/chunks/RoomEnvironment-CL4UR6ZW.js +1 -0
- package/dist/runtime/chunks/RoundedBoxGeometry-x-ot8ZSh.js +1 -0
- package/dist/runtime/chunks/SVGLoader-hRF0EwD-.js +1 -0
- package/dist/runtime/chunks/SkeletonUtils-DHlReJx3.js +1 -0
- package/dist/runtime/chunks/Sky-BrLN9Fk5.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-m04mghOS.js +1 -0
- package/dist/runtime/chunks/game-BoG2S6g4.js +20 -0
- package/dist/runtime/chunks/generators-OHhFCc2E.js +331 -0
- package/dist/runtime/chunks/materials-C2uffFEd.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-D-4xZz21.js +1 -0
- package/dist/runtime/chunks/params-DdApDOBw.js +1 -0
- package/dist/runtime/chunks/physicsHost-DPaVdM0R.js +1 -0
- package/dist/runtime/chunks/postfx-BpBXjLX3.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-CmeJRio1.js +443 -0
- package/dist/runtime/chunks/svg-B3nZaQFD.js +1 -0
- package/dist/runtime/chunks/text-CmkU-b0C.js +2 -0
- package/dist/runtime/chunks/three.module-W4hp4qHb.js +4225 -0
- package/dist/runtime/chunks/toon-B5Jhf37V.js +6 -0
- package/dist/runtime/chunks/util-THUewKBk.js +1 -0
- package/dist/studio/assets/BufferGeometryUtils-wW9vV1l2.js +1 -0
- package/dist/studio/assets/EXRLoader-f8U8jnlr.js +1 -0
- package/dist/studio/assets/FontLoader-9sHudKzD.js +2 -0
- package/dist/studio/assets/GLTFLoader-C3C_3K62.js +1 -0
- package/dist/studio/assets/GroundedSkybox-BTqmv4fv.js +1 -0
- package/dist/studio/assets/HDRLoader-CkQyrTWY.js +5 -0
- package/dist/studio/assets/OrbitControls-fcOgB96a.js +1 -0
- package/dist/studio/assets/RectAreaLightUniformsLib-CZHWO9xf.js +1 -0
- package/dist/studio/assets/RoomEnvironment-BsISzuCp.js +1 -0
- package/dist/studio/assets/SVGLoader-BIkQDT66.js +1 -0
- package/dist/studio/assets/SkeletonUtils-CG5akqME.js +1 -0
- package/dist/studio/assets/Sky-C282PFL1.js +243 -0
- package/dist/studio/assets/audio-JD1kyX0A.js +1 -0
- package/dist/studio/assets/camera-BhKdE9ej.js +2 -0
- package/dist/studio/assets/editor-BgY_RoRd.js +1 -0
- package/dist/studio/assets/extrude-CnayHczh.js +1 -0
- package/dist/studio/assets/game-Dv5s4eMN.js +19 -0
- package/dist/studio/assets/generators-DVX3bAxe.js +331 -0
- package/dist/studio/assets/index-BQT0otii.css +1 -0
- package/dist/studio/assets/index-Dh-2Y34U.js +479 -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-XZSP52pV.js +2 -0
- package/dist/studio/assets/physicsHost-C84FddIe.js +1 -0
- package/dist/studio/assets/postfx-BWWXb8i8.js +1527 -0
- package/dist/studio/assets/runtime-k_MFerbJ.js +572 -0
- package/dist/studio/assets/shaders-BEznGIct.js +443 -0
- package/dist/studio/assets/svg-DT8kx37i.js +2 -0
- package/dist/studio/assets/text-5DsJJHcj.js +3 -0
- package/dist/studio/assets/three.module-ByMn_ZTv.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,1063 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"id": "game-platformer",
|
|
4
|
+
"title": "Sky platformer",
|
|
5
|
+
"ariaLabel": "Side-scrolling platformer game: a little knight runs and jumps across floating grass platforms and moving lifts, collecting coins on the way to a goal flag",
|
|
6
|
+
"seed": 11,
|
|
7
|
+
"target": {
|
|
8
|
+
"kind": "game",
|
|
9
|
+
"aspect": "16:9",
|
|
10
|
+
"reducedMotion": "ignore",
|
|
11
|
+
"posterTime": 4,
|
|
12
|
+
"maxDpr": 2,
|
|
13
|
+
"quality": "auto"
|
|
14
|
+
},
|
|
15
|
+
"camera": {
|
|
16
|
+
"type": "perspective",
|
|
17
|
+
"fov": 38,
|
|
18
|
+
"position": [
|
|
19
|
+
0,
|
|
20
|
+
3.4,
|
|
21
|
+
14
|
|
22
|
+
],
|
|
23
|
+
"target": [
|
|
24
|
+
0,
|
|
25
|
+
1.6,
|
|
26
|
+
0
|
|
27
|
+
],
|
|
28
|
+
"controls": "follow",
|
|
29
|
+
"follow": {
|
|
30
|
+
"target": "hero",
|
|
31
|
+
"offset": [
|
|
32
|
+
2.4,
|
|
33
|
+
1.6,
|
|
34
|
+
12.5
|
|
35
|
+
],
|
|
36
|
+
"smoothing": 0.9,
|
|
37
|
+
"lookAhead": 1.2
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"environment": {
|
|
41
|
+
"background": {
|
|
42
|
+
"sky": {
|
|
43
|
+
"top": "#3f8fe6",
|
|
44
|
+
"horizon": "#cfeaff",
|
|
45
|
+
"bottom": "#a9d8ff",
|
|
46
|
+
"sun": {
|
|
47
|
+
"direction": [
|
|
48
|
+
-0.4,
|
|
49
|
+
0.5,
|
|
50
|
+
-0.7
|
|
51
|
+
],
|
|
52
|
+
"color": "#fff5dc",
|
|
53
|
+
"size": 1.2
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"lighting": "sky",
|
|
58
|
+
"lightingIntensity": 0.7,
|
|
59
|
+
"fog": {
|
|
60
|
+
"color": "#cfeaff",
|
|
61
|
+
"near": 30,
|
|
62
|
+
"far": 95
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"lights": [
|
|
66
|
+
{
|
|
67
|
+
"id": "sun",
|
|
68
|
+
"type": "directional",
|
|
69
|
+
"position": [
|
|
70
|
+
-8,
|
|
71
|
+
14,
|
|
72
|
+
10
|
|
73
|
+
],
|
|
74
|
+
"color": "#fff1d8",
|
|
75
|
+
"intensity": 2.6,
|
|
76
|
+
"castShadow": true
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "fill",
|
|
80
|
+
"type": "hemisphere",
|
|
81
|
+
"skyColor": "#dff2ff",
|
|
82
|
+
"groundColor": "#7aa86a",
|
|
83
|
+
"intensity": 0.7
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"physics": {
|
|
87
|
+
"gravity": [
|
|
88
|
+
0,
|
|
89
|
+
-20,
|
|
90
|
+
0
|
|
91
|
+
],
|
|
92
|
+
"step": 0.016666
|
|
93
|
+
},
|
|
94
|
+
"objects": [
|
|
95
|
+
{
|
|
96
|
+
"id": "level",
|
|
97
|
+
"kind": "group",
|
|
98
|
+
"children": [
|
|
99
|
+
{
|
|
100
|
+
"id": "g0",
|
|
101
|
+
"kind": "mesh",
|
|
102
|
+
"geometry": {
|
|
103
|
+
"type": "roundedBox",
|
|
104
|
+
"width": 10,
|
|
105
|
+
"height": 0.4,
|
|
106
|
+
"depth": 2.2,
|
|
107
|
+
"radius": 0.12
|
|
108
|
+
},
|
|
109
|
+
"position": [
|
|
110
|
+
2.5,
|
|
111
|
+
-0.2,
|
|
112
|
+
0
|
|
113
|
+
],
|
|
114
|
+
"material": {
|
|
115
|
+
"preset": "clay",
|
|
116
|
+
"color": "#86cf5a"
|
|
117
|
+
},
|
|
118
|
+
"tags": [
|
|
119
|
+
"ground"
|
|
120
|
+
],
|
|
121
|
+
"castShadow": true,
|
|
122
|
+
"receiveShadow": true,
|
|
123
|
+
"body": {
|
|
124
|
+
"type": "static",
|
|
125
|
+
"shape": "box"
|
|
126
|
+
},
|
|
127
|
+
"children": [
|
|
128
|
+
{
|
|
129
|
+
"id": "g0Dirt",
|
|
130
|
+
"kind": "mesh",
|
|
131
|
+
"geometry": {
|
|
132
|
+
"type": "roundedBox",
|
|
133
|
+
"width": 9.75,
|
|
134
|
+
"height": 0.9,
|
|
135
|
+
"depth": 1.95,
|
|
136
|
+
"radius": 0.15
|
|
137
|
+
},
|
|
138
|
+
"position": [
|
|
139
|
+
0,
|
|
140
|
+
-0.6,
|
|
141
|
+
0
|
|
142
|
+
],
|
|
143
|
+
"material": {
|
|
144
|
+
"preset": "clay",
|
|
145
|
+
"color": "#b9774a"
|
|
146
|
+
},
|
|
147
|
+
"castShadow": true
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "g2",
|
|
153
|
+
"kind": "mesh",
|
|
154
|
+
"geometry": {
|
|
155
|
+
"type": "roundedBox",
|
|
156
|
+
"width": 5,
|
|
157
|
+
"height": 0.4,
|
|
158
|
+
"depth": 2.2,
|
|
159
|
+
"radius": 0.12
|
|
160
|
+
},
|
|
161
|
+
"position": [
|
|
162
|
+
12.6,
|
|
163
|
+
-0.2,
|
|
164
|
+
0
|
|
165
|
+
],
|
|
166
|
+
"material": {
|
|
167
|
+
"preset": "clay",
|
|
168
|
+
"color": "#86cf5a"
|
|
169
|
+
},
|
|
170
|
+
"tags": [
|
|
171
|
+
"ground"
|
|
172
|
+
],
|
|
173
|
+
"castShadow": true,
|
|
174
|
+
"receiveShadow": true,
|
|
175
|
+
"body": {
|
|
176
|
+
"type": "static",
|
|
177
|
+
"shape": "box"
|
|
178
|
+
},
|
|
179
|
+
"children": [
|
|
180
|
+
{
|
|
181
|
+
"id": "g2Dirt",
|
|
182
|
+
"kind": "mesh",
|
|
183
|
+
"geometry": {
|
|
184
|
+
"type": "roundedBox",
|
|
185
|
+
"width": 4.75,
|
|
186
|
+
"height": 0.9,
|
|
187
|
+
"depth": 1.95,
|
|
188
|
+
"radius": 0.15
|
|
189
|
+
},
|
|
190
|
+
"position": [
|
|
191
|
+
0,
|
|
192
|
+
-0.6,
|
|
193
|
+
0
|
|
194
|
+
],
|
|
195
|
+
"material": {
|
|
196
|
+
"preset": "clay",
|
|
197
|
+
"color": "#b9774a"
|
|
198
|
+
},
|
|
199
|
+
"castShadow": true
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "g3",
|
|
205
|
+
"kind": "mesh",
|
|
206
|
+
"geometry": {
|
|
207
|
+
"type": "roundedBox",
|
|
208
|
+
"width": 3,
|
|
209
|
+
"height": 0.4,
|
|
210
|
+
"depth": 2.2,
|
|
211
|
+
"radius": 0.12
|
|
212
|
+
},
|
|
213
|
+
"position": [
|
|
214
|
+
17.9,
|
|
215
|
+
1.1,
|
|
216
|
+
0
|
|
217
|
+
],
|
|
218
|
+
"material": {
|
|
219
|
+
"preset": "clay",
|
|
220
|
+
"color": "#86cf5a"
|
|
221
|
+
},
|
|
222
|
+
"tags": [
|
|
223
|
+
"ground"
|
|
224
|
+
],
|
|
225
|
+
"castShadow": true,
|
|
226
|
+
"receiveShadow": true,
|
|
227
|
+
"body": {
|
|
228
|
+
"type": "static",
|
|
229
|
+
"shape": "box"
|
|
230
|
+
},
|
|
231
|
+
"children": [
|
|
232
|
+
{
|
|
233
|
+
"id": "g3Dirt",
|
|
234
|
+
"kind": "mesh",
|
|
235
|
+
"geometry": {
|
|
236
|
+
"type": "roundedBox",
|
|
237
|
+
"width": 2.75,
|
|
238
|
+
"height": 0.9,
|
|
239
|
+
"depth": 1.95,
|
|
240
|
+
"radius": 0.15
|
|
241
|
+
},
|
|
242
|
+
"position": [
|
|
243
|
+
0,
|
|
244
|
+
-0.6,
|
|
245
|
+
0
|
|
246
|
+
],
|
|
247
|
+
"material": {
|
|
248
|
+
"preset": "clay",
|
|
249
|
+
"color": "#b9774a"
|
|
250
|
+
},
|
|
251
|
+
"castShadow": true
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "g4",
|
|
257
|
+
"kind": "mesh",
|
|
258
|
+
"geometry": {
|
|
259
|
+
"type": "roundedBox",
|
|
260
|
+
"width": 5,
|
|
261
|
+
"height": 0.4,
|
|
262
|
+
"depth": 2.2,
|
|
263
|
+
"radius": 0.12
|
|
264
|
+
},
|
|
265
|
+
"position": [
|
|
266
|
+
30,
|
|
267
|
+
0.39999999999999997,
|
|
268
|
+
0
|
|
269
|
+
],
|
|
270
|
+
"material": {
|
|
271
|
+
"preset": "clay",
|
|
272
|
+
"color": "#86cf5a"
|
|
273
|
+
},
|
|
274
|
+
"tags": [
|
|
275
|
+
"ground"
|
|
276
|
+
],
|
|
277
|
+
"castShadow": true,
|
|
278
|
+
"receiveShadow": true,
|
|
279
|
+
"body": {
|
|
280
|
+
"type": "static",
|
|
281
|
+
"shape": "box"
|
|
282
|
+
},
|
|
283
|
+
"children": [
|
|
284
|
+
{
|
|
285
|
+
"id": "g4Dirt",
|
|
286
|
+
"kind": "mesh",
|
|
287
|
+
"geometry": {
|
|
288
|
+
"type": "roundedBox",
|
|
289
|
+
"width": 4.75,
|
|
290
|
+
"height": 0.9,
|
|
291
|
+
"depth": 1.95,
|
|
292
|
+
"radius": 0.15
|
|
293
|
+
},
|
|
294
|
+
"position": [
|
|
295
|
+
0,
|
|
296
|
+
-0.6,
|
|
297
|
+
0
|
|
298
|
+
],
|
|
299
|
+
"material": {
|
|
300
|
+
"preset": "clay",
|
|
301
|
+
"color": "#b9774a"
|
|
302
|
+
},
|
|
303
|
+
"castShadow": true
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"id": "g5",
|
|
309
|
+
"kind": "mesh",
|
|
310
|
+
"geometry": {
|
|
311
|
+
"type": "roundedBox",
|
|
312
|
+
"width": 3,
|
|
313
|
+
"height": 0.4,
|
|
314
|
+
"depth": 2.2,
|
|
315
|
+
"radius": 0.12
|
|
316
|
+
},
|
|
317
|
+
"position": [
|
|
318
|
+
39.6,
|
|
319
|
+
3.4,
|
|
320
|
+
0
|
|
321
|
+
],
|
|
322
|
+
"material": {
|
|
323
|
+
"preset": "clay",
|
|
324
|
+
"color": "#86cf5a"
|
|
325
|
+
},
|
|
326
|
+
"tags": [
|
|
327
|
+
"ground"
|
|
328
|
+
],
|
|
329
|
+
"castShadow": true,
|
|
330
|
+
"receiveShadow": true,
|
|
331
|
+
"body": {
|
|
332
|
+
"type": "static",
|
|
333
|
+
"shape": "box"
|
|
334
|
+
},
|
|
335
|
+
"children": [
|
|
336
|
+
{
|
|
337
|
+
"id": "g5Dirt",
|
|
338
|
+
"kind": "mesh",
|
|
339
|
+
"geometry": {
|
|
340
|
+
"type": "roundedBox",
|
|
341
|
+
"width": 2.75,
|
|
342
|
+
"height": 0.9,
|
|
343
|
+
"depth": 1.95,
|
|
344
|
+
"radius": 0.15
|
|
345
|
+
},
|
|
346
|
+
"position": [
|
|
347
|
+
0,
|
|
348
|
+
-0.6,
|
|
349
|
+
0
|
|
350
|
+
],
|
|
351
|
+
"material": {
|
|
352
|
+
"preset": "clay",
|
|
353
|
+
"color": "#b9774a"
|
|
354
|
+
},
|
|
355
|
+
"castShadow": true
|
|
356
|
+
}
|
|
357
|
+
]
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"id": "g6",
|
|
361
|
+
"kind": "mesh",
|
|
362
|
+
"geometry": {
|
|
363
|
+
"type": "roundedBox",
|
|
364
|
+
"width": 10,
|
|
365
|
+
"height": 0.4,
|
|
366
|
+
"depth": 2.2,
|
|
367
|
+
"radius": 0.12
|
|
368
|
+
},
|
|
369
|
+
"position": [
|
|
370
|
+
49.5,
|
|
371
|
+
2.0,
|
|
372
|
+
0
|
|
373
|
+
],
|
|
374
|
+
"material": {
|
|
375
|
+
"preset": "clay",
|
|
376
|
+
"color": "#86cf5a"
|
|
377
|
+
},
|
|
378
|
+
"tags": [
|
|
379
|
+
"ground"
|
|
380
|
+
],
|
|
381
|
+
"castShadow": true,
|
|
382
|
+
"receiveShadow": true,
|
|
383
|
+
"body": {
|
|
384
|
+
"type": "static",
|
|
385
|
+
"shape": "box"
|
|
386
|
+
},
|
|
387
|
+
"children": [
|
|
388
|
+
{
|
|
389
|
+
"id": "g6Dirt",
|
|
390
|
+
"kind": "mesh",
|
|
391
|
+
"geometry": {
|
|
392
|
+
"type": "roundedBox",
|
|
393
|
+
"width": 9.75,
|
|
394
|
+
"height": 0.9,
|
|
395
|
+
"depth": 1.95,
|
|
396
|
+
"radius": 0.15
|
|
397
|
+
},
|
|
398
|
+
"position": [
|
|
399
|
+
0,
|
|
400
|
+
-0.6,
|
|
401
|
+
0
|
|
402
|
+
],
|
|
403
|
+
"material": {
|
|
404
|
+
"preset": "clay",
|
|
405
|
+
"color": "#b9774a"
|
|
406
|
+
},
|
|
407
|
+
"castShadow": true
|
|
408
|
+
}
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"id": "moverX",
|
|
413
|
+
"kind": "mesh",
|
|
414
|
+
"geometry": {
|
|
415
|
+
"type": "roundedBox",
|
|
416
|
+
"width": 2.2,
|
|
417
|
+
"height": 0.4,
|
|
418
|
+
"depth": 2.2,
|
|
419
|
+
"radius": 0.12
|
|
420
|
+
},
|
|
421
|
+
"position": [
|
|
422
|
+
22,
|
|
423
|
+
1.1,
|
|
424
|
+
0
|
|
425
|
+
],
|
|
426
|
+
"material": {
|
|
427
|
+
"preset": "clay",
|
|
428
|
+
"color": "#ffcf5c"
|
|
429
|
+
},
|
|
430
|
+
"tags": [
|
|
431
|
+
"ground",
|
|
432
|
+
"mover"
|
|
433
|
+
],
|
|
434
|
+
"castShadow": true,
|
|
435
|
+
"receiveShadow": true,
|
|
436
|
+
"body": {
|
|
437
|
+
"type": "kinematic",
|
|
438
|
+
"shape": "box"
|
|
439
|
+
},
|
|
440
|
+
"children": [
|
|
441
|
+
{
|
|
442
|
+
"id": "moverXDirt",
|
|
443
|
+
"kind": "mesh",
|
|
444
|
+
"geometry": {
|
|
445
|
+
"type": "roundedBox",
|
|
446
|
+
"width": 1.9500000000000002,
|
|
447
|
+
"height": 0.35,
|
|
448
|
+
"depth": 1.95,
|
|
449
|
+
"radius": 0.15
|
|
450
|
+
},
|
|
451
|
+
"position": [
|
|
452
|
+
0,
|
|
453
|
+
-0.3,
|
|
454
|
+
0
|
|
455
|
+
],
|
|
456
|
+
"material": {
|
|
457
|
+
"preset": "clay",
|
|
458
|
+
"color": "#d98f3a"
|
|
459
|
+
},
|
|
460
|
+
"castShadow": true
|
|
461
|
+
}
|
|
462
|
+
]
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"id": "moverY",
|
|
466
|
+
"kind": "mesh",
|
|
467
|
+
"geometry": {
|
|
468
|
+
"type": "roundedBox",
|
|
469
|
+
"width": 2.2,
|
|
470
|
+
"height": 0.4,
|
|
471
|
+
"depth": 2.2,
|
|
472
|
+
"radius": 0.12
|
|
473
|
+
},
|
|
474
|
+
"position": [
|
|
475
|
+
34.0,
|
|
476
|
+
0.39999999999999997,
|
|
477
|
+
0
|
|
478
|
+
],
|
|
479
|
+
"material": {
|
|
480
|
+
"preset": "clay",
|
|
481
|
+
"color": "#ffcf5c"
|
|
482
|
+
},
|
|
483
|
+
"tags": [
|
|
484
|
+
"ground",
|
|
485
|
+
"mover"
|
|
486
|
+
],
|
|
487
|
+
"castShadow": true,
|
|
488
|
+
"receiveShadow": true,
|
|
489
|
+
"body": {
|
|
490
|
+
"type": "kinematic",
|
|
491
|
+
"shape": "box"
|
|
492
|
+
},
|
|
493
|
+
"children": [
|
|
494
|
+
{
|
|
495
|
+
"id": "moverYDirt",
|
|
496
|
+
"kind": "mesh",
|
|
497
|
+
"geometry": {
|
|
498
|
+
"type": "roundedBox",
|
|
499
|
+
"width": 1.9500000000000002,
|
|
500
|
+
"height": 0.35,
|
|
501
|
+
"depth": 1.95,
|
|
502
|
+
"radius": 0.15
|
|
503
|
+
},
|
|
504
|
+
"position": [
|
|
505
|
+
0,
|
|
506
|
+
-0.3,
|
|
507
|
+
0
|
|
508
|
+
],
|
|
509
|
+
"material": {
|
|
510
|
+
"preset": "clay",
|
|
511
|
+
"color": "#d98f3a"
|
|
512
|
+
},
|
|
513
|
+
"castShadow": true
|
|
514
|
+
}
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"id": "coin0",
|
|
519
|
+
"kind": "model",
|
|
520
|
+
"src": "library:models/platformer/coin.glb",
|
|
521
|
+
"fit": 0.6,
|
|
522
|
+
"position": [
|
|
523
|
+
3,
|
|
524
|
+
1,
|
|
525
|
+
0
|
|
526
|
+
],
|
|
527
|
+
"tags": [
|
|
528
|
+
"coin"
|
|
529
|
+
],
|
|
530
|
+
"castShadow": true,
|
|
531
|
+
"center": true
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"id": "coin1",
|
|
535
|
+
"kind": "model",
|
|
536
|
+
"src": "library:models/platformer/coin.glb",
|
|
537
|
+
"fit": 0.6,
|
|
538
|
+
"position": [
|
|
539
|
+
5,
|
|
540
|
+
1,
|
|
541
|
+
0
|
|
542
|
+
],
|
|
543
|
+
"tags": [
|
|
544
|
+
"coin"
|
|
545
|
+
],
|
|
546
|
+
"castShadow": true,
|
|
547
|
+
"center": true
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"id": "coin2",
|
|
551
|
+
"kind": "model",
|
|
552
|
+
"src": "library:models/platformer/coin.glb",
|
|
553
|
+
"fit": 0.6,
|
|
554
|
+
"position": [
|
|
555
|
+
7,
|
|
556
|
+
1,
|
|
557
|
+
0
|
|
558
|
+
],
|
|
559
|
+
"tags": [
|
|
560
|
+
"coin"
|
|
561
|
+
],
|
|
562
|
+
"castShadow": true,
|
|
563
|
+
"center": true
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"id": "coin3",
|
|
567
|
+
"kind": "model",
|
|
568
|
+
"src": "library:models/platformer/coin.glb",
|
|
569
|
+
"fit": 0.6,
|
|
570
|
+
"position": [
|
|
571
|
+
8.8,
|
|
572
|
+
2.4,
|
|
573
|
+
0
|
|
574
|
+
],
|
|
575
|
+
"tags": [
|
|
576
|
+
"coin"
|
|
577
|
+
],
|
|
578
|
+
"castShadow": true,
|
|
579
|
+
"center": true
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"id": "coin4",
|
|
583
|
+
"kind": "model",
|
|
584
|
+
"src": "library:models/platformer/coin.glb",
|
|
585
|
+
"fit": 0.6,
|
|
586
|
+
"position": [
|
|
587
|
+
12.6,
|
|
588
|
+
1,
|
|
589
|
+
0
|
|
590
|
+
],
|
|
591
|
+
"tags": [
|
|
592
|
+
"coin"
|
|
593
|
+
],
|
|
594
|
+
"castShadow": true,
|
|
595
|
+
"center": true
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"id": "coin5",
|
|
599
|
+
"kind": "model",
|
|
600
|
+
"src": "library:models/platformer/coin.glb",
|
|
601
|
+
"fit": 0.6,
|
|
602
|
+
"position": [
|
|
603
|
+
17.9,
|
|
604
|
+
2.3,
|
|
605
|
+
0
|
|
606
|
+
],
|
|
607
|
+
"tags": [
|
|
608
|
+
"coin"
|
|
609
|
+
],
|
|
610
|
+
"castShadow": true,
|
|
611
|
+
"center": true
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"id": "coin6",
|
|
615
|
+
"kind": "model",
|
|
616
|
+
"src": "library:models/platformer/coin.glb",
|
|
617
|
+
"fit": 0.6,
|
|
618
|
+
"position": [
|
|
619
|
+
22,
|
|
620
|
+
2.6,
|
|
621
|
+
0
|
|
622
|
+
],
|
|
623
|
+
"tags": [
|
|
624
|
+
"coin"
|
|
625
|
+
],
|
|
626
|
+
"castShadow": true,
|
|
627
|
+
"center": true
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"id": "coin7",
|
|
631
|
+
"kind": "model",
|
|
632
|
+
"src": "library:models/platformer/coin.glb",
|
|
633
|
+
"fit": 0.6,
|
|
634
|
+
"position": [
|
|
635
|
+
24.5,
|
|
636
|
+
2.6,
|
|
637
|
+
0
|
|
638
|
+
],
|
|
639
|
+
"tags": [
|
|
640
|
+
"coin"
|
|
641
|
+
],
|
|
642
|
+
"castShadow": true,
|
|
643
|
+
"center": true
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"id": "coin8",
|
|
647
|
+
"kind": "model",
|
|
648
|
+
"src": "library:models/platformer/coin.glb",
|
|
649
|
+
"fit": 0.6,
|
|
650
|
+
"position": [
|
|
651
|
+
30,
|
|
652
|
+
1.6,
|
|
653
|
+
0
|
|
654
|
+
],
|
|
655
|
+
"tags": [
|
|
656
|
+
"coin"
|
|
657
|
+
],
|
|
658
|
+
"castShadow": true,
|
|
659
|
+
"center": true
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"id": "coin9",
|
|
663
|
+
"kind": "model",
|
|
664
|
+
"src": "library:models/platformer/coin.glb",
|
|
665
|
+
"fit": 0.6,
|
|
666
|
+
"position": [
|
|
667
|
+
34.0,
|
|
668
|
+
3,
|
|
669
|
+
0
|
|
670
|
+
],
|
|
671
|
+
"tags": [
|
|
672
|
+
"coin"
|
|
673
|
+
],
|
|
674
|
+
"castShadow": true,
|
|
675
|
+
"center": true
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"id": "coin10",
|
|
679
|
+
"kind": "model",
|
|
680
|
+
"src": "library:models/platformer/coin.glb",
|
|
681
|
+
"fit": 0.6,
|
|
682
|
+
"position": [
|
|
683
|
+
39.6,
|
|
684
|
+
4.6,
|
|
685
|
+
0
|
|
686
|
+
],
|
|
687
|
+
"tags": [
|
|
688
|
+
"coin"
|
|
689
|
+
],
|
|
690
|
+
"castShadow": true,
|
|
691
|
+
"center": true
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"id": "coin11",
|
|
695
|
+
"kind": "model",
|
|
696
|
+
"src": "library:models/platformer/coin.glb",
|
|
697
|
+
"fit": 0.6,
|
|
698
|
+
"position": [
|
|
699
|
+
43,
|
|
700
|
+
5.4,
|
|
701
|
+
0
|
|
702
|
+
],
|
|
703
|
+
"tags": [
|
|
704
|
+
"coin"
|
|
705
|
+
],
|
|
706
|
+
"castShadow": true,
|
|
707
|
+
"center": true
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"id": "coin12",
|
|
711
|
+
"kind": "model",
|
|
712
|
+
"src": "library:models/platformer/coin.glb",
|
|
713
|
+
"fit": 0.6,
|
|
714
|
+
"position": [
|
|
715
|
+
47,
|
|
716
|
+
3.2,
|
|
717
|
+
0
|
|
718
|
+
],
|
|
719
|
+
"tags": [
|
|
720
|
+
"coin"
|
|
721
|
+
],
|
|
722
|
+
"castShadow": true,
|
|
723
|
+
"center": true
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"id": "flag",
|
|
727
|
+
"kind": "model",
|
|
728
|
+
"src": "library:models/platformer/flag.glb",
|
|
729
|
+
"fit": 1.8,
|
|
730
|
+
"position": [
|
|
731
|
+
52.5,
|
|
732
|
+
2.2,
|
|
733
|
+
0
|
|
734
|
+
],
|
|
735
|
+
"rotation": [
|
|
736
|
+
0,
|
|
737
|
+
90,
|
|
738
|
+
0
|
|
739
|
+
],
|
|
740
|
+
"castShadow": true
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"id": "sparkle",
|
|
744
|
+
"kind": "particles",
|
|
745
|
+
"preset": "magic",
|
|
746
|
+
"count": 30,
|
|
747
|
+
"area": [
|
|
748
|
+
3,
|
|
749
|
+
2,
|
|
750
|
+
1
|
|
751
|
+
],
|
|
752
|
+
"position": [
|
|
753
|
+
52.5,
|
|
754
|
+
3.6,
|
|
755
|
+
0
|
|
756
|
+
],
|
|
757
|
+
"color": [
|
|
758
|
+
"#fff3b0",
|
|
759
|
+
"#ffe08a"
|
|
760
|
+
],
|
|
761
|
+
"size": 0.12
|
|
762
|
+
}
|
|
763
|
+
]
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"id": "islands",
|
|
767
|
+
"kind": "group",
|
|
768
|
+
"children": [
|
|
769
|
+
{
|
|
770
|
+
"id": "isle1",
|
|
771
|
+
"kind": "generator",
|
|
772
|
+
"generator": "floatingIsland",
|
|
773
|
+
"params": {
|
|
774
|
+
"radius": 2.6,
|
|
775
|
+
"depth": 3.3800000000000003,
|
|
776
|
+
"trees": 4,
|
|
777
|
+
"rocks": 2,
|
|
778
|
+
"flowers": 30,
|
|
779
|
+
"grass": 400,
|
|
780
|
+
"waterfall": false,
|
|
781
|
+
"debris": 3,
|
|
782
|
+
"float": 0.2
|
|
783
|
+
},
|
|
784
|
+
"seed": 3,
|
|
785
|
+
"position": [
|
|
786
|
+
-6,
|
|
787
|
+
-3,
|
|
788
|
+
-30
|
|
789
|
+
]
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"id": "isle2",
|
|
793
|
+
"kind": "generator",
|
|
794
|
+
"generator": "floatingIsland",
|
|
795
|
+
"params": {
|
|
796
|
+
"radius": 3.4,
|
|
797
|
+
"depth": 4.42,
|
|
798
|
+
"trees": 4,
|
|
799
|
+
"rocks": 2,
|
|
800
|
+
"flowers": 30,
|
|
801
|
+
"grass": 400,
|
|
802
|
+
"waterfall": true,
|
|
803
|
+
"debris": 3,
|
|
804
|
+
"float": 0.2
|
|
805
|
+
},
|
|
806
|
+
"seed": 8,
|
|
807
|
+
"position": [
|
|
808
|
+
22,
|
|
809
|
+
1,
|
|
810
|
+
-38
|
|
811
|
+
]
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"id": "isle3",
|
|
815
|
+
"kind": "generator",
|
|
816
|
+
"generator": "floatingIsland",
|
|
817
|
+
"params": {
|
|
818
|
+
"radius": 2.4,
|
|
819
|
+
"depth": 3.12,
|
|
820
|
+
"trees": 4,
|
|
821
|
+
"rocks": 2,
|
|
822
|
+
"flowers": 30,
|
|
823
|
+
"grass": 400,
|
|
824
|
+
"waterfall": true,
|
|
825
|
+
"debris": 3,
|
|
826
|
+
"float": 0.2
|
|
827
|
+
},
|
|
828
|
+
"seed": 12,
|
|
829
|
+
"position": [
|
|
830
|
+
48,
|
|
831
|
+
-2,
|
|
832
|
+
-32
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"id": "isle4",
|
|
837
|
+
"kind": "generator",
|
|
838
|
+
"generator": "floatingIsland",
|
|
839
|
+
"params": {
|
|
840
|
+
"radius": 3,
|
|
841
|
+
"depth": 3.9000000000000004,
|
|
842
|
+
"trees": 4,
|
|
843
|
+
"rocks": 2,
|
|
844
|
+
"flowers": 30,
|
|
845
|
+
"grass": 400,
|
|
846
|
+
"waterfall": false,
|
|
847
|
+
"debris": 3,
|
|
848
|
+
"float": 0.2
|
|
849
|
+
},
|
|
850
|
+
"seed": 5,
|
|
851
|
+
"position": [
|
|
852
|
+
70,
|
|
853
|
+
3,
|
|
854
|
+
-45
|
|
855
|
+
]
|
|
856
|
+
}
|
|
857
|
+
]
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"id": "hero",
|
|
861
|
+
"kind": "model",
|
|
862
|
+
"src": "library:models/characters/knight.glb",
|
|
863
|
+
"fit": 1.5,
|
|
864
|
+
"position": [
|
|
865
|
+
0,
|
|
866
|
+
0.1,
|
|
867
|
+
0
|
|
868
|
+
],
|
|
869
|
+
"rotation": [
|
|
870
|
+
0,
|
|
871
|
+
90,
|
|
872
|
+
0
|
|
873
|
+
],
|
|
874
|
+
"castShadow": true,
|
|
875
|
+
"animation": {
|
|
876
|
+
"clip": "Idle",
|
|
877
|
+
"loop": true
|
|
878
|
+
},
|
|
879
|
+
"body": {
|
|
880
|
+
"type": "dynamic",
|
|
881
|
+
"shape": "capsule",
|
|
882
|
+
"radius": 0.38,
|
|
883
|
+
"height": 1.45,
|
|
884
|
+
"character": true
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"id": "clouds",
|
|
889
|
+
"kind": "generator",
|
|
890
|
+
"generator": "clouds",
|
|
891
|
+
"params": {
|
|
892
|
+
"count": 14,
|
|
893
|
+
"area": [
|
|
894
|
+
110,
|
|
895
|
+
6,
|
|
896
|
+
30
|
|
897
|
+
],
|
|
898
|
+
"height": -4,
|
|
899
|
+
"size": 1.2,
|
|
900
|
+
"speed": 0.25
|
|
901
|
+
},
|
|
902
|
+
"seed": 4,
|
|
903
|
+
"position": [
|
|
904
|
+
26,
|
|
905
|
+
0,
|
|
906
|
+
-20
|
|
907
|
+
]
|
|
908
|
+
}
|
|
909
|
+
],
|
|
910
|
+
"scripts": [
|
|
911
|
+
"scripts/platformer.js"
|
|
912
|
+
],
|
|
913
|
+
"data": {
|
|
914
|
+
"platformer": {
|
|
915
|
+
"speed": 6.5,
|
|
916
|
+
"jump": 10.2,
|
|
917
|
+
"lives": 3,
|
|
918
|
+
"fallY": -6,
|
|
919
|
+
"time": 90,
|
|
920
|
+
"aiJumps": [
|
|
921
|
+
[
|
|
922
|
+
6.8,
|
|
923
|
+
1
|
|
924
|
+
],
|
|
925
|
+
[
|
|
926
|
+
14.4,
|
|
927
|
+
1
|
|
928
|
+
],
|
|
929
|
+
[
|
|
930
|
+
19.0,
|
|
931
|
+
1
|
|
932
|
+
],
|
|
933
|
+
[
|
|
934
|
+
40.6,
|
|
935
|
+
1
|
|
936
|
+
]
|
|
937
|
+
]
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
"ui": {
|
|
941
|
+
"color": "#1f2a44",
|
|
942
|
+
"accent": "#ffb703",
|
|
943
|
+
"elements": [
|
|
944
|
+
{
|
|
945
|
+
"id": "coinsHud",
|
|
946
|
+
"type": "text",
|
|
947
|
+
"text": "Coins {coins}/{total}",
|
|
948
|
+
"anchor": "top-left",
|
|
949
|
+
"style": "pill"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"id": "livesHud",
|
|
953
|
+
"type": "text",
|
|
954
|
+
"text": "{hearts}",
|
|
955
|
+
"anchor": "top-right",
|
|
956
|
+
"style": "pill",
|
|
957
|
+
"visible": "phase == 'play'"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"id": "bestHud",
|
|
961
|
+
"type": "text",
|
|
962
|
+
"text": "Best {best}",
|
|
963
|
+
"anchor": "top-right",
|
|
964
|
+
"style": "pill",
|
|
965
|
+
"visible": "phase != 'play'"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"id": "title",
|
|
969
|
+
"type": "text",
|
|
970
|
+
"text": "Sky Hop",
|
|
971
|
+
"anchor": "top",
|
|
972
|
+
"style": "title",
|
|
973
|
+
"visible": "phase == 'attract'"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"id": "hint",
|
|
977
|
+
"type": "text",
|
|
978
|
+
"text": "\u2190 \u2192 or A D to run \u00b7 Space to jump \u00b7 touch: hold a side, tap the middle",
|
|
979
|
+
"anchor": "bottom",
|
|
980
|
+
"style": "subtitle",
|
|
981
|
+
"visible": "phase == 'attract'"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"id": "timer",
|
|
985
|
+
"type": "text",
|
|
986
|
+
"text": "{time} s",
|
|
987
|
+
"anchor": "top",
|
|
988
|
+
"style": "pill",
|
|
989
|
+
"visible": "phase == 'play'"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"id": "won",
|
|
993
|
+
"type": "text",
|
|
994
|
+
"text": "Goal! {coins}/{total} coins \u00b7 {result}",
|
|
995
|
+
"anchor": "center",
|
|
996
|
+
"style": "title",
|
|
997
|
+
"visible": "phase == 'won'"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"id": "over",
|
|
1001
|
+
"type": "text",
|
|
1002
|
+
"text": "Game over",
|
|
1003
|
+
"anchor": "center",
|
|
1004
|
+
"style": "title",
|
|
1005
|
+
"visible": "phase == 'over'"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"id": "retry",
|
|
1009
|
+
"type": "button",
|
|
1010
|
+
"text": "Play again",
|
|
1011
|
+
"anchor": "bottom",
|
|
1012
|
+
"action": "retry",
|
|
1013
|
+
"visible": "phase == 'won' || phase == 'over'"
|
|
1014
|
+
}
|
|
1015
|
+
]
|
|
1016
|
+
},
|
|
1017
|
+
"audio": {
|
|
1018
|
+
"sounds": {
|
|
1019
|
+
"coin": {
|
|
1020
|
+
"preset": "coin",
|
|
1021
|
+
"volume": 0.5
|
|
1022
|
+
},
|
|
1023
|
+
"jump": {
|
|
1024
|
+
"preset": "jump",
|
|
1025
|
+
"volume": 0.4
|
|
1026
|
+
},
|
|
1027
|
+
"win": {
|
|
1028
|
+
"preset": "win"
|
|
1029
|
+
},
|
|
1030
|
+
"lose": {
|
|
1031
|
+
"preset": "lose"
|
|
1032
|
+
},
|
|
1033
|
+
"hurt": {
|
|
1034
|
+
"preset": "hit",
|
|
1035
|
+
"volume": 0.5
|
|
1036
|
+
},
|
|
1037
|
+
"click": {
|
|
1038
|
+
"preset": "click"
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
"postfx": [
|
|
1043
|
+
{
|
|
1044
|
+
"type": "bloom",
|
|
1045
|
+
"strength": 0.25,
|
|
1046
|
+
"threshold": 1.6,
|
|
1047
|
+
"radius": 0.5
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"type": "grading",
|
|
1051
|
+
"saturation": 1.08,
|
|
1052
|
+
"vibrance": 0.15,
|
|
1053
|
+
"contrast": 1.04
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"type": "vignette",
|
|
1057
|
+
"darkness": 0.5
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"type": "fxaa"
|
|
1061
|
+
}
|
|
1062
|
+
]
|
|
1063
|
+
}
|