@zylem/game-lib 0.8.8 → 0.9.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.
Files changed (95) hide show
  1. package/README.md +7 -1
  2. package/dist/actions.d.ts +2 -2
  3. package/dist/actions.js +1 -1
  4. package/dist/api/game-lib.api.json +35786 -18973
  5. package/dist/api/game-lib.api.md +1209 -13
  6. package/dist/api/game-lib.d.ts +1609 -7
  7. package/dist/api/game-lib.typedoc.json +220861 -97409
  8. package/dist/audio.d.ts +193 -1
  9. package/dist/audio.js +1 -1
  10. package/dist/behavior.js +1 -1
  11. package/dist/bridge.d.ts +46 -6
  12. package/dist/bridge.js +1 -1
  13. package/dist/catalog.d.ts +91 -3
  14. package/dist/catalog.js +1 -1
  15. package/dist/chunk-2HSR5XDQ.js +1 -0
  16. package/dist/chunk-2MHB4X6B.js +24 -0
  17. package/dist/chunk-2PFNNGTV.js +1 -0
  18. package/dist/chunk-2XMG3NJS.js +1 -0
  19. package/dist/chunk-4CZZZCFB.js +9 -0
  20. package/dist/{chunk-7NYP4YAG.js → chunk-6FGXC4T6.js} +1 -1
  21. package/dist/chunk-6XFXPIVB.js +1 -0
  22. package/dist/{chunk-CBUQBP2U.js → chunk-BQRMYLYD.js} +1 -1
  23. package/dist/chunk-FZNEWOC5.js +1 -0
  24. package/dist/chunk-GPCSX3M6.js +1 -0
  25. package/dist/chunk-HISTSRAL.js +1 -0
  26. package/dist/chunk-K3NNXZIJ.js +1 -0
  27. package/dist/chunk-KP6DLLJO.js +1 -0
  28. package/dist/{chunk-JNFFTNMH.js → chunk-KSEP7AUF.js} +1 -1
  29. package/dist/{chunk-YOVE25NW.js → chunk-LI43BZQN.js} +1 -1
  30. package/dist/chunk-LSFWI46T.js +1 -0
  31. package/dist/chunk-NVVLLWIM.js +1 -0
  32. package/dist/chunk-QGIYILYI.js +1 -0
  33. package/dist/chunk-STVEILJJ.js +1 -0
  34. package/dist/chunk-UUOPT2N4.js +1 -0
  35. package/dist/chunk-VMXSE3EC.js +0 -0
  36. package/dist/chunk-VSFULLND.js +1 -0
  37. package/dist/chunk-VUJXR5K5.js +1 -0
  38. package/dist/chunk-WOT6VMZA.js +1 -0
  39. package/dist/chunk-YNX3Q3CL.js +1 -0
  40. package/dist/chunk-YQS7CGXE.js +1 -0
  41. package/dist/chunk-ZZO4CKRU.js +1 -0
  42. package/dist/cinematics.d.ts +279 -0
  43. package/dist/cinematics.js +1 -0
  44. package/dist/core.d.ts +13 -10
  45. package/dist/core.js +1 -1
  46. package/dist/cutscene-definition-C479fkei.d.ts +509 -0
  47. package/dist/{debug-state-CpnNRUFh.d.ts → debug-state-Cg3f5FB6.d.ts} +1 -1
  48. package/dist/debug.d.ts +3 -2
  49. package/dist/debug.js +1 -1
  50. package/dist/{entity-XZNGBeca.d.ts → entity-XqvuWgPm.d.ts} +54 -0
  51. package/dist/{entity-type-map-CkkFMSrL.d.ts → entity-type-map-CrsrKT8c.d.ts} +13 -4
  52. package/dist/entity.d.ts +4 -3
  53. package/dist/entity.js +1 -1
  54. package/dist/events.js +1 -1
  55. package/dist/game-9PjI5z2p.d.ts +652 -0
  56. package/dist/game-default-WBKQCEDJ.js +1 -0
  57. package/dist/globals.js +1 -1
  58. package/dist/graphics.d.ts +1 -1
  59. package/dist/graphics.js +1 -1
  60. package/dist/input-ui.js +1 -1
  61. package/dist/input.js +1 -1
  62. package/dist/public.d.ts +14 -8
  63. package/dist/public.js +1 -1
  64. package/dist/runtime.js +1 -1
  65. package/dist/schema/cutscene.schema.json +782 -0
  66. package/dist/schema/entity.schema.json +24 -24
  67. package/dist/schema/game-config.schema.json +10 -10
  68. package/dist/schema/song.schema.json +430 -0
  69. package/dist/schema/stage.schema.json +29 -29
  70. package/dist/schema.d.ts +2 -0
  71. package/dist/schema.js +1 -1
  72. package/dist/selection-bounds-BKmSo9aG.d.ts +50 -0
  73. package/dist/song-definition-rEKksP0B.d.ts +263 -0
  74. package/dist/song-player-7QPLFLAS.js +1 -0
  75. package/dist/{game-BPOr7zTB.d.ts → stage-BuGkjZnr.d.ts} +90 -644
  76. package/dist/web-components.d.ts +7 -5
  77. package/dist/web-components.js +1 -1
  78. package/dist/{zylem-camera-DZTpPOiD.d.ts → zylem-camera-Baf5vH8Z.d.ts} +8 -0
  79. package/package.json +25 -16
  80. package/dist/chunk-34MYRTRP.js +0 -9
  81. package/dist/chunk-AE3CTVHY.js +0 -1
  82. package/dist/chunk-BMRFDDMR.js +0 -1
  83. package/dist/chunk-EVMLNMGU.js +0 -1
  84. package/dist/chunk-F5LROYZL.js +0 -24
  85. package/dist/chunk-GHJQ2HKI.js +0 -1
  86. package/dist/chunk-HNCTOJP7.js +0 -1
  87. package/dist/chunk-IBJLPJLE.js +0 -1
  88. package/dist/chunk-MXO4VGDB.js +0 -1
  89. package/dist/chunk-QDQ4QMAI.js +0 -1
  90. package/dist/chunk-SAQA4SXW.js +0 -1
  91. package/dist/chunk-XK63E4SX.js +0 -1
  92. package/dist/chunk-ZRT3ZQVH.js +0 -1
  93. package/dist/chunk-ZTYNZ2N2.js +0 -1
  94. package/dist/game-default-7HCJJF5S.js +0 -1
  95. /package/dist/{chunk-MSCVL5OK.js → chunk-ELQN62PQ.js} +0 -0
@@ -0,0 +1 @@
1
+ import{v as e}from"./chunk-LSFWI46T.js";import"./chunk-BCFFS3FP.js";import"./chunk-2HSR5XDQ.js";import"./chunk-HISTSRAL.js";import"./chunk-BQRMYLYD.js";import"./chunk-GPCSX3M6.js";import"./chunk-WBQ5TNRZ.js";import"./chunk-YQS7CGXE.js";import"./chunk-KP6DLLJO.js";import"./chunk-6FGXC4T6.js";import"./chunk-AIQ6IVT5.js";import"./chunk-QXVH6POE.js";import"./chunk-UUOPT2N4.js";import"./chunk-EVYHPR3J.js";import"./chunk-D2PATZCC.js";import"./chunk-4QLJUQSJ.js";import"./chunk-7WRQ2UAN.js";import"./chunk-BH53MBAZ.js";import"./chunk-XRP4JJXL.js";import"./chunk-UG22Z42P.js";import"./chunk-WOT6VMZA.js";import{proxy as t}from"valtio/vanilla";var s=()=>({id:"zylem",globals:{},stages:[e()],debug:!1,time:0,input:void 0}),a=t({...s()});function o(){return{id:a.id??"zylem",globals:a.globals??{},stages:a.stages??[e()],debug:a.debug,time:a.time,input:a.input}}export{o as getGameDefaultConfig};
package/dist/globals.js CHANGED
@@ -1 +1 @@
1
- import{a as m,b as n,c as o,d as p}from"./chunk-WQ3WMMZD.js";import{h,i,j,k,l}from"./chunk-D2PATZCC.js";import{e as a,f as b,g as c,h as d,i as e,j as f,m as g}from"./chunk-4QLJUQSJ.js";import"./chunk-7WRQ2UAN.js";export{g as clearGlobalSubscriptions,b as createGlobal,i as createVariable,c as getGlobal,f as getGlobals,j as getVariable,m as globalChange,n as globalChanges,d as onGlobalChange,e as onGlobalChanges,k as onVariableChange,l as onVariableChanges,a as setGlobal,h as setVariable,o as variableChange,p as variableChanges};
1
+ import{a as m,b as n,c as o,d as p}from"./chunk-WQ3WMMZD.js";import{h,i,j,k,l}from"./chunk-D2PATZCC.js";import{e as a,f as b,g as c,h as d,i as e,j as f,m as g}from"./chunk-4QLJUQSJ.js";import"./chunk-7WRQ2UAN.js";import"./chunk-WOT6VMZA.js";export{g as clearGlobalSubscriptions,b as createGlobal,i as createVariable,c as getGlobal,f as getGlobals,j as getVariable,m as globalChange,n as globalChanges,d as onGlobalChange,e as onGlobalChanges,k as onVariableChange,l as onVariableChanges,a as setGlobal,h as setVariable,o as variableChange,p as variableChanges};
@@ -1,6 +1,6 @@
1
1
  import { b as ZylemTSLShader } from './material-CxxAyJYp.js';
2
2
  export { d as ZylemShader, Z as ZylemShaderObject, c as createNodeMaterialFromTSL, a as isGLSLShader, i as isTSLShader } from './material-CxxAyJYp.js';
3
- export { Z as ZylemPostEffect } from './zylem-camera-DZTpPOiD.js';
3
+ export { Z as ZylemPostEffect } from './zylem-camera-Baf5vH8Z.js';
4
4
  export { S as StageTransitionConfig, a as StageTransitionEasing, Z as ZylemTransitionShader, c as crossfadeTransitionShader } from './stage-transition-CmGpV4tc.js';
5
5
  export { Fn, abs, asin, atan, clamp, cos, dot, exp, float, floor, fract, length, max, min, mix, mod, normalize, positionWorld, positionWorldDirection, pow, sin, smoothstep, step, time, uniform, uv, vec2, vec3, vec4 } from 'three/tsl';
6
6
  import 'three';
package/dist/graphics.js CHANGED
@@ -1 +1 @@
1
- import{a as n,b as o,c as p,d as q,e as r,f as s,g as t,h as u,i as v,j as w,k as x,l as y,m as z,n as A,o as B,p as C,q as D,r as E,s as F,t as G,u as H,v as I,w as J}from"./chunk-QB3NL7VQ.js";import{a as m}from"./chunk-7GYFZKK7.js";import{a,b,h as c,i as d,k as e,l as f,m as g,n as h,o as i,p as j,q as k,r as l}from"./chunk-7NYP4YAG.js";import"./chunk-QXVH6POE.js";import"./chunk-7WRQ2UAN.js";export{l as Fn,y as abs,x as asin,w as atan,t as clamp,v as cos,n as createBackgroundShader,e as createNodeMaterialFromTSL,m as crossfadeTransitionShader,G as dot,z as exp,k as float,E as floor,F as fract,d as isGLSLShader,c as isTSLShader,H as length,C as max,D as min,r as mix,J as mod,q as normalize,a as objectVertexShader,p as positionWorld,o as positionWorldDirection,A as pow,u as sin,s as smoothstep,b as standardShader,B as step,h as time,f as uniform,g as uv,I as vec2,i as vec3,j as vec4};
1
+ import{a as n,b as o,c as p,d as q,e as r,f as s,g as t,h as u,i as v,j as w,k as x,l as y,m as z,n as A,o as B,p as C,q as D,r as E,s as F,t as G,u as H,v as I,w as J}from"./chunk-QB3NL7VQ.js";import{c as a,d as b,h as c,i as d,k as e,l as f,m as g,n as h,o as i,p as j,q as k,r as l}from"./chunk-6FGXC4T6.js";import"./chunk-QXVH6POE.js";import{a as m}from"./chunk-7GYFZKK7.js";import"./chunk-7WRQ2UAN.js";import"./chunk-WOT6VMZA.js";export{l as Fn,y as abs,x as asin,w as atan,t as clamp,v as cos,n as createBackgroundShader,e as createNodeMaterialFromTSL,m as crossfadeTransitionShader,G as dot,z as exp,k as float,E as floor,F as fract,d as isGLSLShader,c as isTSLShader,H as length,C as max,D as min,r as mix,J as mod,q as normalize,a as objectVertexShader,p as positionWorld,o as positionWorldDirection,A as pow,u as sin,s as smoothstep,b as standardShader,B as step,h as time,f as uniform,g as uv,I as vec2,i as vec3,j as vec4};
package/dist/input-ui.js CHANGED
@@ -1 +1 @@
1
- import"./chunk-ORIDWL3T.js";import{a,b,c,d,e,f,g}from"./chunk-PCFF4LLO.js";import"./chunk-UG22Z42P.js";export{g as defaultTouchControls,d as joystickBaseSvg,e as joystickThumbSvg,c as resolveButtonAccent,b as resolveTouchTheme,f as touchButtonSvg,a as touchThemes};
1
+ import"./chunk-ORIDWL3T.js";import{a,b,c,d,e,f,g}from"./chunk-PCFF4LLO.js";import"./chunk-UG22Z42P.js";import"./chunk-WOT6VMZA.js";export{g as defaultTouchControls,d as joystickBaseSvg,e as joystickThumbSvg,c as resolveButtonAccent,b as resolveTouchTheme,f as touchButtonSvg,a as touchThemes};
package/dist/input.js CHANGED
@@ -1 +1 @@
1
- import{a as m,b as n,c as o}from"./chunk-7QF6YTEZ.js";import{a,b,c,d,e,f,g,h,i,j,k,l}from"./chunk-UG22Z42P.js";export{l as mergeInputConfigs,o as screenCenterLookDeltas,n as screenCenterLookTargets,m as shortestAngleDelta,a as useArrowsForAxes,c as useArrowsForDirections,b as useArrowsForSecondaryAxes,f as useIJKLForAxes,g as useIJKLForDirections,j as useMouse,h as useMouseLook,i as useScreenCenterLook,k as useVirtualControls,e as useWASDForAxes,d as useWASDForDirections};
1
+ import{a as m,b as n,c as o}from"./chunk-7QF6YTEZ.js";import{a,b,c,d,e,f,g,h,i,j,k,l}from"./chunk-UG22Z42P.js";import"./chunk-WOT6VMZA.js";export{l as mergeInputConfigs,o as screenCenterLookDeltas,n as screenCenterLookTargets,m as shortestAngleDelta,a as useArrowsForAxes,c as useArrowsForDirections,b as useArrowsForSecondaryAxes,f as useIJKLForAxes,g as useIJKLForDirections,j as useMouse,h as useMouseLook,i as useScreenCenterLook,k as useVirtualControls,e as useWASDForAxes,d as useWASDForDirections};
package/dist/public.d.ts CHANGED
@@ -1,14 +1,15 @@
1
- export { A as AspectRatio, q as AspectRatioValue, k as CameraManager, j as CameraOptions, C as CameraWrapper, D as DeviceProfile, p as FirstPersonOptions, l as FirstPersonPerspective, o as Fixed2DOptions, F as Fixed2DPerspective, G as Game, b as GameConfigLike, d as GameDeviceConfig, a as GameLoadingEvent, P as PerspectiveOptions, y as RenderBundleManager, z as RenderStrategyManager, R as ResolutionInput, e as ResolveGameConfigRuntime, v as RetroPreset, w as RetroPresetKey, x as RetroResolution, S as StageConfigLike, h as StageOptions, n as ThirdPersonOptions, T as ThirdPersonPerspective, i as createCamera, c as createGame, m as createPerspective, f as createStage, g as gameConfig, r as getDisplayAspect, t as getPresetResolution, u as parseResolution, s as stageConfig } from './game-BPOr7zTB.js';
1
+ export { A as AspectRatio, f as AspectRatioValue, D as DeviceProfile, G as Game, b as GameConfigLike, d as GameDeviceConfig, a as GameLoadingEvent, R as ResolutionInput, e as ResolveGameConfigRuntime, j as RetroPreset, k as RetroPresetKey, l as RetroResolution, c as createGame, g as gameConfig, h as getDisplayAspect, i as getPresetResolution, p as parseResolution } from './game-9PjI5z2p.js';
2
2
  export { G as GameInputConfig, a as GameInputPlayerConfig, K as KeyboardMapping, M as MouseConfig, b as MouseMapping, V as VirtualTouchButtonConfig, d as VirtualTouchButtonSlot, c as VirtualTouchButtonsConfig, e as VirtualTouchConfig, f as VirtualTouchJoystickConfig, g as VirtualTouchJoysticksConfig, h as VirtualTouchPosition, i as VirtualTouchStyle, Z as ZylemGameConfig } from './game-interfaces-vF5sRi1n.js';
3
+ export { e as CameraManager, d as CameraOptions, C as CameraWrapper, j as FirstPersonOptions, f as FirstPersonPerspective, i as Fixed2DOptions, F as Fixed2DPerspective, P as PerspectiveOptions, R as RenderBundleManager, k as RenderStrategyManager, S as StageConfigLike, a as StageOptions, h as ThirdPersonOptions, T as ThirdPersonPerspective, b as createCamera, g as createPerspective, c as createStage, s as stageConfig } from './stage-BuGkjZnr.js';
3
4
  export { CameraFeedOptions, FollowTargetOptions, RenderCategory, STAGE_STATE_CHANGE, StageManager, StageStateChangeEvent, Vect3, createFollowTarget, dispatchStageState, entitySpawner, initStageStateDispatcher, isManagedRenderEntity, resolveRenderCategory, setCameraFeed, setStageFrameProfilerEnabled, stageState, usesManagedRenderPath, vessel } from './core.js';
4
5
  export { f as EntityBlueprint, j as EntityJson, d as EntityJsonSchema, E as EntitySchema, i as LineEntityData, L as LineEntityDataSchema, h as SpriteEntityData, b as SpriteEntityDataSchema, S as StageBlueprint, k as StageJson, e as StageJsonSchema, c as StageSchema, g as TextEntityData, T as TextEntityDataSchema, V as Vector2Schema, a as Vector3TupleSchema } from './blueprints-TbGY-h53.js';
5
6
  export { A as AnalogState, d as ButtonName, B as ButtonState, c as InputGamepad, b as InputPlayer, e as InputPlayerNumber, f as InputProvider, I as Inputs, L as LoadingEvent, a as SetupContext, S as StageNavigationOptions, U as UpdateContext } from './base-node-life-cycle-BK9xebT9.js';
6
7
  export { S as StageTransitionConfig, a as StageTransitionEasing, Z as ZylemTransitionShader, c as crossfadeTransitionShader } from './stage-transition-CmGpV4tc.js';
7
- export { g as CameraAction, f as CameraBehavior, d as CameraContext, e as CameraPerspective, j as CameraPipeline, h as CameraPipelineState, C as CameraPose, P as PerspectiveType, a as Perspectives, c as PoseDelta, T as TransformLike, V as Viewport, Z as ZylemPostEffect, b as ZylemRenderer, i as isWebGPUSupported } from './zylem-camera-DZTpPOiD.js';
8
+ export { g as CameraAction, f as CameraBehavior, d as CameraContext, e as CameraPerspective, j as CameraPipeline, h as CameraPipelineState, C as CameraPose, P as PerspectiveType, a as Perspectives, c as PoseDelta, T as TransformLike, V as Viewport, Z as ZylemPostEffect, b as ZylemRenderer, i as isWebGPUSupported } from './zylem-camera-Baf5vH8Z.js';
8
9
  export { S as StageEntity } from './entity-BIf_a4dl.js';
9
10
  export { f as VEC2_ONE, g as VEC2_ZERO, h as VEC3_ONE, i as VEC3_ZERO, V as Vec2, a as Vec2Components, b as Vec2Input, c as Vec3, d as Vec3Components, e as Vec3Input, n as normalizeVec2, j as normalizeVec3, t as toThreeVector2, k as toThreeVector3 } from './vector-D3eDzvcA.js';
10
- export { A as ACTOR_TYPE, a0 as AmbientLightOptions, B as BOX_TYPE, E as CONE_TYPE, K as CYLINDER_TYPE, C as CollisionShapeType, D as DISK_TYPE, a2 as DirectionalLightOptions, ak as EntityForType, aj as EntityTypeMap, a8 as FOG_TYPE, a1 as HemisphereLightOptions, _ as LIGHT_TYPE, ab as LINE_TYPE, a5 as LightShadowOptions, ae as LinePickResult, o as OnEnterParams, p as OnExitParams, O as OnHeldParams, V as PARTICLE_SYSTEM_TYPE, N as PILL_TYPE, P as PLANE_TYPE, H as PYRAMID_TYPE, a3 as PointLightOptions, R as RECT_TYPE, S as SPHERE_TYPE, f as SPRITE_TYPE, a4 as SpotLightOptions, h as SpriteAnimation, g as SpriteImage, i as SpriteSheet, T as TEXT_TYPE, n as ZONE_TYPE, r as ZylemActor, Z as ZylemBox, z as ZylemCone, J as ZylemCylinder, x as ZylemDisk, a7 as ZylemFog, ah as ZylemFogHeightOptions, ai as ZylemFogNoiseOptions, af as ZylemFogOptions, ag as ZylemFogType, Y as ZylemLight, $ as ZylemLightOptions, aa as ZylemLine, ad as ZylemLineOptions, U as ZylemParticleSystem, W as ZylemParticleSystemOptions, M as ZylemPill, k as ZylemPlane, G as ZylemPyramid, v as ZylemRect, b as ZylemSphere, e as ZylemSprite, t as ZylemText, m as ZylemZone, q as createActor, c as createBox, y as createCone, I as createCylinder, w as createDisk, a6 as createFog, X as createLight, a9 as createLine, Q as createParticleSystem, L as createPill, j as createPlane, F as createPyramid, u as createRect, a as createSphere, d as createSprite, s as createText, l as createZone, ac as pickZylemLine } from './entity-type-map-CkkFMSrL.js';
11
- export { A as Action, C as CollisionComponent, G as GameEntity, a as GameEntityOptions, b as boxCollision, d as coneCollision, c as create, e as cylinderCollision, x as getRotation, f as pillCollision, g as planeCollision, p as pyramidCollision, i as rotateEuler, r as rotateInDirection, j as rotateX, k as rotateY, h as rotateYEuler, l as rotateZ, w as setRotation, q as setRotationDegrees, u as setRotationDegreesX, t as setRotationDegreesY, v as setRotationDegreesZ, n as setRotationX, m as setRotationY, o as setRotationZ, s as sphereCollision, z as zoneCollision } from './entity-XZNGBeca.js';
11
+ export { A as ACTOR_TYPE, a0 as AmbientLightOptions, B as BOX_TYPE, E as CONE_TYPE, K as CYLINDER_TYPE, C as CollisionShapeType, D as DISK_TYPE, a2 as DirectionalLightOptions, ak as EntityForType, aj as EntityTypeMap, a8 as FOG_TYPE, a1 as HemisphereLightOptions, _ as LIGHT_TYPE, ab as LINE_TYPE, a5 as LightShadowOptions, ae as LinePickResult, o as OnEnterParams, p as OnExitParams, O as OnHeldParams, V as PARTICLE_SYSTEM_TYPE, N as PILL_TYPE, P as PLANE_TYPE, H as PYRAMID_TYPE, a3 as PointLightOptions, R as RECT_TYPE, S as SPHERE_TYPE, f as SPRITE_TYPE, a4 as SpotLightOptions, h as SpriteAnimation, g as SpriteImage, i as SpriteSheet, T as TEXT_TYPE, n as ZONE_TYPE, r as ZylemActor, Z as ZylemBox, z as ZylemCone, J as ZylemCylinder, x as ZylemDisk, a7 as ZylemFog, ah as ZylemFogHeightOptions, ai as ZylemFogNoiseOptions, af as ZylemFogOptions, ag as ZylemFogType, Y as ZylemLight, $ as ZylemLightOptions, aa as ZylemLine, ad as ZylemLineOptions, U as ZylemParticleSystem, W as ZylemParticleSystemOptions, M as ZylemPill, k as ZylemPlane, G as ZylemPyramid, v as ZylemRect, b as ZylemSphere, e as ZylemSprite, t as ZylemText, m as ZylemZone, q as createActor, c as createBox, y as createCone, I as createCylinder, w as createDisk, a6 as createFog, X as createLight, a9 as createLine, Q as createParticleSystem, L as createPill, j as createPlane, F as createPyramid, u as createRect, a as createSphere, d as createSprite, s as createText, l as createZone, ac as pickZylemLine } from './entity-type-map-CrsrKT8c.js';
12
+ export { A as Action, C as CollisionComponent, G as GameEntity, a as GameEntityOptions, b as boxCollision, d as coneCollision, c as create, e as cylinderCollision, x as getRotation, f as pillCollision, g as planeCollision, p as pyramidCollision, i as rotateEuler, r as rotateInDirection, j as rotateX, k as rotateY, h as rotateYEuler, l as rotateZ, w as setRotation, q as setRotationDegrees, u as setRotationDegreesX, t as setRotationDegreesY, v as setRotationDegreesZ, n as setRotationX, m as setRotationY, o as setRotationZ, s as sphereCollision, z as zoneCollision } from './entity-XqvuWgPm.js';
12
13
  export { IconSize, IconSizePreset, ScreenAnchor, TemplateFactory, boxMesh, coneMesh, createCooldownIcon, createEntity, createEntityFactory, cylinderMesh, destroy, pillMesh, pyramidMesh, sphereMesh } from './entity.js';
13
14
  export { BehaviorDescriptor, BehaviorHandle, BehaviorRef, BehaviorSystem, BehaviorSystemFactory, BoundaryRicochet3DCoordinator, BoundaryRicochet3DEntity, BoundaryRicochetCoordinator, BoundaryRicochetEntity, BoundaryRicochetUpdate, BurstParticlePresetOptions, CooldownBehavior, CooldownConfig, CooldownEntry, CooldownHandle, CooldownOptions, DefineBehaviorConfig, Destructible3DBehavior, Destructible3DBehaviorOptions, Destructible3DColliderOptions, Destructible3DFragmentColliderShape, Destructible3DFragmentPhysicsOptions, Destructible3DHandle, DestructibleMesh, DestructiblePrebakeWorkerAPI, FacingAngle2DEntity, FirstPersonBehavior, FirstPersonBehaviorOptions, FirstPersonContext, FirstPersonEntity, FirstPersonEvent, FirstPersonFSM, FirstPersonInputComponent, FirstPersonMovementComponent, FirstPersonPresentation, FirstPersonShooterCoordinator, FirstPersonShooterEntity, FirstPersonShooterInput, FirstPersonState, FirstPersonStateComponent, FractureOptions, FractureOptionsInput, JumpConfig2D, JumpConfig3D, JumpContext2D, JumpContext3D, JumpInput2D, JumpInput3D, JumpState2D, JumpState3D, Jumper2DBehavior, Jumper2DBehaviorOptions, Jumper2DEntity, Jumper2DEvent, Jumper2DFSM, Jumper2DState, Jumper3DBehavior, Jumper3DBehaviorOptions, Jumper3DEntity, Jumper3DEvent, Jumper3DFSM, Jumper3DState, MultidirectionalSpaceShooterCoordinator, MultidirectionalSpaceShooterEntity, MultidirectionalSpaceShooterInput, ParticleEffectDefinition, ParticleEmitterBehavior, ParticleEmitterBehaviorOptions, ParticleEmitterHandle, ParticleMagicAgency, ParticleMagicAlignment, ParticleMagicModifierInput, ParticleMagicModifierOptions, ParticleMagicOrder, ParticleMagicRealityEffect, ParticleMagicTemperament, ParticlePresetMaterialOptions, PhysicsBodyComponent, PlainBufferGeometryPayload, PlainFractureOptions, Platformer2DBehavior, Platformer2DBehaviorOptions, Platformer2DCollisionContext, Platformer2DContext, Platformer2DEntity, Platformer2DEvent, Platformer2DFSM, Platformer2DInputComponent, Platformer2DMovementComponent, Platformer2DState, Platformer2DStateComponent, Platformer3DBehavior, Platformer3DBehaviorOptions, Platformer3DContext, Platformer3DEntity, Platformer3DEvent, Platformer3DFSM, Platformer3DInputComponent, Platformer3DMovementComponent, Platformer3DState, Platformer3DStateComponent, PlatformerCollisionContext, PlayerInput, PrebakeWorkerRequest, PrebakeWorkerResponse, ResolvedAim2D, Ricochet2DBehavior, Ricochet2DCollisionContext, Ricochet2DEvent, Ricochet2DFSM, Ricochet2DHandle, Ricochet2DOptions, Ricochet2DResult, Ricochet2DState, Ricochet3DBehavior, Ricochet3DCallback, Ricochet3DCollisionContext, Ricochet3DEvent, Ricochet3DFSM, Ricochet3DHandle, Ricochet3DOptions, Ricochet3DResult, Ricochet3DState, RicochetCallback, ScreenVisibilityBehavior, ScreenVisibilityChangeContext, ScreenVisibilityFSM, ScreenVisibilityHandle, ScreenVisibilityOptions, ScreenVisibilitySize, ScreenVisibilitySnapshot, ScreenWrapBehavior, ScreenWrapEvent, ScreenWrapFSM, ScreenWrapOptions, ScreenWrapState, SemanticParticlePresetOptions, Shooter2DAimFireInput, Shooter2DBehavior, Shooter2DBehaviorOptions, Shooter2DFireArgs, Shooter2DHandle, Shooter2DProjectileFactory, Shooter2DSourceEntity, Shooter2DStageLike, Shooter2DStateComponent, Shooter2DTarget, ThrusterBehavior, ThrusterBehaviorOptions, ThrusterEntity, ThrusterEvent, ThrusterFSM, ThrusterFSMContext, ThrusterInputComponent, ThrusterMovementComponent, ThrusterState, ThrusterStateComponent, TopDownMovementBehavior, TopDownMovementBehaviorOptions, TopDownMovementComponent, TopDownMovementEntity, TopDownMovementHandle, TopDownMovementInputComponent, TopDownMovementStateComponent, TopDownShooterCoordinator, TopDownShooterEntity, TopDownShooterInput, TransformComponent, Vec3Like, ViewmodelConfig, VoronoiOptions, WorldBoundary2DBehavior, WorldBoundary2DBounds, WorldBoundary2DEvent, WorldBoundary2DFSM, WorldBoundary2DHandle, WorldBoundary2DHit, WorldBoundary2DHits, WorldBoundary2DOptions, WorldBoundary2DPosition, WorldBoundary2DState, WorldBoundary3DBehavior, WorldBoundary3DBounds, WorldBoundary3DEvent, WorldBoundary3DFSM, WorldBoundary3DHandle, WorldBoundary3DHit, WorldBoundary3DHits, WorldBoundary3DOptions, WorldBoundary3DPosition, WorldBoundary3DState, computeWorldBoundary2DHits, computeWorldBoundary3DHits, createFirstPersonInputComponent, createFirstPersonMovementComponent, createFirstPersonStateComponent, createJumpConfig2D, createJumpConfig3D, createJumpInput2D, createJumpInput3D, createJumpState2D, createJumpState3D, createPhysicsBodyComponent, createPlatformer2DInputComponent, createPlatformer2DMovementComponent, createPlatformer2DStateComponent, createPlatformer3DInputComponent, createPlatformer3DMovementComponent, createPlatformer3DStateComponent, createShooter2DStateComponent, createThrusterInputComponent, createThrusterMovementComponent, createThrusterStateComponent, createTopDownMovementComponent, createTopDownMovementInputComponent, createTopDownMovementStateComponent, createTransformComponent, defineBehavior, fireCooldown, fireShooter2DIfRequested, getCooldown, getCooldownStore, getEntityFacingAngle2D, hasAnyWorldBoundary2DHit, hasAnyWorldBoundary3DHit, particleEffect, particlePresets, registerCooldown, resetCooldown, resolveAim2D, tickCooldowns, updateBoundaryRicochet, useBehavior } from '@zylem/behaviors';
14
15
  export { RUNTIME_BOUNDARY_2D_BEHAVIOR_KEY, RUNTIME_DYNAMIC_CIRCLE_BODY_2D_BEHAVIOR_KEY, RUNTIME_GOAL_ZONE_2D_BEHAVIOR_KEY, RUNTIME_PLAYER_INPUT_2D_BEHAVIOR_KEY, RUNTIME_RICOCHET_2D_BEHAVIOR_KEY, RUNTIME_TRIGGER_REGION_2D_BEHAVIOR_KEY, RuntimeBoundary2DBehavior, RuntimeBoundary2DOptions, RuntimeDynamicCircleBody2DBehavior, RuntimeDynamicCircleBody2DHandle, RuntimeDynamicCircleBody2DOptions, RuntimeGoalZone2DBehavior, RuntimeGoalZone2DEvent, RuntimeGoalZone2DHandle, RuntimeGoalZone2DOptions, RuntimePlayerInput2DBehavior, RuntimePlayerInput2DOptions, RuntimeRicochet2DBehavior, RuntimeRicochet2DEvent, RuntimeRicochet2DHandle, RuntimeRicochet2DOptions, RuntimeTriggerRegion2DBehavior, RuntimeTriggerRegion2DEvent, RuntimeTriggerRegion2DHandle, RuntimeTriggerRegion2DOptions, bindRuntimeDynamicCircleBody2DHandle, emitRuntimeGoal, emitRuntimeRicochet, emitRuntimeTriggerRegionEnter } from '@zylem/behaviors/runtime-2d';
@@ -19,12 +20,16 @@ export { D as DefaultTouchControlsOptions, J as JoystickSelection, T as TouchThe
19
20
  export { TouchButtonSvgOptions, TouchThemeInput, joystickBaseSvg, joystickThumbSvg, touchButtonSvg } from './input-ui.js';
20
21
  export { EntityEvents, EventEmitterDelegate, GameEvents, GameLoadingPayload, StageEvents, ZylemEvents, zylemEventBus } from './events.js';
21
22
  export { clearGlobalSubscriptions, createGlobal, createVariable, getGlobal, getGlobals, getVariable, globalChange, globalChanges, onGlobalChange, onGlobalChanges, onVariableChange, onVariableChanges, setGlobal, setVariable, variableChange, variableChanges } from './globals.js';
22
- export { pingPongBeep, ricochetSound } from './audio.js';
23
+ export { Instrument, PcmSource, RenderSongOptions, ScheduleOptions, ScheduledAudio, ScheduledNote, SongPlayer, SongPlayerEvents, SongPlayerOptions, SongPlayerState, SongSchedule, ToneModule, audibleTrackIds, beatsPerBar, beatsToSeconds, clipsAt, createInstrument, createSongPlayer, dbToGain, encodeWav, encodeWavBlob, ensureAudio, gainToDb, getActiveSongPlayer, isAudioReady, loadTone, midiToFrequency, midiToNoteName, pingPongBeep, renderSong, ricochetSound, scheduleSong, secondsToBeats, songLengthBeats, songLengthSeconds } from './audio.js';
23
24
  export { Howl } from 'howler';
24
- export { D as DEFAULT_SNAP_SETTINGS, w as DebugEntityResolver, v as DebugTools, S as SnapSettings, T as TRANSFORM_TOOLS, x as TransformTool, d as debugState, k as getHoveredEntity, j as getHoveredEntityId, e as getSelectedEntity, g as getSelectedEntityId, h as getSelectedEntityIds, m as getSnapSettings, t as isPickMode, u as isTransformTool, r as registerDebugEntityResolver, l as resolveDebugEntity, p as setAddType, s as setDebugTool, o as setGridVisible, i as setHoveredEntityId, a as setPaused, q as setPickMode, b as setSelectedEntity, c as setSelectedEntityId, f as setSelectedEntityIds, n as setSnapSettings } from './debug-state-CpnNRUFh.js';
25
+ export { o as AudioClip, A as AudioClipSchema, k as EffectType, E as Envelope, h as InstrumentDefinition, I as InstrumentDefinitionSchema, i as InstrumentEffect, a as InstrumentEffectSchema, j as InstrumentPreset, b as InstrumentPresetSchema, n as NoteClip, N as NoteClipSchema, O as OscillatorType, m as SongClip, d as SongClipSchema, g as SongDefinition, S as SongDefinitionSchema, r as SongLoop, f as SongLoopSchema, p as SongNote, e as SongNoteSchema, l as SongTrack, c as SongTrackSchema, q as TimeSignature, T as TimeSignatureSchema } from './song-definition-rEKksP0B.js';
26
+ export { w as AudioItem, A as AudioItemSchema, q as AudioTrack, l as CameraKeyframe, c as CameraKeyframeSchema, m as CameraPoseDef, n as CameraShot, d as CameraShotSchema, o as CameraTrack, i as CutsceneCamera, j as CutsceneCameraKind, b as CutsceneCameraSchema, g as CutsceneDefinition, C as CutsceneDefinitionSchema, k as CutsceneEasing, u as CutsceneEvent, e as CutsceneEventSchema, h as CutsceneScene, a as CutsceneSceneSchema, r as CutsceneTrack, f as CutsceneTrackSchema, s as DollyPath, D as DollyPathSchema, v as EventItem, E as EventItemSchema, p as EventTrack, x as SceneTransition, S as SceneTransitionSchema, y as SceneTransitionType, t as ShotBlend, V as Vec3Def } from './cutscene-definition-C479fkei.js';
27
+ export { CUTSCENE_BEHAVIOR_KEY, CutsceneCameraBehavior, CutsceneFrame, CutsceneHost, CutscenePlayer, CutscenePlayerEvents, CutscenePlayerOptions, CutscenePlayerState, CutscenePreviewController, CutsceneStageLike, EvaluatedPose, StageCutsceneHostOptions, TargetLookup, activeShot, cameraTracks, createCutscenePlayer, createStageCutsceneHost, cutsceneLength, dollyPointAt, easeValue, evaluateCameraPose, evaluateCutscene, itemsBetween, lerpPose, lerpVec3, previousShot, sampleDollyPath, sceneAt, setCutsceneTransitionShaders, shotAt } from './cinematics.js';
28
+ export { D as DEFAULT_SNAP_SETTINGS, w as DebugEntityResolver, v as DebugTools, S as SnapSettings, T as TRANSFORM_TOOLS, x as TransformTool, d as debugState, k as getHoveredEntity, j as getHoveredEntityId, e as getSelectedEntity, g as getSelectedEntityId, h as getSelectedEntityIds, m as getSnapSettings, t as isPickMode, u as isTransformTool, r as registerDebugEntityResolver, l as resolveDebugEntity, p as setAddType, s as setDebugTool, o as setGridVisible, i as setHoveredEntityId, a as setPaused, q as setPickMode, b as setSelectedEntity, c as setSelectedEntityId, f as setSelectedEntityIds, n as setSnapSettings } from './debug-state-Cg3f5FB6.js';
25
29
  export { ConstructionGrid, EntityFocusContext, EntityThumbnailCache, EntityThumbnailCacheEntry, EntityThumbnailResult, GizmoAxis, GizmoDelta, GizmoMode, GizmoRay, Quat, TransformGizmo, closestAxisValue, degreesToRadians, entityThumbnailCache, eulerToQuaternion, focusEntity, intersectPlane, quaternionToEuler, radiansToDegrees, registerEntityFocusContext, snapScale, snapToIncrement, snapVec3 } from './debug.js';
26
- export { GameBridge, GameBridgeHost } from './bridge.js';
27
- export { BRIDGE_READY_EVENT, BridgeChannel, BridgeDebugTool, BridgeHandler, GameLoadingPayload as BridgeLoadingPayload, BridgeMessageType, BridgeMessages, BridgeVec3, EditorToGameMessages, EntityApplySwatchPayload, EntitySummaryPayload, EntityThumbnailPayload, GameConfigPayload, GameToEditorMessages, GameVariablePayload, StageConfigPayload, StageSnapshotPayload, ZylemBridge, announceBridgeReady, getZylemBridge } from '@zylem/bridge';
30
+ export { S as SELECTION_BOUNDS_MARGIN, a as SELECTION_THIN_AXIS_FRACTION, c as SELECTION_THIN_AXIS_MAX, b as SELECTION_THIN_AXIS_MIN, d as SelectionBoundsProvider, m as measureObjectSelectionBounds, p as padSelectionBounds, r as resolveSelectionBounds } from './selection-bounds-BKmSo9aG.js';
31
+ export { GameBridge, GameBridgeHost, SwatchApplyOutcome } from './bridge.js';
32
+ export { BRIDGE_READY_EVENT, BridgeChannel, BridgeDebugTool, BridgeHandler, GameLoadingPayload as BridgeLoadingPayload, BridgeMessageType, BridgeMessages, BridgeNdc, BridgeVec3, CameraPosePayload, CutsceneLoadPayload, CutscenePlaybackState, CutsceneStatusPayload, CutsceneViewPayload, EditorToGameMessages, EntityApplySwatchPayload, EntityPickPayload, EntityPickResultPayload, EntitySummaryPayload, EntitySwatchAppliedPayload, EntityThumbnailPayload, GameConfigPayload, GameToEditorMessages, GameVariablePayload, StageConfigPayload, StageSnapshotPayload, SwatchApplyFailureReason, SwatchApplyResult, SwatchKind, SwatchSpec, ZylemBridge, announceBridgeReady, applySwatchesToSelection, getZylemBridge } from '@zylem/bridge';
28
33
  export { ZylemGameElement, ZylemGameState } from './web-components.js';
29
34
  export { a as SimulationBody, S as SimulationStepClock } from './simulation-body-zQw-emOr.js';
30
35
  export { RuntimeBodyOptions, RuntimeColliderOptions, RuntimeCollisionBundle, buildBoxCollider, buildCapsuleCollider, buildConvexHullCollider, buildCylinderCollider, buildHeightfieldCollider, buildRuntimeBody, buildSphereCollider, buildTrimeshCollider, bundleRuntimeCollision } from './runtime.js';
@@ -40,3 +45,4 @@ import 'three/webgpu';
40
45
  import '@zylem/behaviors/particle-emitter';
41
46
  import 'three/addons/lines/webgpu/Line2.js';
42
47
  import 'mitt';
48
+ import 'tone';
package/dist/public.js CHANGED
@@ -1 +1 @@
1
- import{a as s,b as n,c as l,d as S,e as h,f as y,g as L,h as v,i as Z,j as b,k as g,l as u,m as T,n as j,o as F,p as W,q as k,r as w,s as z,t as B,u as D,v as E,w as G}from"./chunk-QB3NL7VQ.js";import"./chunk-BIGH6D34.js";import"./chunk-MSCVL5OK.js";import{a as Zp,b as bp,c as gp}from"./chunk-HNCTOJP7.js";import{a as up}from"./chunk-34MYRTRP.js";import{a as Tp,b as jp,c as Fp,d as Wp,e as kp,f as wp,g as zp,h as Bp,i as Dp,j as Ep,k as Gp,l as Mp,m as Np,n as Op,o as Pp,p as Vp}from"./chunk-47DG7I7M.js";import{A as nf,B as lf,C as Sf,a as qp,b as Ap,c as Cp,d as Hp,e as Ip,f as Jp,g as Kp,h as Qp,i as Rp,j as Up,k as Xp,l as Yp,m as _p,n as $p,o as of,p as rf,q as ef,r as tf,s as mf,t as af,u as pf,v as ff,w as xf,x as df,y as cf,z as sf}from"./chunk-JNFFTNMH.js";import{a as Wo,b as ko,c as wo,d as zo,e as Po,f as _e,g as $e,h as ct,i as st,j as nt,k as lt,l as St,m as ht,n as yt,o as Lt}from"./chunk-F5LROYZL.js";import{a as Fo,c as ye,d as Le,e as ve,f as We,g as ke,h as Pe,i as Ve,k as qe,l as Ae,m as Ce,n as He,o as Ie,p as Je,q as Ke,r as Qe,s as Re,t as Xe,v as Ye}from"./chunk-IBJLPJLE.js";import{a as he}from"./chunk-7GYFZKK7.js";import{a as so,b as no}from"./chunk-Q2YDBMVY.js";import{c as Ge,d as Me,e as Ne,f as Oe}from"./chunk-BCFFS3FP.js";import"./chunk-QDQ4QMAI.js";import"./chunk-AE3CTVHY.js";import{f as Xo}from"./chunk-ZTYNZ2N2.js";import{a as Ao,b as Co,c as Ho,d as Io,e as Jo,f as Ko,g as Qo,h as Ro,i as Uo}from"./chunk-CBUQBP2U.js";import{A as co,a as C,b as H,c as I,d as J,e as K,f as Q,h as R,j as U,l as X,m as Y,n as _,o as $,p as oo,q as ro,r as eo,s as to,t as mo,u as ao,v as po,w as fo,y as xo,z as io}from"./chunk-EVMLNMGU.js";import{b as ue}from"./chunk-WBQ5TNRZ.js";import{a as vt,b as Zt,c as bt,d as gt,e as ut}from"./chunk-GHJQ2HKI.js";import{a as ot,b as rt,c as et,d as tt,e as mt,f as at,g as pt,h as ft,i as xt,j as it,l as dt}from"./chunk-YOVE25NW.js";import{a as Ze,b as be,c as ge,d as Te,e as je,f as Fe}from"./chunk-MXO4VGDB.js";import{A as ee,B as te,C as me,D as ae,E as pe,F as fe,G as xe,H as ie,I as de,J as ce,K as se,L as ne,M as le,N as Se,b as zr,c as Br,d as Dr,e as Er,f as Gr,g as Mr,h as Nr,i as Or,j as Pr,k as Vr,l as qr,m as Ar,n as Cr,o as Hr,p as Ir,q as Jr,r as Kr,s as Qr,t as Rr,u as Ur,v as Xr,w as Yr,x as _r,y as $r,z as re}from"./chunk-BMRFDDMR.js";import{c as br,d as gr,e as ur,f as Tr,g as jr,h as Fr,i as Wr,j as kr,u as wr,z as oe}from"./chunk-SAQA4SXW.js";import{a as o,b as r,h as e,i as t,k as m,l as a,m as p,n as f,o as x,p as i,q as d,r as c}from"./chunk-7NYP4YAG.js";import{a as Vo,b as qo}from"./chunk-AIQ6IVT5.js";import"./chunk-QXVH6POE.js";import{b as Zr}from"./chunk-EVYHPR3J.js";import{$ as um,$a as ua,A as Xt,Aa as Xm,B as Yt,Ba as Ym,C as _t,Ca as _m,D as $t,Da as $m,E as om,Ea as oa,F as rm,Fa as ra,G as em,Ga as ea,H as tm,Ha as ta,I as mm,Ia as ma,J as am,Ja as aa,K as pm,Ka as pa,L as fm,La as fa,M as xm,Ma as xa,N as im,Na as ia,O as dm,Oa as da,P as cm,Pa as ca,Q as sm,Qa as sa,R as nm,Ra as na,S as lm,Sa as la,T as Sm,Ta as Sa,U as hm,Ua as ha,V as ym,Va as ya,W as Lm,Wa as La,X as vm,Xa as va,Y as Zm,Ya as Za,Z as bm,Za as ba,_ as gm,_a as ga,a as Tt,aa as Tm,ab as Ta,b as jt,ba as jm,bb as ja,c as Ft,ca as Fm,cb as Fa,d as Wt,da as Wm,db as Wa,e as kt,ea as km,eb as ka,f as wt,fa as wm,fb as wa,g as zt,ga as zm,gb as za,h as Bt,ha as Bm,hb as Ba,i as Dt,ia as Dm,ib as Da,j as Et,ja as Em,k as Gt,ka as Gm,l as Mt,la as Mm,m as Nt,ma as Nm,n as Ot,na as Om,o as Pt,oa as Pm,p as Vt,pa as Vm,q as qt,qa as qm,r as At,ra as Am,s as Ct,sa as Cm,t as Ht,ta as Hm,u as It,ua as Im,v as Jt,va as Jm,w as Kt,wa as Km,x as Qt,xa as Qm,y as Rt,ya as Rm,z as Ut,za as Um}from"./chunk-XK63E4SX.js";import{a as Ea,b as Ga,c as Ma}from"./chunk-ZRT3ZQVH.js";import{a as Na,b as Oa,c as Pa,d as Va}from"./chunk-WQ3WMMZD.js";import{h as we,i as ze,j as Be,k as De,l as Ee}from"./chunk-D2PATZCC.js";import{e as M,f as N,g as O,h as P,i as V,j as q,m as A}from"./chunk-4QLJUQSJ.js";import{a as Yo,b as _o,c as $o,d as or,g as rr,h as er,i as tr,j as mr}from"./chunk-7WRQ2UAN.js";import{A as sp,B as np,C as lp,D as Sp,E as hp,a as qa,b as Aa,c as Ca,d as Ha,e as Ia,f as Ja,g as Ka,h as Qa,i as Ra,j as Ua,k as Xa,l as Ya,m as _a,n as $a,o as op,p as rp,q as ep,r as tp,s as mp,t as ap,u as pp,v as fp,w as xp,x as ip,y as dp,z as cp}from"./chunk-IPWUDOV5.js";import{a as Ue}from"./chunk-BH53MBAZ.js";import{a as ar,b as pr,c as fr,d as xr,e as ir,f as dr,g as cr,h as sr,i as nr,j as lr,k as Sr,l as hr,m as yr,n as Lr,o as vr}from"./chunk-XRP4JJXL.js";import{a as yp,b as Lp,c as vp}from"./chunk-7QF6YTEZ.js";import"./chunk-ORIDWL3T.js";import{a as Bo,b as Do,c as Eo,d as Go,e as Mo,f as No,g as Oo}from"./chunk-PCFF4LLO.js";import{a as lo,b as So,c as ho,d as yo,e as Lo,f as vo,g as Zo,h as bo,i as go,j as uo,k as To,l as jo}from"./chunk-UG22Z42P.js";export{Ze as ACTOR_TYPE,Wo as AspectRatio,Nr as BOX_TYPE,gp as BRIDGE_READY_EVENT,Tt as BoundaryRicochet3DCoordinator,jt as BoundaryRicochetCoordinator,Cr as CONE_TYPE,Rr as CYLINDER_TYPE,Je as CameraManager,qe as CameraPipeline,Ke as CameraWrapper,ff as ColorJsonSchema,Ge as ConstructionGrid,Ft as CooldownBehavior,I as DEFAULT_SNAP_SETTINGS,re as DISK_TYPE,Wt as Destructible3DBehavior,kt as DestructibleMesh,Qp as EntityJsonSchema,Ap as EntitySchema,so as EntityThumbnailCache,Vo as EventEmitterDelegate,Te as FOG_TYPE,wt as FirstPersonBehavior,zt as FirstPersonEvent,Bt as FirstPersonFSM,He as FirstPersonPerspective,Gt as FirstPersonPresentation,Dt as FirstPersonShooterCoordinator,Et as FirstPersonState,Ce as Fixed2DPerspective,c as Fn,Mt as FractureOptions,ct as Game,Xo as GameBridge,Sf as GameConfigJsonSchema,lf as GameDeviceConfigJsonSchema,pf as GameInputConfigSchema,af as GameInputPlayerConfigSchema,Ma as Howl,Nt as Jumper2DBehavior,Ot as Jumper2DEvent,Pt as Jumper2DFSM,Vt as Jumper2DState,qt as Jumper3DBehavior,At as Jumper3DEvent,Ct as Jumper3DFSM,Ht as Jumper3DState,Up as KeyboardMappingSchema,ne as LIGHT_TYPE,pt as LINE_TYPE,Jp as LineEntityDataSchema,mf as MouseConfigSchema,Xp as MouseMappingSchema,It as MultidirectionalSpaceShooterCoordinator,vt as PARTICLE_SYSTEM_TYPE,Yr as PILL_TYPE,me as PLANE_TYPE,Jr as PYRAMID_TYPE,Jt as ParticleEmitterBehavior,Ve as Perspectives,Kt as Platformer2DBehavior,Qt as Platformer2DEvent,Rt as Platformer2DFSM,Ut as Platformer2DState,Xt as Platformer3DBehavior,Yt as Platformer3DEvent,_t as Platformer3DFSM,$t as Platformer3DState,de as RECT_TYPE,ua as RUNTIME_BOUNDARY_2D_BEHAVIOR_KEY,Ta as RUNTIME_DYNAMIC_CIRCLE_BODY_2D_BEHAVIOR_KEY,ja as RUNTIME_GOAL_ZONE_2D_BEHAVIOR_KEY,Fa as RUNTIME_PLAYER_INPUT_2D_BEHAVIOR_KEY,Wa as RUNTIME_RICOCHET_2D_BEHAVIOR_KEY,ka as RUNTIME_TRIGGER_REGION_2D_BEHAVIOR_KEY,We as RenderBundleManager,ke as RenderStrategyManager,nf as ResolutionInputSchema,om as Ricochet2DBehavior,rm as Ricochet2DEvent,em as Ricochet2DFSM,tm as Ricochet2DState,mm as Ricochet3DBehavior,am as Ricochet3DEvent,pm as Ricochet3DFSM,fm as Ricochet3DState,ya as RuntimeBoundary2DBehavior,La as RuntimeDynamicCircleBody2DBehavior,va as RuntimeGoalZone2DBehavior,Za as RuntimePlayerInput2DBehavior,ba as RuntimeRicochet2DBehavior,ga as RuntimeTriggerRegion2DBehavior,Vr as SPHERE_TYPE,tt as SPRITE_TYPE,lt as STAGE_STATE_CHANGE,xm as ScreenVisibilityBehavior,im as ScreenVisibilityFSM,dm as ScreenWrapBehavior,cm as ScreenWrapEvent,sm as ScreenWrapFSM,nm as ScreenWrapState,lm as Shooter2DBehavior,ue as SimulationBody,Kp as SpriteEntityDataSchema,cf as StageAssetLoaderConfigSchema,Ep as StageBodyKind,Gp as StageBoundaryDim,sf as StageConfigJsonSchema,Mp as StageEventType,df as StageGLTFAssetLoaderConfigSchema,Rp as StageJsonSchema,$e as StageManager,Np as StageRicochetDim,Op as StageRicochetReflection,Cp as StageSchema,Pp as StageTopDownPlane,ot as TEXT_TYPE,C as TRANSFORM_TOOLS,Hp as TextEntityDataSchema,Ae as ThirdPersonPerspective,Sm as ThrusterBehavior,hm as ThrusterEvent,ym as ThrusterFSM,Lm as ThrusterState,vm as TopDownMovementBehavior,Zm as TopDownShooterCoordinator,Oe as TransformGizmo,_o as VEC2_ONE,Yo as VEC2_ZERO,or as VEC3_ONE,$o as VEC3_ZERO,xf as Vec3ComponentsSchema,qp as Vector2Schema,Ip as Vector3TupleSchema,$p as VirtualTouchButtonConfigSchema,rf as VirtualTouchButtonsConfigSchema,tf as VirtualTouchConfigSchema,of as VirtualTouchJoystickConfigSchema,ef as VirtualTouchJoysticksConfigSchema,_p as VirtualTouchPositionSchema,Yp as VirtualTouchStyleSchema,bm as WorldBoundary2DBehavior,gm as WorldBoundary2DEvent,um as WorldBoundary2DFSM,Tm as WorldBoundary2DState,jm as WorldBoundary3DBehavior,Fm as WorldBoundary3DEvent,Wm as WorldBoundary3DFSM,km as WorldBoundary3DState,fe as ZONE_TYPE,be as ZylemActor,Or as ZylemBox,Hr as ZylemCone,Ur as ZylemCylinder,ee as ZylemDisk,je as ZylemFog,up as ZylemGameElement,le as ZylemLight,xt as ZylemLine,Zt as ZylemParticleSystem,_r as ZylemPill,ae as ZylemPlane,Kr as ZylemPyramid,ce as ZylemRect,qr as ZylemSphere,mt as ZylemSprite,rt as ZylemText,xe as ZylemZone,u as abs,bp as announceBridgeReady,Ue as applyTransformChanges,g as asin,b as atan,wa as bindRuntimeDynamicCircleBody2DHandle,br as boxCollision,zr as boxMesh,jp as buildBoxCollider,Wp as buildCapsuleCollider,wp as buildConvexHullCollider,kp as buildCylinderCollider,Bp as buildHeightfieldCollider,Tp as buildRuntimeBody,Fp as buildSphereCollider,zp as buildTrimeshCollider,Dp as bundleRuntimeCollision,Ja as callFunc,L as clamp,A as clearGlobalSubscriptions,Me as closestAxisValue,wm as computeWorldBoundary2DHits,zm as computeWorldBoundary3DHits,ur as coneCollision,Dr as coneMesh,Z as cos,wr as create,ge as createActor,s as createBackgroundShader,Pr as createBox,Qe as createCamera,Ir as createCone,gt as createCooldownIcon,Xr as createCylinder,te as createDisk,oe as createEntity,dt as createEntityFactory,Bm as createFirstPersonInputComponent,Dm as createFirstPersonMovementComponent,Em as createFirstPersonStateComponent,Fe as createFog,yt as createFollowTarget,st as createGame,N as createGlobal,Gm as createJumpConfig2D,Mm as createJumpConfig3D,Nm as createJumpInput2D,Om as createJumpInput3D,Pm as createJumpState2D,Vm as createJumpState3D,Se as createLight,it as createLine,m as createNodeMaterialFromTSL,bt as createParticleSystem,Ie as createPerspective,qm as createPhysicsBodyComponent,$r as createPill,pe as createPlane,Am as createPlatformer2DInputComponent,Cm as createPlatformer2DMovementComponent,Hm as createPlatformer2DStateComponent,Im as createPlatformer3DInputComponent,Jm as createPlatformer3DMovementComponent,Km as createPlatformer3DStateComponent,Qr as createPyramid,se as createRect,Qm as createShooter2DStateComponent,Vp as createSimulation,Ar as createSphere,at as createSprite,Ye as createStage,et as createText,Rm as createThrusterInputComponent,Um as createThrusterMovementComponent,Xm as createThrusterStateComponent,Ym as createTopDownMovementComponent,_m as createTopDownMovementInputComponent,$m as createTopDownMovementStateComponent,oa as createTransformComponent,op as createTransformStore,ze as createVariable,ie as createZone,he as crossfadeTransitionShader,jr as cylinderCollision,Gr as cylinderMesh,J as debugState,Oo as defaultTouchControls,ra as defineBehavior,Ro as degreesToRadians,Ia as delay,ut as destroy,ht as dispatchStageState,B as dot,za as emitRuntimeGoal,Ba as emitRuntimeRicochet,Da as emitRuntimeTriggerRegionEnter,nt as entitySpawner,no as entityThumbnailCache,Ho as eulerToQuaternion,T as exp,Ka as fadeOpacity,ea as fireCooldown,ta as fireShooter2DIfRequested,d as float,w as floor,Co as focusEntity,z as fract,Po as gameConfig,ma as getCooldown,aa as getCooldownStore,ko as getDisplayAspect,pa as getEntityFacingAngle2D,O as getGlobal,q as getGlobals,io as getHoveredEntity,po as getHoveredEntityId,ip as getPosition,wo as getPresetResolution,vr as getRotation,xo as getSelectedEntity,_ as getSelectedEntityId,oo as getSelectedEntityIds,eo as getSnapSettings,Be as getVariable,dp as getVelocity,Zp as getZylemBridge,Na as globalChange,Oa as globalChanges,fa as hasAnyWorldBoundary2DHit,xa as hasAnyWorldBoundary3DHit,St as initStageStateDispatcher,Ne as intersectPlane,t as isGLSLShader,ve as isManagedRenderEntity,Y as isPickMode,e as isTSLShader,H as isTransformTool,Fo as isWebGPUSupported,Go as joystickBaseSvg,Mo as joystickThumbSvg,D as length,W as max,jo as mergeInputConfigs,k as min,h as mix,G as mod,rp as move,Aa as moveBy,xp as moveForwardXY,Ca as moveTo,ep as moveX,ap as moveXY,pp as moveXZ,tp as moveY,mp as moveZ,S as normalize,rr as normalizeVec2,er as normalizeVec3,o as objectVertexShader,P as onGlobalChange,V as onGlobalChanges,Ra as onPress,Ua as onRelease,De as onVariableChange,Ee as onVariableChanges,Zr as packCollisionGroups,Ya as parallel,zo as parseResolution,ia as particleEffect,da as particlePresets,ft as pickZylemLine,Fr as pillCollision,Mr as pillMesh,Ga as pingPongBeep,Wr as planeCollision,l as positionWorld,n as positionWorldDirection,j as pow,Tr as pyramidCollision,Er as pyramidMesh,Io as quaternionToEuler,Uo as radiansToDegrees,ca as registerCooldown,K as registerDebugEntityResolver,Ao as registerEntityFocusContext,_a as repeat,$a as repeatForever,sa as resetCooldown,qa as resetEntityOpacity,fp as resetVelocity,na as resolveAim2D,Eo as resolveButtonAccent,Q as resolveDebugEntity,ye as resolveRenderCategory,Do as resolveTouchTheme,Ea as ricochetSound,Ha as rotateBy,fr as rotateEuler,ar as rotateInDirection,ir as rotateX,xr as rotateY,pr as rotateYEuler,dr as rotateZ,vp as screenCenterLookDeltas,Lp as screenCenterLookTargets,Xa as sequence,ao as setAddType,Lt as setCameraFeed,U as setDebugTool,M as setGlobal,mo as setGridVisible,fo as setHoveredEntityId,R as setPaused,X as setPickMode,cp as setPosition,sp as setPositionX,np as setPositionY,lp as setPositionZ,yr as setRotation,Lr as setRotationDegrees,lr as setRotationDegreesX,sr as setRotationDegreesY,hr as setRotationDegreesZ,nr as setRotationX,cr as setRotationY,Sr as setRotationZ,co as setSelectedEntity,$ as setSelectedEntityId,ro as setSelectedEntityIds,to as setSnapSettings,Pe as setStageFrameProfilerEnabled,we as setVariable,yp as shortestAngleDelta,v as sin,y as smoothstep,Qo as snapScale,Jo as snapToIncrement,Ko as snapVec3,gr as sphereCollision,Br as sphereMesh,Re as stageConfig,_e as stageState,r as standardShader,F as step,Qa as throttle,la as tickCooldowns,f as time,tr as toThreeVector2,mr as toThreeVector3,No as touchButtonSvg,Bo as touchThemes,a as uniform,Sa as updateBoundaryRicochet,lo as useArrowsForAxes,ho as useArrowsForDirections,So as useArrowsForSecondaryAxes,ha as useBehavior,vo as useIJKLForAxes,Zo as useIJKLForDirections,uo as useMouse,bo as useMouseLook,go as useScreenCenterLook,To as useVirtualControls,Lo as useWASDForAxes,yo as useWASDForDirections,Le as usesManagedRenderPath,p as uv,Pa as variableChange,Va as variableChanges,E as vec2,x as vec3,i as vec4,Xe as vessel,hp as wrapAround3D,Sp as wrapAroundXY,kr as zoneCollision,qo as zylemEventBus};
1
+ import{A as zx,B as Bx,C as Dx,a as mx,b as px,c as ax,d as fx,e as xx,f as ix,g as dx,h as cx,i as sx,j as nx,k as lx,l as Sx,m as hx,n as yx,o as Lx,p as vx,q as Zx,r as bx,s as gx,t as ux,u as Tx,v as jx,w as Fx,x as Wx,y as kx,z as wx}from"./chunk-KSEP7AUF.js";import"./chunk-ORIDWL3T.js";import{a as s,b as n,c as l,d as S,e as h,f as y,g as L,h as v,i as Z,j as b,k as g,l as u,m as T,n as j,o as F,p as W,q as k,r as w,s as z,t as B,u as D,v as E,w as G}from"./chunk-QB3NL7VQ.js";import"./chunk-BIGH6D34.js";import"./chunk-ELQN62PQ.js";import{a as Of,b as Pf,c as Vf,d as qf}from"./chunk-FZNEWOC5.js";import{a as Af}from"./chunk-4CZZZCFB.js";import{a as Cf,b as Hf,c as If,d as Jf,e as Kf,f as Qf,g as Rf,h as Uf,i as Xf,j as Yf,k as _f,l as $f,m as ox,n as rx,o as ex,p as tx}from"./chunk-47DG7I7M.js";import{a as Wo,b as ko,c as wo,d as zo,e as Po,f as Np,g as Op,h as Up,i as Xp,j as Yp,k as _p,l as $p,m as oa,n as ra,o as ea}from"./chunk-2MHB4X6B.js";import{a as Fo,c as ym,d as Lm,e as vm,f as cp,g as sp,h as gp,i as up,k as Tp,l as jp,m as Fp,n as Wp,o as kp,p as wp,q as zp,r as Bp,s as Dp,t as Gp,v as Mp}from"./chunk-LSFWI46T.js";import{a as Bo,b as Do,c as Eo,d as Go,e as Mo,f as No,g as Oo}from"./chunk-PCFF4LLO.js";import{a as so,b as no}from"./chunk-Q2YDBMVY.js";import{c as Lp,d as vp,e as Zp,f as bp}from"./chunk-BCFFS3FP.js";import"./chunk-VSFULLND.js";import"./chunk-2HSR5XDQ.js";import{g as Xo}from"./chunk-HISTSRAL.js";import{a as Ao,b as Co,c as Ho,d as Io,e as Jo,f as Ko,g as Qo,h as Ro,i as Uo}from"./chunk-BQRMYLYD.js";import{B as xo,C as io,D as co,a as C,b as H,c as I,d as J,e as K,f as Q,h as R,j as U,l as X,m as Y,n as _,o as $,p as oo,q as ro,u as eo,v as to,w as mo,x as po,y as ao,z as fo}from"./chunk-GPCSX3M6.js";import{b as fp}from"./chunk-WBQ5TNRZ.js";import{a as ta,b as ma,c as pa,d as aa,e as fa}from"./chunk-K3NNXZIJ.js";import{a as Pp,b as Vp,c as qp,d as Ap,e as Cp,f as Hp,g as Ip,h as Jp,i as Kp,j as Qp,l as Rp}from"./chunk-LI43BZQN.js";import{a as mp,b as pp,c as ap,d as xp,e as ip,f as dp}from"./chunk-YQS7CGXE.js";import{A as ee,B as te,C as me,D as pe,E as ae,F as le,G as Se,H as he,I as ye,J as Le,K as ve,L as Ze,M as be,N as ge,b as zr,c as Br,d as Dr,e as Er,f as Gr,g as Mr,h as Nr,i as Or,j as Pr,k as Vr,l as qr,m as Ar,n as Cr,o as Hr,p as Ir,q as Jr,r as Kr,s as Qr,t as Rr,u as Ur,v as Xr,w as Yr,x as _r,y as $r,z as re}from"./chunk-STVEILJJ.js";import{c as br,d as gr,e as ur,f as Tr,g as jr,h as Fr,i as Wr,j as kr,u as wr,z as oe}from"./chunk-KP6DLLJO.js";import{c as o,d as r,h as e,i as t,k as m,l as p,m as a,n as f,o as x,p as i,q as d,r as c}from"./chunk-6FGXC4T6.js";import{a as Vo,b as qo}from"./chunk-AIQ6IVT5.js";import"./chunk-QXVH6POE.js";import{a as fe,b as xe,c as ie,d as de,e as ce,f as se,g as ne}from"./chunk-UUOPT2N4.js";import{b as Zr}from"./chunk-EVYHPR3J.js";import{a as xa,b as ia,c as da,d as ca,e as sa,f as na,g as la,h as Sa,i as ha,j as ya,k as La,l as va,m as Za,n as ba,o as ga,p as ua}from"./chunk-6XFXPIVB.js";import{$ as bt,A as Re,Aa as Rt,B as Ue,Ba as Ut,C as Xe,Ca as Xt,D as Ye,Da as Yt,E as _e,Ea as _t,F as $e,Fa as $t,G as ot,Ga as om,H as rt,Ha as rm,I as et,Ia as em,J as tt,Ja as tm,K as mt,Ka as mm,L as pt,La as pm,M as at,Ma as am,N as ft,Na as fm,O as xt,Oa as xm,P as it,Pa as im,Q as dt,Qa as dm,R as ct,Ra as cm,S as st,Sa as sm,T as nt,Ta as nm,U as lt,Ua as lm,V as St,Va as Sm,W as ht,X as yt,Y as Lt,Z as vt,_ as Zt,aa as gt,b as ue,ba as ut,c as Te,ca as Tt,d as je,da as jt,e as Fe,ea as Ft,f as We,fa as Wt,g as ke,ga as kt,h as we,ha as wt,i as ze,ia as zt,j as Be,ja as Bt,k as De,ka as Dt,l as Ee,la as Et,m as Ge,ma as Gt,n as Me,na as Mt,o as Ne,oa as Nt,p as Oe,pa as Ot,q as Pe,qa as Pt,r as Ve,ra as Vt,s as qe,sa as qt,t as Ae,ta as At,u as Ce,ua as Ct,v as He,va as Ht,w as Ie,wa as It,x as Je,xa as Jt,y as Ke,ya as Kt,z as Qe,za as Qt}from"./chunk-VUJXR5K5.js";import{a as Ta,b as ja,c as Oa,d as Pa,e as Va,f as qa}from"./chunk-ZZO4CKRU.js";import{a as Fa,b as Wa,c as ka,d as wa,e as za,f as Ba,g as Da,h as Ea,i as Ga,j as Ma,k as Na}from"./chunk-NVVLLWIM.js";import{a as Um,c as Xm,d as Ym,e as _m,f as $m,g as op}from"./chunk-2PFNNGTV.js";import"./chunk-VMXSE3EC.js";import{a as Aa,b as Ca,c as Ha,d as Ia,e as Ja,f as Ka,g as Qa,h as Ra,i as Ua,j as Xa,k as Ya}from"./chunk-YNX3Q3CL.js";import{a as Zm,b as bm,c as gm,d as um,e as Tm,f as jm,g as Fm,h as Wm,i as km,j as wm,k as zm,l as Bm,m as Dm,n as Em,o as Gm,p as Mm,q as Nm,r as rp,s as ep,t as tp}from"./chunk-2XMG3NJS.js";import{a as hm}from"./chunk-7GYFZKK7.js";import{a as Om,b as Pm,c as Vm,d as qm,e as Am,f as Cm,g as Hm,h as Im,i as Jm,j as Km,k as Qm,l as Rm}from"./chunk-QGIYILYI.js";import{a as _a,b as $a,c as of,d as rf}from"./chunk-WQ3WMMZD.js";import{h as np,i as lp,j as Sp,k as hp,l as yp}from"./chunk-D2PATZCC.js";import{e as M,f as N,g as O,h as P,i as V,j as q,m as A}from"./chunk-4QLJUQSJ.js";import{a as Yo,b as _o,c as $o,d as or,g as rr,h as er,i as tr,j as mr}from"./chunk-7WRQ2UAN.js";import{A as wf,B as zf,C as Bf,D as Df,E as Ef,a as ef,b as tf,c as mf,d as pf,e as af,f as ff,g as xf,h as df,i as cf,j as sf,k as nf,l as lf,m as Sf,n as hf,o as yf,p as Lf,q as vf,r as Zf,s as bf,t as gf,u as uf,v as Tf,w as jf,x as Ff,y as Wf,z as kf}from"./chunk-IPWUDOV5.js";import{a as Ep}from"./chunk-BH53MBAZ.js";import{a as pr,b as ar,c as fr,d as xr,e as ir,f as dr,g as cr,h as sr,i as nr,j as lr,k as Sr,l as hr,m as yr,n as Lr,o as vr}from"./chunk-XRP4JJXL.js";import{a as Gf,b as Mf,c as Nf}from"./chunk-7QF6YTEZ.js";import{a as lo,b as So,c as ho,d as yo,e as Lo,f as vo,g as Zo,h as bo,i as go,j as uo,k as To,l as jo}from"./chunk-UG22Z42P.js";import"./chunk-WOT6VMZA.js";export{mp as ACTOR_TYPE,Wo as AspectRatio,Da as AudioClipSchema,Ua as AudioItemSchema,Nr as BOX_TYPE,qf as BRIDGE_READY_EVENT,ue as BoundaryRicochet3DCoordinator,Te as BoundaryRicochetCoordinator,Cr as CONE_TYPE,Zm as CUTSCENE_BEHAVIOR_KEY,Rr as CYLINDER_TYPE,Ha as CameraKeyframeSchema,wp as CameraManager,Tp as CameraPipeline,Ka as CameraShotSchema,zp as CameraWrapper,jx as ColorJsonSchema,Lp as ConstructionGrid,je as CooldownBehavior,bm as CutsceneCameraBehavior,Ia as CutsceneCameraSchema,Ya as CutsceneDefinitionSchema,Qa as CutsceneEventSchema,tp as CutscenePreviewController,Ca as CutsceneSceneSchema,Xa as CutsceneTrackSchema,I as DEFAULT_SNAP_SETTINGS,re as DISK_TYPE,Fe as Destructible3DBehavior,We as DestructibleMesh,Ja as DollyPathSchema,cx as EntityJsonSchema,px as EntitySchema,so as EntityThumbnailCache,Vo as EventEmitterDelegate,Ra as EventItemSchema,xp as FOG_TYPE,ke as FirstPersonBehavior,we as FirstPersonEvent,ze as FirstPersonFSM,Wp as FirstPersonPerspective,Ee as FirstPersonPresentation,Be as FirstPersonShooterCoordinator,De as FirstPersonState,Fp as Fixed2DPerspective,c as Fn,Ge as FractureOptions,Up as Game,Xo as GameBridge,Dx as GameConfigJsonSchema,Bx as GameDeviceConfigJsonSchema,Tx as GameInputConfigSchema,ux as GameInputPlayerConfigSchema,qa as Howl,ka as InstrumentDefinitionSchema,Wa as InstrumentEffectSchema,Fa as InstrumentPresetSchema,Me as Jumper2DBehavior,Ne as Jumper2DEvent,Oe as Jumper2DFSM,Pe as Jumper2DState,Ve as Jumper3DBehavior,qe as Jumper3DEvent,Ae as Jumper3DFSM,Ce as Jumper3DState,nx as KeyboardMappingSchema,Ze as LIGHT_TYPE,Ip as LINE_TYPE,ix as LineEntityDataSchema,gx as MouseConfigSchema,lx as MouseMappingSchema,He as MultidirectionalSpaceShooterCoordinator,Ba as NoteClipSchema,ta as PARTICLE_SYSTEM_TYPE,Yr as PILL_TYPE,me as PLANE_TYPE,Jr as PYRAMID_TYPE,Ie as ParticleEmitterBehavior,up as Perspectives,Je as Platformer2DBehavior,Ke as Platformer2DEvent,Qe as Platformer2DFSM,Re as Platformer2DState,Ue as Platformer3DBehavior,Xe as Platformer3DEvent,Ye as Platformer3DFSM,_e as Platformer3DState,ye as RECT_TYPE,la as RUNTIME_BOUNDARY_2D_BEHAVIOR_KEY,Sa as RUNTIME_DYNAMIC_CIRCLE_BODY_2D_BEHAVIOR_KEY,ha as RUNTIME_GOAL_ZONE_2D_BEHAVIOR_KEY,ya as RUNTIME_PLAYER_INPUT_2D_BEHAVIOR_KEY,La as RUNTIME_RICOCHET_2D_BEHAVIOR_KEY,va as RUNTIME_TRIGGER_REGION_2D_BEHAVIOR_KEY,cp as RenderBundleManager,sp as RenderStrategyManager,zx as ResolutionInputSchema,$e as Ricochet2DBehavior,ot as Ricochet2DEvent,rt as Ricochet2DFSM,et as Ricochet2DState,tt as Ricochet3DBehavior,mt as Ricochet3DEvent,pt as Ricochet3DFSM,at as Ricochet3DState,xa as RuntimeBoundary2DBehavior,ia as RuntimeDynamicCircleBody2DBehavior,da as RuntimeGoalZone2DBehavior,ca as RuntimePlayerInput2DBehavior,sa as RuntimeRicochet2DBehavior,na as RuntimeTriggerRegion2DBehavior,fe as SELECTION_BOUNDS_MARGIN,xe as SELECTION_THIN_AXIS_FRACTION,de as SELECTION_THIN_AXIS_MAX,ie as SELECTION_THIN_AXIS_MIN,Vr as SPHERE_TYPE,Ap as SPRITE_TYPE,_p as STAGE_STATE_CHANGE,Aa as SceneTransitionSchema,ft as ScreenVisibilityBehavior,xt as ScreenVisibilityFSM,it as ScreenWrapBehavior,dt as ScreenWrapEvent,ct as ScreenWrapFSM,st as ScreenWrapState,nt as Shooter2DBehavior,fp as SimulationBody,Ea as SongClipSchema,Na as SongDefinitionSchema,Ma as SongLoopSchema,wa as SongNoteSchema,za as SongTrackSchema,dx as SpriteEntityDataSchema,kx as StageAssetLoaderConfigSchema,Yf as StageBodyKind,_f as StageBoundaryDim,wx as StageConfigJsonSchema,$f as StageEventType,Wx as StageGLTFAssetLoaderConfigSchema,sx as StageJsonSchema,Op as StageManager,ox as StageRicochetDim,rx as StageRicochetReflection,ax as StageSchema,ex as StageTopDownPlane,Pp as TEXT_TYPE,C as TRANSFORM_TOOLS,fx as TextEntityDataSchema,jp as ThirdPersonPerspective,lt as ThrusterBehavior,St as ThrusterEvent,ht as ThrusterFSM,yt as ThrusterState,Ga as TimeSignatureSchema,Lt as TopDownMovementBehavior,vt as TopDownShooterCoordinator,bp as TransformGizmo,_o as VEC2_ONE,Yo as VEC2_ZERO,or as VEC3_ONE,$o as VEC3_ZERO,Fx as Vec3ComponentsSchema,mx as Vector2Schema,xx as Vector3TupleSchema,yx as VirtualTouchButtonConfigSchema,vx as VirtualTouchButtonsConfigSchema,bx as VirtualTouchConfigSchema,Lx as VirtualTouchJoystickConfigSchema,Zx as VirtualTouchJoysticksConfigSchema,hx as VirtualTouchPositionSchema,Sx as VirtualTouchStyleSchema,Zt as WorldBoundary2DBehavior,bt as WorldBoundary2DEvent,gt as WorldBoundary2DFSM,ut as WorldBoundary2DState,Tt as WorldBoundary3DBehavior,jt as WorldBoundary3DEvent,Ft as WorldBoundary3DFSM,Wt as WorldBoundary3DState,le as ZONE_TYPE,pp as ZylemActor,Or as ZylemBox,Hr as ZylemCone,Ur as ZylemCylinder,ee as ZylemDisk,ip as ZylemFog,Af as ZylemGameElement,be as ZylemLight,Kp as ZylemLine,ma as ZylemParticleSystem,_r as ZylemPill,pe as ZylemPlane,Kr as ZylemPyramid,Le as ZylemRect,qr as ZylemSphere,Cp as ZylemSprite,Vp as ZylemText,Se as ZylemZone,u as abs,Wm as activeShot,Pf as announceBridgeReady,Vf as applySwatchesToSelection,Ep as applyTransformChanges,g as asin,b as atan,Km as audibleTrackIds,Om as beatsPerBar,Vm as beatsToSeconds,Za as bindRuntimeDynamicCircleBody2DHandle,br as boxCollision,zr as boxMesh,Hf as buildBoxCollider,Jf as buildCapsuleCollider,Qf as buildConvexHullCollider,Kf as buildCylinderCollider,Uf as buildHeightfieldCollider,Cf as buildRuntimeBody,If as buildSphereCollider,Rf as buildTrimeshCollider,Xf as bundleRuntimeCollision,ff as callFunc,Gm as cameraTracks,L as clamp,A as clearGlobalSubscriptions,Rm as clipsAt,vp as closestAxisValue,kt as computeWorldBoundary2DHits,wt as computeWorldBoundary3DHits,ur as coneCollision,Dr as coneMesh,Z as cos,wr as create,ap as createActor,s as createBackgroundShader,Pr as createBox,Bp as createCamera,Ir as createCone,aa as createCooldownIcon,Nm as createCutscenePlayer,Xr as createCylinder,te as createDisk,oe as createEntity,Rp as createEntityFactory,zt as createFirstPersonInputComponent,Bt as createFirstPersonMovementComponent,Dt as createFirstPersonStateComponent,dp as createFog,ra as createFollowTarget,Xp as createGame,N as createGlobal,Um as createInstrument,Et as createJumpConfig2D,Gt as createJumpConfig3D,Mt as createJumpInput2D,Nt as createJumpInput3D,Ot as createJumpState2D,Pt as createJumpState3D,ge as createLight,Qp as createLine,m as createNodeMaterialFromTSL,pa as createParticleSystem,kp as createPerspective,Vt as createPhysicsBodyComponent,$r as createPill,ae as createPlane,qt as createPlatformer2DInputComponent,At as createPlatformer2DMovementComponent,Ct as createPlatformer2DStateComponent,Ht as createPlatformer3DInputComponent,It as createPlatformer3DMovementComponent,Jt as createPlatformer3DStateComponent,Qr as createPyramid,ve as createRect,Kt as createShooter2DStateComponent,tx as createSimulation,$m as createSongPlayer,Ar as createSphere,Hp as createSprite,Mp as createStage,ep as createStageCutsceneHost,qp as createText,Qt as createThrusterInputComponent,Rt as createThrusterMovementComponent,Ut as createThrusterStateComponent,Xt as createTopDownMovementComponent,Yt as createTopDownMovementInputComponent,_t as createTopDownMovementStateComponent,$t as createTransformComponent,yf as createTransformStore,lp as createVariable,he as createZone,hm as crossfadeTransitionShader,Mm as cutsceneLength,jr as cylinderCollision,Gr as cylinderMesh,Im as dbToGain,J as debugState,Oo as defaultTouchControls,om as defineBehavior,Ro as degreesToRadians,af as delay,fa as destroy,oa as dispatchStageState,wm as dollyPointAt,B as dot,gm as easeValue,ba as emitRuntimeGoal,ga as emitRuntimeRicochet,ua as emitRuntimeTriggerRegionEnter,Pa as encodeWav,Va as encodeWavBlob,Ym as ensureAudio,Yp as entitySpawner,no as entityThumbnailCache,Ho as eulerToQuaternion,Bm as evaluateCameraPose,Dm as evaluateCutscene,T as exp,xf as fadeOpacity,rm as fireCooldown,em as fireShooter2DIfRequested,d as float,w as floor,Co as focusEntity,z as fract,Jm as gainToDb,Po as gameConfig,op as getActiveSongPlayer,tm as getCooldown,mm as getCooldownStore,ko as getDisplayAspect,pm as getEntityFacingAngle2D,O as getGlobal,q as getGlobals,io as getHoveredEntity,ao as getHoveredEntityId,Ff as getPosition,wo as getPresetResolution,vr as getRotation,xo as getSelectedEntity,_ as getSelectedEntityId,oo as getSelectedEntityIds,eo as getSnapSettings,Sp as getVariable,Wf as getVelocity,Of as getZylemBridge,_a as globalChange,$a as globalChanges,am as hasAnyWorldBoundary2DHit,fm as hasAnyWorldBoundary3DHit,$p as initStageStateDispatcher,Zp as intersectPlane,_m as isAudioReady,t as isGLSLShader,vm as isManagedRenderEntity,Y as isPickMode,e as isTSLShader,H as isTransformTool,Fo as isWebGPUSupported,Em as itemsBetween,Go as joystickBaseSvg,Mo as joystickThumbSvg,D as length,Tm as lerpPose,um as lerpVec3,Xm as loadTone,W as max,se as measureObjectSelectionBounds,jo as mergeInputConfigs,Cm as midiToFrequency,Hm as midiToNoteName,k as min,h as mix,G as mod,Lf as move,tf as moveBy,jf as moveForwardXY,mf as moveTo,vf as moveX,gf as moveXY,uf as moveXZ,Zf as moveY,bf as moveZ,S as normalize,rr as normalizeVec2,er as normalizeVec3,o as objectVertexShader,P as onGlobalChange,V as onGlobalChanges,cf as onPress,sf as onRelease,hp as onVariableChange,yp as onVariableChanges,Zr as packCollisionGroups,ce as padSelectionBounds,lf as parallel,zo as parseResolution,xm as particleEffect,im as particlePresets,Jp as pickZylemLine,Fr as pillCollision,Mr as pillMesh,ja as pingPongBeep,Wr as planeCollision,l as positionWorld,n as positionWorldDirection,j as pow,km as previousShot,Tr as pyramidCollision,Er as pyramidMesh,Io as quaternionToEuler,Uo as radiansToDegrees,dm as registerCooldown,K as registerDebugEntityResolver,Ao as registerEntityFocusContext,Oa as renderSong,Sf as repeat,hf as repeatForever,cm as resetCooldown,ef as resetEntityOpacity,Tf as resetVelocity,sm as resolveAim2D,Eo as resolveButtonAccent,Q as resolveDebugEntity,ym as resolveRenderCategory,ne as resolveSelectionBounds,Do as resolveTouchTheme,Ta as ricochetSound,pf as rotateBy,fr as rotateEuler,pr as rotateInDirection,ir as rotateX,xr as rotateY,ar as rotateYEuler,dr as rotateZ,zm as sampleDollyPath,jm as sceneAt,Qm as scheduleSong,Nf as screenCenterLookDeltas,Mf as screenCenterLookTargets,qm as secondsToBeats,nf as sequence,po as setAddType,ea as setCameraFeed,rp as setCutsceneTransitionShaders,U as setDebugTool,M as setGlobal,mo as setGridVisible,fo as setHoveredEntityId,R as setPaused,X as setPickMode,kf as setPosition,wf as setPositionX,zf as setPositionY,Bf as setPositionZ,yr as setRotation,Lr as setRotationDegrees,lr as setRotationDegreesX,sr as setRotationDegreesY,hr as setRotationDegreesZ,nr as setRotationX,cr as setRotationY,Sr as setRotationZ,co as setSelectedEntity,$ as setSelectedEntityId,ro as setSelectedEntityIds,to as setSnapSettings,gp as setStageFrameProfilerEnabled,np as setVariable,Gf as shortestAngleDelta,Fm as shotAt,v as sin,y as smoothstep,Qo as snapScale,Jo as snapToIncrement,Ko as snapVec3,Pm as songLengthBeats,Am as songLengthSeconds,gr as sphereCollision,Br as sphereMesh,Dp as stageConfig,Np as stageState,r as standardShader,F as step,df as throttle,nm as tickCooldowns,f as time,tr as toThreeVector2,mr as toThreeVector3,No as touchButtonSvg,Bo as touchThemes,p as uniform,lm as updateBoundaryRicochet,lo as useArrowsForAxes,ho as useArrowsForDirections,So as useArrowsForSecondaryAxes,Sm as useBehavior,vo as useIJKLForAxes,Zo as useIJKLForDirections,uo as useMouse,bo as useMouseLook,go as useScreenCenterLook,To as useVirtualControls,Lo as useWASDForAxes,yo as useWASDForDirections,Lm as usesManagedRenderPath,a as uv,of as variableChange,rf as variableChanges,E as vec2,x as vec3,i as vec4,Gp as vessel,Ef as wrapAround3D,Df as wrapAroundXY,kr as zoneCollision,qo as zylemEventBus};
package/dist/runtime.js CHANGED
@@ -1 +1 @@
1
- import{a as c,b as d,c as e,d as f,e as g,f as h,g as i,h as j,i as k,j as l,k as m,l as n,m as o,n as p,o as q,p as r}from"./chunk-47DG7I7M.js";import{b}from"./chunk-WBQ5TNRZ.js";import{b as a}from"./chunk-EVYHPR3J.js";import"./chunk-7WRQ2UAN.js";export{b as SimulationBody,l as StageBodyKind,m as StageBoundaryDim,n as StageEventType,o as StageRicochetDim,p as StageRicochetReflection,q as StageTopDownPlane,d as buildBoxCollider,f as buildCapsuleCollider,h as buildConvexHullCollider,g as buildCylinderCollider,j as buildHeightfieldCollider,c as buildRuntimeBody,e as buildSphereCollider,i as buildTrimeshCollider,k as bundleRuntimeCollision,r as createSimulation,a as packCollisionGroups};
1
+ import{a as c,b as d,c as e,d as f,e as g,f as h,g as i,h as j,i as k,j as l,k as m,l as n,m as o,n as p,o as q,p as r}from"./chunk-47DG7I7M.js";import{b}from"./chunk-WBQ5TNRZ.js";import{b as a}from"./chunk-EVYHPR3J.js";import"./chunk-7WRQ2UAN.js";import"./chunk-WOT6VMZA.js";export{b as SimulationBody,l as StageBodyKind,m as StageBoundaryDim,n as StageEventType,o as StageRicochetDim,p as StageRicochetReflection,q as StageTopDownPlane,d as buildBoxCollider,f as buildCapsuleCollider,h as buildConvexHullCollider,g as buildCylinderCollider,j as buildHeightfieldCollider,c as buildRuntimeBody,e as buildSphereCollider,i as buildTrimeshCollider,k as bundleRuntimeCollision,r as createSimulation,a as packCollisionGroups};