excalibur 0.33.0-alpha.21 → 0.33.0-alpha.23
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/build/dist/{Actions/Action/ActionSequence.d.ts → actions/action/action-sequence.d.ts} +3 -3
- package/build/dist/{Actions/Action/Blink.d.ts → actions/action/blink.d.ts} +2 -2
- package/build/dist/{Actions/Action/CallMethod.d.ts → actions/action/call-method.d.ts} +1 -1
- package/build/dist/{Actions/Action/CurveBy.d.ts → actions/action/curve-by.d.ts} +3 -3
- package/build/dist/{Actions/Action/CurveTo.d.ts → actions/action/curve-to.d.ts} +3 -3
- package/build/dist/{Actions/Action/Delay.d.ts → actions/action/delay.d.ts} +1 -1
- package/build/dist/{Actions/Action/Die.d.ts → actions/action/die.d.ts} +2 -2
- package/build/dist/{Actions/Action/EaseBy.d.ts → actions/action/ease-by.d.ts} +2 -2
- package/build/dist/{Actions/Action/EaseTo.d.ts → actions/action/ease-to.d.ts} +2 -2
- package/build/dist/{Actions/Action/Fade.d.ts → actions/action/fade.d.ts} +2 -2
- package/build/dist/{Actions/Action/Flash.d.ts → actions/action/flash.d.ts} +3 -3
- package/build/dist/{Actions/Action/Follow.d.ts → actions/action/follow.d.ts} +2 -2
- package/build/dist/{Actions/Action/Meet.d.ts → actions/action/meet.d.ts} +2 -2
- package/build/dist/{Actions/Action/MoveBy.d.ts → actions/action/move-by.d.ts} +5 -5
- package/build/dist/{Actions/Action/MoveTo.d.ts → actions/action/move-to.d.ts} +5 -5
- package/build/dist/{Actions/Action/ParallelActions.d.ts → actions/action/parallel-actions.d.ts} +2 -2
- package/build/dist/{Actions/Action/RepeatForever.d.ts → actions/action/repeat-forever.d.ts} +3 -3
- package/build/dist/{Actions/Action/Repeat.d.ts → actions/action/repeat.d.ts} +3 -3
- package/build/dist/{Actions/Action/RotateBy.d.ts → actions/action/rotate-by.d.ts} +3 -3
- package/build/dist/{Actions/Action/RotateTo.d.ts → actions/action/rotate-to.d.ts} +3 -3
- package/build/dist/{Actions/Action/ScaleBy.d.ts → actions/action/scale-by.d.ts} +3 -3
- package/build/dist/{Actions/Action/ScaleTo.d.ts → actions/action/scale-to.d.ts} +3 -3
- package/build/dist/{Actions/ActionContext.d.ts → actions/action-context.d.ts} +15 -15
- package/build/dist/{Actions/ActionQueue.d.ts → actions/action-queue.d.ts} +2 -2
- package/build/dist/{Actions/Action.d.ts → actions/action.d.ts} +1 -1
- package/build/dist/{Actions/Actionable.d.ts → actions/actionable.d.ts} +1 -1
- package/build/dist/{Actions/ActionsComponent.d.ts → actions/actions-component.d.ts} +14 -14
- package/build/dist/{Actions/ActionsSystem.d.ts → actions/actions-system.d.ts} +3 -3
- package/build/dist/actions/index.d.ts +27 -0
- package/build/dist/{Actor.d.ts → actor.d.ts} +27 -27
- package/build/dist/{Camera.d.ts → camera.d.ts} +12 -12
- package/build/dist/{Collision/BodyComponent.d.ts → collision/body-component.d.ts} +13 -13
- package/build/dist/{Collision/BoundingBox.d.ts → collision/bounding-box.d.ts} +5 -5
- package/build/dist/{Collision/ColliderComponent.d.ts → collision/collider-component.d.ts} +12 -12
- package/build/dist/{Collision/Colliders/CircleCollider.d.ts → collision/colliders/circle-collider.d.ts} +11 -11
- package/build/dist/{Collision/Colliders/ClosestLineJumpTable.d.ts → collision/colliders/closest-line-jump-table.d.ts} +4 -4
- package/build/dist/{Collision/Colliders/Collider.d.ts → collision/colliders/collider.d.ts} +15 -15
- package/build/dist/{Collision/Colliders/CollisionJumpTable.d.ts → collision/colliders/collision-jump-table.d.ts} +5 -5
- package/build/dist/{Collision/Colliders/CompositeCollider.d.ts → collision/colliders/composite-collider.d.ts} +11 -11
- package/build/dist/{Collision/Colliders/EdgeCollider.d.ts → collision/colliders/edge-collider.d.ts} +11 -11
- package/build/dist/{Collision/Colliders/PolygonCollider.d.ts → collision/colliders/polygon-collider.d.ts} +11 -11
- package/build/dist/{Collision/Colliders/SeparatingAxis.d.ts → collision/colliders/separating-axis.d.ts} +6 -6
- package/build/dist/{Collision/Colliders/Shape.d.ts → collision/colliders/shape.d.ts} +5 -5
- package/build/dist/{Collision/CollisionSystem.d.ts → collision/collision-system.d.ts} +9 -9
- package/build/dist/{Collision/Detection/CollisionContact.d.ts → collision/detection/collision-contact.d.ts} +4 -4
- package/build/dist/{Collision/Detection/CollisionProcessor.d.ts → collision/detection/collision-processor.d.ts} +10 -10
- package/build/dist/{Collision/Detection/DynamicTreeCollisionProcessor.d.ts → collision/detection/dynamic-tree-collision-processor.d.ts} +13 -13
- package/build/dist/{Collision/Detection/DynamicTree.d.ts → collision/detection/dynamic-tree.d.ts} +5 -5
- package/build/dist/{Collision/Detection/Pair.d.ts → collision/detection/pair.d.ts} +3 -3
- package/build/dist/{Collision/Detection/QuadTree.d.ts → collision/detection/quad-tree.d.ts} +2 -2
- package/build/dist/{Collision/Detection/RayCastHit.d.ts → collision/detection/ray-cast-hit.d.ts} +3 -3
- package/build/dist/{Collision/Detection/RayCastOptions.d.ts → collision/detection/ray-cast-options.d.ts} +2 -2
- package/build/dist/{Collision/Detection/SparseHashGridCollisionProcessor.d.ts → collision/detection/sparse-hash-grid-collision-processor.d.ts} +16 -16
- package/build/dist/{Collision/Detection/SparseHashGrid.d.ts → collision/detection/sparse-hash-grid.d.ts} +3 -3
- package/build/dist/{Collision/Group/CollisionGroupManager.d.ts → collision/group/collision-group-manager.d.ts} +1 -1
- package/build/dist/collision/index.d.ts +38 -0
- package/build/dist/{Collision/Integrator.d.ts → collision/integrator.d.ts} +3 -3
- package/build/dist/{Collision/Island.d.ts → collision/island.d.ts} +2 -2
- package/build/dist/{Collision/MotionSystem.d.ts → collision/motion-system.d.ts} +5 -5
- package/build/dist/{Collision/PhysicsConfig.d.ts → collision/physics-config.d.ts} +5 -5
- package/build/dist/{Collision/PhysicsWorld.d.ts → collision/physics-world.d.ts} +11 -11
- package/build/dist/{Collision/Side.d.ts → collision/side.d.ts} +1 -1
- package/build/dist/{Collision/Solver/ArcadeSolver.d.ts → collision/solver/arcade-solver.d.ts} +4 -4
- package/build/dist/{Collision/Solver/ContactConstraintPoint.d.ts → collision/solver/contact-constraint-point.d.ts} +2 -2
- package/build/dist/{Collision/Solver/RealisticSolver.d.ts → collision/solver/realistic-solver.d.ts} +5 -5
- package/build/dist/{Collision/Solver/Solver.d.ts → collision/solver/solver.d.ts} +1 -1
- package/build/dist/{Color.d.ts → color.d.ts} +1 -1
- package/build/dist/{Debug/DebugConfig.d.ts → debug/debug-config.d.ts} +5 -5
- package/build/dist/{Debug/DebugFlags.d.ts → debug/debug-flags.d.ts} +2 -2
- package/build/dist/{Debug/DebugSystem.d.ts → debug/debug-system.d.ts} +4 -4
- package/build/dist/debug/index.d.ts +3 -0
- package/build/dist/{Director/CrossFade.d.ts → director/cross-fade.d.ts} +5 -5
- package/build/dist/{Director/DefaultLoader.d.ts → director/default-loader.d.ts} +5 -5
- package/build/dist/{Director/Director.d.ts → director/director.d.ts} +7 -7
- package/build/dist/{Director/FadeInOut.d.ts → director/fade-in-out.d.ts} +5 -5
- package/build/dist/director/index.d.ts +7 -0
- package/build/dist/{Director/Loader.d.ts → director/loader.d.ts} +9 -9
- package/build/dist/{Director/Slide.d.ts → director/slide.d.ts} +5 -5
- package/build/dist/{Director/Transition.d.ts → director/transition.d.ts} +7 -7
- package/build/dist/{Engine.d.ts → engine.d.ts} +31 -31
- package/build/dist/{EntityComponentSystem/Component.d.ts → entity-component-system/component.d.ts} +1 -1
- package/build/dist/{EntityComponentSystem/Components/MotionComponent.d.ts → entity-component-system/components/motion-component.d.ts} +2 -2
- package/build/dist/{EntityComponentSystem/Components/TagsComponent.d.ts → entity-component-system/components/tags-component.d.ts} +1 -1
- package/build/dist/{EntityComponentSystem/Components/TransformComponent.d.ts → entity-component-system/components/transform-component.d.ts} +6 -6
- package/build/dist/{EntityComponentSystem/EntityManager.d.ts → entity-component-system/entity-manager.d.ts} +3 -3
- package/build/dist/{EntityComponentSystem/Entity.d.ts → entity-component-system/entity.d.ts} +12 -12
- package/build/dist/entity-component-system/index.d.ts +13 -0
- package/build/dist/{EntityComponentSystem/QueryManager.d.ts → entity-component-system/query-manager.d.ts} +5 -5
- package/build/dist/{EntityComponentSystem/Query.d.ts → entity-component-system/query.d.ts} +3 -3
- package/build/dist/{EntityComponentSystem/SystemManager.d.ts → entity-component-system/system-manager.d.ts} +4 -4
- package/build/dist/{EntityComponentSystem/System.d.ts → entity-component-system/system.d.ts} +2 -2
- package/build/dist/{EntityComponentSystem/TagQuery.d.ts → entity-component-system/tag-query.d.ts} +2 -2
- package/build/dist/{EntityComponentSystem/World.d.ts → entity-component-system/world.d.ts} +9 -9
- package/build/dist/{Events/MediaEvents.d.ts → events/media-events.d.ts} +4 -4
- package/build/dist/{Events/PointerEvents.d.ts → events/pointer-events.d.ts} +3 -3
- package/build/dist/{Events.d.ts → events.d.ts} +15 -15
- package/build/dist/excalibur.development.js +155 -155
- package/build/dist/excalibur.js +155 -155
- package/build/dist/excalibur.min.development.js +3 -3
- package/build/dist/excalibur.min.js +3 -3
- package/build/dist/{Graphics/Animation.d.ts → graphics/animation.d.ts} +5 -5
- package/build/dist/{Graphics/Canvas.d.ts → graphics/canvas.d.ts} +3 -3
- package/build/dist/{Graphics/Circle.d.ts → graphics/circle.d.ts} +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/circle-renderer/circle-renderer.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/debug-circle-renderer/debug-circle-renderer.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/debug-line-renderer/debug-line-renderer.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/debug-point-renderer/debug-point-renderer.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/debug-text.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/draw-call.d.ts +2 -2
- package/build/dist/{Graphics/Context/ExcaliburGraphicsContext2DCanvas.d.ts → graphics/context/excalibur-graphics-context-2d-canvas.d.ts} +6 -6
- package/build/dist/{Graphics/Context/ExcaliburGraphicsContextWebGL.d.ts → graphics/context/excalibur-graphics-context-webgl.d.ts} +8 -8
- package/build/dist/{Graphics/Context/ExcaliburGraphicsContext.d.ts → graphics/context/excalibur-graphics-context.d.ts} +6 -6
- package/build/dist/{Graphics/Context → graphics/context}/image-renderer/image-renderer.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/image-renderer-v2/image-renderer-v2.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/material-renderer/material-renderer.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/material.d.ts +4 -4
- package/build/dist/{Graphics/Context → graphics/context}/particle-renderer/particle-renderer.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/rectangle-renderer/rectangle-renderer.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/renderer.d.ts +1 -1
- package/build/dist/{Graphics/Context → graphics/context}/screen-pass-painter/screen-pass-painter.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/shader.d.ts +1 -1
- package/build/dist/{Graphics/Context → graphics/context}/state-stack.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/texture-loader.d.ts +4 -4
- package/build/dist/{Graphics/Context → graphics/context}/transform-stack.d.ts +1 -1
- package/build/dist/{Graphics/DebugGraphicsComponent.d.ts → graphics/debug-graphics-component.d.ts} +3 -3
- package/build/dist/{Graphics/Debug.d.ts → graphics/debug.d.ts} +6 -6
- package/build/dist/{Graphics/FontCache.d.ts → graphics/font-cache.d.ts} +4 -4
- package/build/dist/{Graphics/FontCommon.d.ts → graphics/font-common.d.ts} +4 -4
- package/build/dist/{Graphics/FontTextInstance.d.ts → graphics/font-text-instance.d.ts} +4 -4
- package/build/dist/{Graphics/Font.d.ts → graphics/font.d.ts} +10 -10
- package/build/dist/{Graphics/Graphic.d.ts → graphics/graphic.d.ts} +5 -5
- package/build/dist/{Graphics/GraphicsComponent.d.ts → graphics/graphics-component.d.ts} +8 -8
- package/build/dist/{Graphics/GraphicsGroup.d.ts → graphics/graphics-group.d.ts} +6 -6
- package/build/dist/{Graphics/GraphicsSystem.d.ts → graphics/graphics-system.d.ts} +5 -5
- package/build/dist/{Graphics/ImageSource.d.ts → graphics/image-source.d.ts} +6 -6
- package/build/dist/graphics/index.d.ts +47 -0
- package/build/dist/{Graphics/Line.d.ts → graphics/line.d.ts} +5 -5
- package/build/dist/{Graphics/NineSlice.d.ts → graphics/nine-slice.d.ts} +5 -5
- package/build/dist/{Graphics/OffscreenSystem.d.ts → graphics/offscreen-system.d.ts} +5 -5
- package/build/dist/{Graphics/ParallaxComponent.d.ts → graphics/parallax-component.d.ts} +2 -2
- package/build/dist/{Graphics/Polygon.d.ts → graphics/polygon.d.ts} +3 -3
- package/build/dist/{Graphics/PostProcessor/ColorBlindnessPostProcessor.d.ts → graphics/post-processor/color-blindness-post-processor.d.ts} +5 -5
- package/build/dist/{Graphics/PostProcessor/PostProcessor.d.ts → graphics/post-processor/post-processor.d.ts} +3 -3
- package/build/dist/{Graphics/PostProcessor/ScreenShader.d.ts → graphics/post-processor/screen-shader.d.ts} +3 -3
- package/build/dist/{Graphics/Raster.d.ts → graphics/raster.d.ts} +6 -6
- package/build/dist/{Graphics/Rectangle.d.ts → graphics/rectangle.d.ts} +2 -2
- package/build/dist/{Graphics/SpriteFont.d.ts → graphics/sprite-font.d.ts} +8 -8
- package/build/dist/{Graphics/SpriteSheet.d.ts → graphics/sprite-sheet.d.ts} +7 -7
- package/build/dist/{Graphics/Sprite.d.ts → graphics/sprite.d.ts} +4 -4
- package/build/dist/{Graphics/Text.d.ts → graphics/text.d.ts} +7 -7
- package/build/dist/{Graphics/TiledAnimation.d.ts → graphics/tiled-animation.d.ts} +7 -7
- package/build/dist/{Graphics/TiledSprite.d.ts → graphics/tiled-sprite.d.ts} +7 -7
- package/build/dist/{Graphics/TransformInterpolation.d.ts → graphics/transform-interpolation.d.ts} +1 -1
- package/build/dist/index.d.ts +66 -66
- package/build/dist/{Input/Gamepad.d.ts → input/gamepad.d.ts} +3 -3
- package/build/dist/{Input/InputHost.d.ts → input/input-host.d.ts} +5 -5
- package/build/dist/{Input/InputMapper.d.ts → input/input-mapper.d.ts} +3 -3
- package/build/dist/{Input/Keyboard.d.ts → input/keyboard.d.ts} +3 -3
- package/build/dist/{Input/PointerAbstraction.d.ts → input/pointer-abstraction.d.ts} +5 -5
- package/build/dist/{Input/PointerComponent.d.ts → input/pointer-component.d.ts} +2 -2
- package/build/dist/{Input/PointerEventReceiver.d.ts → input/pointer-event-receiver.d.ts} +8 -8
- package/build/dist/{Input/PointerEvent.d.ts → input/pointer-event.d.ts} +4 -4
- package/build/dist/{Input/PointerEventsToObjectDispatcher.d.ts → input/pointer-events-to-object-dispatcher.d.ts} +3 -3
- package/build/dist/{Input/PointerSystem.d.ts → input/pointer-system.d.ts} +4 -4
- package/build/dist/{Input/WheelEvent.d.ts → input/wheel-event.d.ts} +1 -1
- package/build/dist/{Interfaces/AudioImplementation.d.ts → interfaces/audio-implementation.d.ts} +1 -1
- package/build/dist/{Interfaces/Evented.d.ts → interfaces/evented.d.ts} +1 -1
- package/build/dist/interfaces/index.d.ts +7 -0
- package/build/dist/{Interfaces/LifecycleEvents.d.ts → interfaces/lifecycle-events.d.ts} +4 -4
- package/build/dist/{Interfaces/PointerEventHandlers.d.ts → interfaces/pointer-event-handlers.d.ts} +3 -3
- package/build/dist/{Label.d.ts → label.d.ts} +7 -7
- package/build/dist/{Math → math}/global-coordinates.d.ts +1 -1
- package/build/dist/{Math → math}/index.d.ts +1 -1
- package/build/dist/{Math → math}/util.d.ts +1 -1
- package/build/dist/{Math → math}/vector.d.ts +1 -1
- package/build/dist/{Particles/GpuParticleEmitter.d.ts → particles/gpu-particle-emitter.d.ts} +10 -10
- package/build/dist/{Particles/GpuParticleRenderer.d.ts → particles/gpu-particle-renderer.d.ts} +5 -5
- package/build/dist/particles/index.d.ts +5 -0
- package/build/dist/{Particles/ParticleEmitter.d.ts → particles/particle-emitter.d.ts} +6 -6
- package/build/dist/{Particles/Particles.d.ts → particles/particles.d.ts} +11 -11
- package/build/dist/{Resources/Font.d.ts → resources/font.d.ts} +4 -4
- package/build/dist/{Resources/Gif.d.ts → resources/gif.d.ts} +5 -5
- package/build/dist/resources/index.d.ts +4 -0
- package/build/dist/{Resources/Resource.d.ts → resources/resource.d.ts} +3 -3
- package/build/dist/resources/sound/index.d.ts +4 -0
- package/build/dist/{Resources/Sound/SoundManager.d.ts → resources/sound/sound-manager.d.ts} +1 -1
- package/build/dist/{Resources/Sound/Sound.d.ts → resources/sound/sound.d.ts} +8 -8
- package/build/dist/{Resources/Sound/WebAudioInstance.d.ts → resources/sound/web-audio-instance.d.ts} +1 -1
- package/build/dist/{Scene.d.ts → scene.d.ts} +20 -20
- package/build/dist/{ScreenElement.d.ts → screen-element.d.ts} +3 -3
- package/build/dist/{Screen.d.ts → screen.d.ts} +6 -6
- package/build/dist/tile-map/index.d.ts +4 -0
- package/build/dist/{TileMap/IsometricEntityComponent.d.ts → tile-map/isometric-entity-component.d.ts} +2 -2
- package/build/dist/tile-map/isometric-entity-system.d.ts +12 -0
- package/build/dist/{TileMap/IsometricMap.d.ts → tile-map/isometric-map.d.ts} +13 -13
- package/build/dist/{TileMap/TileMap.d.ts → tile-map/tile-map.d.ts} +18 -18
- package/build/dist/{Timer.d.ts → timer.d.ts} +1 -1
- package/build/dist/{Trigger.d.ts → trigger.d.ts} +6 -6
- package/build/dist/{Util/Clock.d.ts → util/clock.d.ts} +1 -1
- package/build/dist/{Util/Coroutine.d.ts → util/coroutine.d.ts} +2 -2
- package/build/dist/{Util/DrawUtil.d.ts → util/draw-util.d.ts} +2 -2
- package/build/dist/{Util/EasingFunctions.d.ts → util/easing-functions.d.ts} +1 -1
- package/build/dist/util/index.d.ts +6 -0
- package/build/dist/{Util/Log.d.ts → util/log.d.ts} +2 -2
- package/build/dist/{Util/Util.d.ts → util/util.d.ts} +2 -2
- package/build/esm/excalibur.development.js +155 -155
- package/build/esm/excalibur.js +155 -155
- package/build/esm/excalibur.min.development.js +3 -3
- package/build/esm/excalibur.min.js +3 -3
- package/eslint.config.mjs +2 -1
- package/package.json +1 -1
- package/build/dist/Actions/index.d.ts +0 -27
- package/build/dist/Collision/Index.d.ts +0 -38
- package/build/dist/Debug/index.d.ts +0 -3
- package/build/dist/Director/index.d.ts +0 -7
- package/build/dist/EntityComponentSystem/index.d.ts +0 -13
- package/build/dist/Graphics/index.d.ts +0 -47
- package/build/dist/Interfaces/Index.d.ts +0 -7
- package/build/dist/Particles/index.d.ts +0 -5
- package/build/dist/Resources/Index.d.ts +0 -4
- package/build/dist/Resources/Sound/Index.d.ts +0 -4
- package/build/dist/TileMap/IsometricEntitySystem.d.ts +0 -12
- package/build/dist/TileMap/index.d.ts +0 -4
- package/build/dist/Util/Index.d.ts +0 -6
- /package/build/dist/{Collision/CollisionType.d.ts → collision/collision-type.d.ts} +0 -0
- /package/build/dist/{Collision/Detection/SpatialPartitionStrategy.d.ts → collision/detection/spatial-partition-strategy.d.ts} +0 -0
- /package/build/dist/{Collision/Group/CollisionGroup.d.ts → collision/group/collision-group.d.ts} +0 -0
- /package/build/dist/{Collision/Solver/ContactBias.d.ts → collision/solver/contact-bias.d.ts} +0 -0
- /package/build/dist/{Collision/SolverStrategy.d.ts → collision/solver-strategy.d.ts} +0 -0
- /package/build/dist/{Context.d.ts → context.d.ts} +0 -0
- /package/build/dist/{Deprecated.d.ts → deprecated.d.ts} +0 -0
- /package/build/dist/{EntityComponentSystem/Priority.d.ts → entity-component-system/priority.d.ts} +0 -0
- /package/build/dist/{EntityComponentSystem/Types.d.ts → entity-component-system/types.d.ts} +0 -0
- /package/build/dist/{EventEmitter.d.ts → event-emitter.d.ts} +0 -0
- /package/build/dist/{Events/ExEvent.d.ts → events/ex-event.d.ts} +0 -0
- /package/build/dist/{Flags.d.ts → flags.d.ts} +0 -0
- /package/build/dist/{GarbageCollector.d.ts → garbage-collector.d.ts} +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/quad-index-buffer.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/render-source.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/render-target.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/uniform-buffer.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/vertex-buffer.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/vertex-layout.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/webgl-util.d.ts +0 -0
- /package/build/dist/{Graphics/Filtering.d.ts → graphics/filtering.d.ts} +0 -0
- /package/build/dist/{Graphics/GraphicsDiagnostics.d.ts → graphics/graphics-diagnostics.d.ts} +0 -0
- /package/build/dist/{Graphics/PostProcessor/ColorBlindnessMode.d.ts → graphics/post-processor/color-blindness-mode.d.ts} +0 -0
- /package/build/dist/{Graphics/Wrapping.d.ts → graphics/wrapping.d.ts} +0 -0
- /package/build/dist/{Id.d.ts → id.d.ts} +0 -0
- /package/build/dist/{Input/CapturePointerConfig.d.ts → input/capture-pointer-config.d.ts} +0 -0
- /package/build/dist/{Input/NativePointerButton.d.ts → input/native-pointer-button.d.ts} +0 -0
- /package/build/dist/{Input/PointerButton.d.ts → input/pointer-button.d.ts} +0 -0
- /package/build/dist/{Input/PointerScope.d.ts → input/pointer-scope.d.ts} +0 -0
- /package/build/dist/{Input/PointerType.d.ts → input/pointer-type.d.ts} +0 -0
- /package/build/dist/{Input/WheelDeltaMode.d.ts → input/wheel-delta-mode.d.ts} +0 -0
- /package/build/dist/{Interfaces/Audio.d.ts → interfaces/audio.d.ts} +0 -0
- /package/build/dist/{Interfaces/Clonable.d.ts → interfaces/clonable.d.ts} +0 -0
- /package/build/dist/{Interfaces/Loadable.d.ts → interfaces/loadable.d.ts} +0 -0
- /package/build/dist/{Math → math}/affine-matrix.d.ts +0 -0
- /package/build/dist/{Math → math}/bezier-curve.d.ts +0 -0
- /package/build/dist/{Math → math}/coord-plane.d.ts +0 -0
- /package/build/dist/{Math → math}/easings.d.ts +0 -0
- /package/build/dist/{Math → math}/graph.d.ts +0 -0
- /package/build/dist/{Math → math}/lerp.d.ts +0 -0
- /package/build/dist/{Math → math}/line-segment.d.ts +0 -0
- /package/build/dist/{Math → math}/matrix.d.ts +0 -0
- /package/build/dist/{Math → math}/projection.d.ts +0 -0
- /package/build/dist/{Math/Random.d.ts → math/random.d.ts} +0 -0
- /package/build/dist/{Math → math}/ray.d.ts +0 -0
- /package/build/dist/{Math → math}/rotation-type.d.ts +0 -0
- /package/build/dist/{Math → math}/transform.d.ts +0 -0
- /package/build/dist/{Math → math}/vector-view.d.ts +0 -0
- /package/build/dist/{Math → math}/watch-vector.d.ts +0 -0
- /package/build/dist/{Particles/EmitterType.d.ts → particles/emitter-type.d.ts} +0 -0
- /package/build/dist/{Polyfill.d.ts → polyfill.d.ts} +0 -0
- /package/build/dist/{Resources/Sound/AudioContext.d.ts → resources/sound/audio-context.d.ts} +0 -0
- /package/build/dist/{Util/Assert.d.ts → util/assert.d.ts} +0 -0
- /package/build/dist/{Util/Browser.d.ts → util/browser.d.ts} +0 -0
- /package/build/dist/{Util/Decorators.d.ts → util/decorators.d.ts} +0 -0
- /package/build/dist/{Util/Detector.d.ts → util/detector.d.ts} +0 -0
- /package/build/dist/{Util/Fps.d.ts → util/fps.d.ts} +0 -0
- /package/build/dist/{Util/Future.d.ts → util/future.d.ts} +0 -0
- /package/build/dist/{Util/IFrame.d.ts → util/iframe.d.ts} +0 -0
- /package/build/dist/{Util/Observable.d.ts → util/observable.d.ts} +0 -0
- /package/build/dist/{Util/Pool.d.ts → util/pool.d.ts} +0 -0
- /package/build/dist/{Util/RentalPool.d.ts → util/rental-pool.d.ts} +0 -0
- /package/build/dist/{Util/Required.d.ts → util/required.d.ts} +0 -0
- /package/build/dist/{Util/Semaphore.d.ts → util/semaphore.d.ts} +0 -0
- /package/build/dist/{Util/Sound.d.ts → util/sound.d.ts} +0 -0
- /package/build/dist/{Util/StateMachine.d.ts → util/state-machine.d.ts} +0 -0
- /package/build/dist/{Util/Toaster.d.ts → util/toaster.d.ts} +0 -0
- /package/build/dist/{Util/Watch.d.ts → util/watch.d.ts} +0 -0
- /package/build/dist/{Util/WebAudio.d.ts → util/web-audio.d.ts} +0 -0
package/build/dist/excalibur.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! excalibur - 0.33.0-alpha.
|
|
1
|
+
/*! excalibur - 0.33.0-alpha.23+11edff9 - 2025-12-29
|
|
2
2
|
https://github.com/excaliburjs/Excalibur
|
|
3
3
|
Copyright (c) 2025 Excalibur.js <https://github.com/excaliburjs/Excalibur/graphs/contributors>
|
|
4
4
|
Licensed BSD-2-Clause
|
|
@@ -402,9 +402,9 @@ Licensed BSD-2-Clause
|
|
|
402
402
|
let currentPick = 0;
|
|
403
403
|
const tempArray = array.slice(0);
|
|
404
404
|
while (currentPick < numPicks) {
|
|
405
|
-
const
|
|
406
|
-
result[currentPick++] = tempArray[
|
|
407
|
-
tempArray.splice(
|
|
405
|
+
const index2 = this.integer(0, tempArray.length - 1);
|
|
406
|
+
result[currentPick++] = tempArray[index2];
|
|
407
|
+
tempArray.splice(index2, 1);
|
|
408
408
|
}
|
|
409
409
|
return result;
|
|
410
410
|
}
|
|
@@ -1794,9 +1794,9 @@ Licensed BSD-2-Clause
|
|
|
1794
1794
|
}
|
|
1795
1795
|
set parent(transform) {
|
|
1796
1796
|
if (this._parent) {
|
|
1797
|
-
const
|
|
1798
|
-
if (
|
|
1799
|
-
this._parent._children.splice(
|
|
1797
|
+
const index2 = this._parent._children.indexOf(this);
|
|
1798
|
+
if (index2 > -1) {
|
|
1799
|
+
this._parent._children.splice(index2, 1);
|
|
1800
1800
|
}
|
|
1801
1801
|
}
|
|
1802
1802
|
this._parent = transform;
|
|
@@ -2372,8 +2372,8 @@ Licensed BSD-2-Clause
|
|
|
2372
2372
|
this._controlPoints = [...points];
|
|
2373
2373
|
this._calculateLookup();
|
|
2374
2374
|
}
|
|
2375
|
-
setControlPoint(
|
|
2376
|
-
this._controlPoints[
|
|
2375
|
+
setControlPoint(index2, point2) {
|
|
2376
|
+
this._controlPoints[index2] = point2;
|
|
2377
2377
|
this._calculateLookup();
|
|
2378
2378
|
}
|
|
2379
2379
|
_calculateLookup() {
|
|
@@ -2733,12 +2733,12 @@ Licensed BSD-2-Clause
|
|
|
2733
2733
|
const currentEdges = current.edges;
|
|
2734
2734
|
const filteredCurrentEdges = Array.from(currentEdges).filter((edge) => edge.target !== current);
|
|
2735
2735
|
for (const edge of filteredCurrentEdges) {
|
|
2736
|
-
const
|
|
2737
|
-
if (
|
|
2736
|
+
const index2 = resultArray.findIndex((node) => node.node === edge.target);
|
|
2737
|
+
if (index2 === -1) {
|
|
2738
2738
|
return [];
|
|
2739
2739
|
}
|
|
2740
|
-
resultArray[
|
|
2741
|
-
resultArray[
|
|
2740
|
+
resultArray[index2].distance = edge.weight;
|
|
2741
|
+
resultArray[index2].previous = current;
|
|
2742
2742
|
}
|
|
2743
2743
|
while (unvisited.length > 0) {
|
|
2744
2744
|
let listOfAvailableNodes = [];
|
|
@@ -2750,10 +2750,10 @@ Licensed BSD-2-Clause
|
|
|
2750
2750
|
if (listOfAvailableNodes.length > 0) {
|
|
2751
2751
|
for (let i = 0; i < listOfAvailableNodes.length; i++) {
|
|
2752
2752
|
const unVisitiedNode = listOfAvailableNodes[i];
|
|
2753
|
-
const
|
|
2754
|
-
if (resultArray[
|
|
2755
|
-
lowestDistance = resultArray[
|
|
2756
|
-
lowestDistanceIndex =
|
|
2753
|
+
const index2 = resultArray.findIndex((node) => node.node === unVisitiedNode);
|
|
2754
|
+
if (resultArray[index2].distance < lowestDistance) {
|
|
2755
|
+
lowestDistance = resultArray[index2].distance;
|
|
2756
|
+
lowestDistanceIndex = index2;
|
|
2757
2757
|
}
|
|
2758
2758
|
}
|
|
2759
2759
|
} else {
|
|
@@ -2761,10 +2761,10 @@ Licensed BSD-2-Clause
|
|
|
2761
2761
|
lowestDistanceIndex = -1;
|
|
2762
2762
|
for (let i = 0; i < unvisited.length; i++) {
|
|
2763
2763
|
const unVisitiedNode = unvisited[i];
|
|
2764
|
-
const
|
|
2765
|
-
if (resultArray[
|
|
2766
|
-
lowestDistance = resultArray[
|
|
2767
|
-
lowestDistanceIndex =
|
|
2764
|
+
const index2 = resultArray.findIndex((node) => node.node === unVisitiedNode);
|
|
2765
|
+
if (resultArray[index2].distance < lowestDistance) {
|
|
2766
|
+
lowestDistance = resultArray[index2].distance;
|
|
2767
|
+
lowestDistanceIndex = index2;
|
|
2768
2768
|
}
|
|
2769
2769
|
}
|
|
2770
2770
|
}
|
|
@@ -2780,13 +2780,13 @@ Licensed BSD-2-Clause
|
|
|
2780
2780
|
unvisited.splice(unvisited.indexOf(current), 1);
|
|
2781
2781
|
for (let i = 0; i < currentEdgesArray.length; i++) {
|
|
2782
2782
|
const edge = currentEdgesArray[i];
|
|
2783
|
-
const
|
|
2783
|
+
const index2 = resultArray.findIndex((node) => node.node === edge.target);
|
|
2784
2784
|
const previousIndex = resultArray.findIndex((node) => node.node === edge.source);
|
|
2785
2785
|
const previousDistance = resultArray[previousIndex].distance;
|
|
2786
2786
|
const cumDistance = previousDistance + edge.weight;
|
|
2787
|
-
if (cumDistance < resultArray[
|
|
2788
|
-
resultArray[
|
|
2789
|
-
resultArray[
|
|
2787
|
+
if (cumDistance < resultArray[index2].distance) {
|
|
2788
|
+
resultArray[index2].distance = cumDistance;
|
|
2789
|
+
resultArray[index2].previous = current;
|
|
2790
2790
|
}
|
|
2791
2791
|
}
|
|
2792
2792
|
}
|
|
@@ -4427,17 +4427,17 @@ mask: ${(this.mask >>> 0).toString(2).padStart(32, "0")}
|
|
|
4427
4427
|
}
|
|
4428
4428
|
}
|
|
4429
4429
|
class GamepadConnectEvent extends GameEvent {
|
|
4430
|
-
constructor(
|
|
4430
|
+
constructor(index2, gamepad) {
|
|
4431
4431
|
super();
|
|
4432
|
-
this.index =
|
|
4432
|
+
this.index = index2;
|
|
4433
4433
|
this.gamepad = gamepad;
|
|
4434
4434
|
this.target = gamepad;
|
|
4435
4435
|
}
|
|
4436
4436
|
}
|
|
4437
4437
|
class GamepadDisconnectEvent extends GameEvent {
|
|
4438
|
-
constructor(
|
|
4438
|
+
constructor(index2, gamepad) {
|
|
4439
4439
|
super();
|
|
4440
|
-
this.index =
|
|
4440
|
+
this.index = index2;
|
|
4441
4441
|
this.gamepad = gamepad;
|
|
4442
4442
|
this.target = gamepad;
|
|
4443
4443
|
}
|
|
@@ -4449,10 +4449,10 @@ mask: ${(this.mask >>> 0).toString(2).padStart(32, "0")}
|
|
|
4449
4449
|
* @param value A numeric value between 0 and 1
|
|
4450
4450
|
* @param self Reference to the gamepad
|
|
4451
4451
|
*/
|
|
4452
|
-
constructor(button,
|
|
4452
|
+
constructor(button, index2, value, self2) {
|
|
4453
4453
|
super();
|
|
4454
4454
|
this.button = button;
|
|
4455
|
-
this.index =
|
|
4455
|
+
this.index = index2;
|
|
4456
4456
|
this.value = value;
|
|
4457
4457
|
this.self = self2;
|
|
4458
4458
|
this.target = self2;
|
|
@@ -4679,7 +4679,7 @@ mask: ${(this.mask >>> 0).toString(2).padStart(32, "0")}
|
|
|
4679
4679
|
this.target = self2;
|
|
4680
4680
|
}
|
|
4681
4681
|
}
|
|
4682
|
-
const
|
|
4682
|
+
const events = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4683
4683
|
__proto__: null,
|
|
4684
4684
|
ActionCompleteEvent,
|
|
4685
4685
|
ActionStartEvent,
|
|
@@ -4753,9 +4753,9 @@ mask: ${(this.mask >>> 0).toString(2).padStart(32, "0")}
|
|
|
4753
4753
|
return false;
|
|
4754
4754
|
}
|
|
4755
4755
|
function removeItemFromArray(item, array) {
|
|
4756
|
-
let
|
|
4757
|
-
if ((
|
|
4758
|
-
array.splice(
|
|
4756
|
+
let index2 = -1;
|
|
4757
|
+
if ((index2 = array.indexOf(item)) > -1) {
|
|
4758
|
+
array.splice(index2, 1);
|
|
4759
4759
|
return true;
|
|
4760
4760
|
}
|
|
4761
4761
|
return false;
|
|
@@ -5672,9 +5672,9 @@ mask: ${(this.mask >>> 0).toString(2).padStart(32, "0")}
|
|
|
5672
5672
|
return false;
|
|
5673
5673
|
}
|
|
5674
5674
|
removeEntity(entity) {
|
|
5675
|
-
const
|
|
5676
|
-
if (
|
|
5677
|
-
this.entities.splice(
|
|
5675
|
+
const index2 = this.entities.indexOf(entity);
|
|
5676
|
+
if (index2 > -1) {
|
|
5677
|
+
this.entities.splice(index2, 1);
|
|
5678
5678
|
this.entityRemoved$.notifyAll(entity);
|
|
5679
5679
|
}
|
|
5680
5680
|
}
|
|
@@ -6406,8 +6406,8 @@ Check your bundler settings to make sure this is not the case! Excalibur has ESM
|
|
|
6406
6406
|
case 3:
|
|
6407
6407
|
return new Vector(rightPath, 0);
|
|
6408
6408
|
default:
|
|
6409
|
-
const
|
|
6410
|
-
throw new Error(`Unreachable index: [${
|
|
6409
|
+
const index2 = minIndex;
|
|
6410
|
+
throw new Error(`Unreachable index: [${index2}] on bounding box intersection!`);
|
|
6411
6411
|
}
|
|
6412
6412
|
}
|
|
6413
6413
|
/**
|
|
@@ -7004,16 +7004,16 @@ Check your bundler settings to make sure this is not the case! Excalibur has ESM
|
|
|
7004
7004
|
if (target instanceof CompositeCollider) {
|
|
7005
7005
|
const colliders = target.getColliders();
|
|
7006
7006
|
for (const c of colliders) {
|
|
7007
|
-
const
|
|
7008
|
-
if (
|
|
7009
|
-
this._colliders.splice(
|
|
7007
|
+
const index2 = this._colliders.indexOf(c);
|
|
7008
|
+
if (index2 !== -1) {
|
|
7009
|
+
this._colliders.splice(index2, 1);
|
|
7010
7010
|
}
|
|
7011
7011
|
this._dynamicCollisionTree.untrackCollider(c);
|
|
7012
7012
|
}
|
|
7013
7013
|
} else {
|
|
7014
|
-
const
|
|
7015
|
-
if (
|
|
7016
|
-
this._colliders.splice(
|
|
7014
|
+
const index2 = this._colliders.indexOf(target);
|
|
7015
|
+
if (index2 !== -1) {
|
|
7016
|
+
this._colliders.splice(index2, 1);
|
|
7017
7017
|
}
|
|
7018
7018
|
this._dynamicCollisionTree.untrackCollider(target);
|
|
7019
7019
|
}
|
|
@@ -8714,17 +8714,17 @@ Check your bundler settings to make sure this is not the case! Excalibur has ESM
|
|
|
8714
8714
|
const triangles = [];
|
|
8715
8715
|
const vertices = [...this.points].reverse();
|
|
8716
8716
|
let vertexCount = vertices.length;
|
|
8717
|
-
function getPrevIndex(
|
|
8718
|
-
return
|
|
8717
|
+
function getPrevIndex(index2) {
|
|
8718
|
+
return index2 === 0 ? vertexCount - 1 : index2 - 1;
|
|
8719
8719
|
}
|
|
8720
|
-
function getNextIndex(
|
|
8721
|
-
return
|
|
8720
|
+
function getNextIndex(index2) {
|
|
8721
|
+
return index2 === vertexCount - 1 ? 0 : index2 + 1;
|
|
8722
8722
|
}
|
|
8723
|
-
function isConvex(
|
|
8724
|
-
const prev = getPrevIndex(
|
|
8725
|
-
const next = getNextIndex(
|
|
8723
|
+
function isConvex(index2) {
|
|
8724
|
+
const prev = getPrevIndex(index2);
|
|
8725
|
+
const next = getNextIndex(index2);
|
|
8726
8726
|
const va = vertices[prev];
|
|
8727
|
-
const vb = vertices[
|
|
8727
|
+
const vb = vertices[index2];
|
|
8728
8728
|
const vc = vertices[next];
|
|
8729
8729
|
const leftArm = va.sub(vb);
|
|
8730
8730
|
const rightArm = vc.sub(vb);
|
|
@@ -8780,15 +8780,15 @@ Check your bundler settings to make sure this is not the case! Excalibur has ESM
|
|
|
8780
8780
|
}
|
|
8781
8781
|
return 0;
|
|
8782
8782
|
}
|
|
8783
|
-
function cutEarTip(
|
|
8784
|
-
const prev = getPrevIndex(
|
|
8785
|
-
const next = getNextIndex(
|
|
8783
|
+
function cutEarTip(index2) {
|
|
8784
|
+
const prev = getPrevIndex(index2);
|
|
8785
|
+
const next = getNextIndex(index2);
|
|
8786
8786
|
const va = vertices[prev];
|
|
8787
|
-
const vb = vertices[
|
|
8787
|
+
const vb = vertices[index2];
|
|
8788
8788
|
const vc = vertices[next];
|
|
8789
8789
|
triangles.push([va, vb, vc]);
|
|
8790
|
-
vertices.splice(
|
|
8791
|
-
convexVertices.splice(
|
|
8790
|
+
vertices.splice(index2, 1);
|
|
8791
|
+
convexVertices.splice(index2, 1);
|
|
8792
8792
|
vertexCount--;
|
|
8793
8793
|
}
|
|
8794
8794
|
while (vertexCount > 3) {
|
|
@@ -9562,11 +9562,11 @@ Check your bundler settings to make sure this is not the case! Excalibur has ESM
|
|
|
9562
9562
|
const maxIndex = spriteSheet.sprites.length - 1;
|
|
9563
9563
|
const validIndices = [];
|
|
9564
9564
|
const invalidIndices = [];
|
|
9565
|
-
spriteSheetIndex.forEach((
|
|
9566
|
-
if (
|
|
9567
|
-
invalidIndices.push(
|
|
9565
|
+
spriteSheetIndex.forEach((index2) => {
|
|
9566
|
+
if (index2 < 0 || index2 > maxIndex) {
|
|
9567
|
+
invalidIndices.push(index2);
|
|
9568
9568
|
} else {
|
|
9569
|
-
validIndices.push(
|
|
9569
|
+
validIndices.push(index2);
|
|
9570
9570
|
}
|
|
9571
9571
|
});
|
|
9572
9572
|
if (invalidIndices.length) {
|
|
@@ -10269,7 +10269,7 @@ Check your bundler settings to make sure this is not the case! Excalibur has ESM
|
|
|
10269
10269
|
ctx.stroke();
|
|
10270
10270
|
}
|
|
10271
10271
|
}
|
|
10272
|
-
const
|
|
10272
|
+
const drawUtil = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10273
10273
|
__proto__: null,
|
|
10274
10274
|
circle,
|
|
10275
10275
|
line,
|
|
@@ -11917,9 +11917,9 @@ Read more here: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/WebGL
|
|
|
11917
11917
|
this.query.entityRemoved$.subscribe((e) => {
|
|
11918
11918
|
const tx = e.get(TransformComponent);
|
|
11919
11919
|
tx.zIndexChanged$.unsubscribe(this._zIndexUpdate);
|
|
11920
|
-
const
|
|
11921
|
-
if (
|
|
11922
|
-
this._sortedTransforms.splice(
|
|
11920
|
+
const index2 = this._sortedTransforms.indexOf(tx);
|
|
11921
|
+
if (index2 > -1) {
|
|
11922
|
+
this._sortedTransforms.splice(index2, 1);
|
|
11923
11923
|
}
|
|
11924
11924
|
});
|
|
11925
11925
|
}
|
|
@@ -13688,8 +13688,8 @@ Read https://excaliburjs.com/docs/imagesource for more information.`
|
|
|
13688
13688
|
*/
|
|
13689
13689
|
setUniformBuffer(name, data, bindingPoint = 0) {
|
|
13690
13690
|
const gl = this._gl;
|
|
13691
|
-
const
|
|
13692
|
-
if (
|
|
13691
|
+
const index2 = gl.getUniformBlockIndex(this.program, name);
|
|
13692
|
+
if (index2 === gl.INVALID_INDEX) {
|
|
13693
13693
|
this._logger.warnOnce(`Invalid block name ${name}`);
|
|
13694
13694
|
}
|
|
13695
13695
|
let uniformBuffer;
|
|
@@ -13704,7 +13704,7 @@ Read https://excaliburjs.com/docs/imagesource for more information.`
|
|
|
13704
13704
|
});
|
|
13705
13705
|
this._uniformBuffers[name] = uniformBuffer;
|
|
13706
13706
|
}
|
|
13707
|
-
gl.uniformBlockBinding(this.program,
|
|
13707
|
+
gl.uniformBlockBinding(this.program, index2, bindingPoint);
|
|
13708
13708
|
gl.bindBufferBase(gl.UNIFORM_BUFFER, bindingPoint, uniformBuffer.buffer);
|
|
13709
13709
|
}
|
|
13710
13710
|
trySetUniformBuffer(name, data, bindingPoint = 0) {
|
|
@@ -13719,8 +13719,8 @@ Read https://excaliburjs.com/docs/imagesource for more information.`
|
|
|
13719
13719
|
return false;
|
|
13720
13720
|
}
|
|
13721
13721
|
const gl = this._gl;
|
|
13722
|
-
const
|
|
13723
|
-
if (
|
|
13722
|
+
const index2 = gl.getUniformBlockIndex(this.program, name);
|
|
13723
|
+
if (index2) {
|
|
13724
13724
|
this.setUniformBuffer(name, data, bindingPoint);
|
|
13725
13725
|
return true;
|
|
13726
13726
|
}
|
|
@@ -16908,9 +16908,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
16908
16908
|
postprocessor.initialize(this);
|
|
16909
16909
|
}
|
|
16910
16910
|
removePostProcessor(postprocessor) {
|
|
16911
|
-
const
|
|
16912
|
-
if (
|
|
16913
|
-
this._postprocessors.splice(
|
|
16911
|
+
const index2 = this._postprocessors.indexOf(postprocessor);
|
|
16912
|
+
if (index2 !== -1) {
|
|
16913
|
+
this._postprocessors.splice(index2, 1);
|
|
16914
16914
|
}
|
|
16915
16915
|
}
|
|
16916
16916
|
clearPostProcessors() {
|
|
@@ -17893,8 +17893,8 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
17893
17893
|
* @param action
|
|
17894
17894
|
*/
|
|
17895
17895
|
remove(action) {
|
|
17896
|
-
const
|
|
17897
|
-
this._actions.splice(
|
|
17896
|
+
const index2 = this._actions.indexOf(action);
|
|
17897
|
+
this._actions.splice(index2, 1);
|
|
17898
17898
|
}
|
|
17899
17899
|
/**
|
|
17900
17900
|
* Removes all actions from this sequence
|
|
@@ -21179,9 +21179,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
21179
21179
|
*/
|
|
21180
21180
|
clear() {
|
|
21181
21181
|
for (const cell of this.cells) {
|
|
21182
|
-
const
|
|
21183
|
-
if (
|
|
21184
|
-
cell.proxies.splice(
|
|
21182
|
+
const index2 = cell.proxies.indexOf(this);
|
|
21183
|
+
if (index2 > -1) {
|
|
21184
|
+
cell.proxies.splice(index2, 1);
|
|
21185
21185
|
}
|
|
21186
21186
|
}
|
|
21187
21187
|
}
|
|
@@ -21754,9 +21754,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
21754
21754
|
return;
|
|
21755
21755
|
}
|
|
21756
21756
|
if (!this._isDivided) {
|
|
21757
|
-
const
|
|
21758
|
-
if (
|
|
21759
|
-
this.items.splice(
|
|
21757
|
+
const index2 = this.items.indexOf(item);
|
|
21758
|
+
if (index2 > -1) {
|
|
21759
|
+
this.items.splice(index2, 1);
|
|
21760
21760
|
}
|
|
21761
21761
|
return;
|
|
21762
21762
|
}
|
|
@@ -21794,8 +21794,8 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
21794
21794
|
results = results.concat(this.bottomRight.query(boundingBox));
|
|
21795
21795
|
}
|
|
21796
21796
|
}
|
|
21797
|
-
results = results.filter((item,
|
|
21798
|
-
return results.indexOf(item) >=
|
|
21797
|
+
results = results.filter((item, index2) => {
|
|
21798
|
+
return results.indexOf(item) >= index2;
|
|
21799
21799
|
});
|
|
21800
21800
|
return results;
|
|
21801
21801
|
}
|
|
@@ -21815,8 +21815,8 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
21815
21815
|
results = results.concat(this.bottomLeft.getAllItems());
|
|
21816
21816
|
results = results.concat(this.bottomRight.getAllItems());
|
|
21817
21817
|
}
|
|
21818
|
-
results = results.filter((item,
|
|
21819
|
-
return results.indexOf(item) >=
|
|
21818
|
+
results = results.filter((item, index2) => {
|
|
21819
|
+
return results.indexOf(item) >= index2;
|
|
21820
21820
|
});
|
|
21821
21821
|
return results;
|
|
21822
21822
|
}
|
|
@@ -21878,9 +21878,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
21878
21878
|
const epsilon = 1e-4;
|
|
21879
21879
|
for (let i = 0; i < contacts.length; i++) {
|
|
21880
21880
|
const contact = contacts[i];
|
|
21881
|
-
const
|
|
21882
|
-
if (
|
|
21883
|
-
const compositeId = contact.id.substring(
|
|
21881
|
+
const index2 = contact.id.indexOf("|");
|
|
21882
|
+
if (index2 > 0) {
|
|
21883
|
+
const compositeId = contact.id.substring(index2 + 1);
|
|
21884
21884
|
if (this._compositeContactsIds.has(compositeId)) {
|
|
21885
21885
|
contact.cancel();
|
|
21886
21886
|
continue;
|
|
@@ -22118,9 +22118,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
22118
22118
|
const finishedContactIds = Array.from(this.idToContactConstraint.keys());
|
|
22119
22119
|
for (let i = 0; i < contacts.length; i++) {
|
|
22120
22120
|
const contact = contacts[i];
|
|
22121
|
-
const
|
|
22122
|
-
if (
|
|
22123
|
-
finishedContactIds.splice(
|
|
22121
|
+
const index2 = finishedContactIds.indexOf(contact.id);
|
|
22122
|
+
if (index2 > -1) {
|
|
22123
|
+
finishedContactIds.splice(index2, 1);
|
|
22124
22124
|
}
|
|
22125
22125
|
const contactPoints = (_b = this.idToContactConstraint.get(contact.id)) != null ? _b : [];
|
|
22126
22126
|
let pointIndex = 0;
|
|
@@ -22606,9 +22606,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
22606
22606
|
if (contact.isCanceled()) {
|
|
22607
22607
|
continue;
|
|
22608
22608
|
}
|
|
22609
|
-
const
|
|
22610
|
-
if (
|
|
22611
|
-
const compositeId = contact.id.substring(
|
|
22609
|
+
const index2 = contact.id.indexOf("|");
|
|
22610
|
+
if (index2 > 0) {
|
|
22611
|
+
const compositeId = contact.id.substring(index2 + 1);
|
|
22612
22612
|
this._currentFrameContacts.set(compositeId, contact);
|
|
22613
22613
|
} else {
|
|
22614
22614
|
this._currentFrameContacts.set(contact.id, contact);
|
|
@@ -23977,7 +23977,7 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
23977
23977
|
function canPlayFile(file) {
|
|
23978
23978
|
try {
|
|
23979
23979
|
const a = new Audio();
|
|
23980
|
-
const filetype = /.*\.([A-Za-z0-9]+)(
|
|
23980
|
+
const filetype = /.*\.([A-Za-z0-9]+)(?=[?#]|$)/;
|
|
23981
23981
|
const type = file.match(filetype)[1];
|
|
23982
23982
|
if (a.canPlayType("audio/" + type)) {
|
|
23983
23983
|
return true;
|
|
@@ -25055,8 +25055,8 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
25055
25055
|
* @param action The callback to be removed from the callback list, to be fired after the interval is complete.
|
|
25056
25056
|
*/
|
|
25057
25057
|
off(action) {
|
|
25058
|
-
const
|
|
25059
|
-
this._callbacks.splice(
|
|
25058
|
+
const index2 = this._callbacks.indexOf(action);
|
|
25059
|
+
this._callbacks.splice(index2, 1);
|
|
25060
25060
|
}
|
|
25061
25061
|
/**
|
|
25062
25062
|
* Updates the timer after a certain number of milliseconds have elapsed. This is used internally by the engine.
|
|
@@ -25243,10 +25243,10 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
25243
25243
|
removeObject(object) {
|
|
25244
25244
|
const proxy = this._objectToProxy.get(object);
|
|
25245
25245
|
if (proxy) {
|
|
25246
|
-
const
|
|
25246
|
+
const index2 = this._proxies.indexOf(proxy);
|
|
25247
25247
|
this._objectToProxy.delete(object);
|
|
25248
|
-
if (
|
|
25249
|
-
this._proxies.splice(
|
|
25248
|
+
if (index2 > -1) {
|
|
25249
|
+
this._proxies.splice(index2, 1);
|
|
25250
25250
|
}
|
|
25251
25251
|
this._proxyPool.return(proxy);
|
|
25252
25252
|
}
|
|
@@ -25719,9 +25719,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
25719
25719
|
*
|
|
25720
25720
|
* Returns null if out of bounds
|
|
25721
25721
|
*/
|
|
25722
|
-
getTileByIndex(
|
|
25722
|
+
getTileByIndex(index2) {
|
|
25723
25723
|
var _a;
|
|
25724
|
-
return (_a = this.tiles[
|
|
25724
|
+
return (_a = this.tiles[index2]) != null ? _a : null;
|
|
25725
25725
|
}
|
|
25726
25726
|
/**
|
|
25727
25727
|
* Returns the {@apilink Tile} by its x and y integer coordinates
|
|
@@ -25999,10 +25999,10 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
25999
25999
|
* Remove an instance of a {@apilink Graphic} from this tile
|
|
26000
26000
|
*/
|
|
26001
26001
|
removeGraphic(graphic) {
|
|
26002
|
-
const
|
|
26003
|
-
if (
|
|
26004
|
-
this._graphics.splice(
|
|
26005
|
-
this._offsets.splice(
|
|
26002
|
+
const index2 = this._graphics.indexOf(graphic);
|
|
26003
|
+
if (index2 > -1) {
|
|
26004
|
+
this._graphics.splice(index2, 1);
|
|
26005
|
+
this._offsets.splice(index2, 1);
|
|
26006
26006
|
}
|
|
26007
26007
|
}
|
|
26008
26008
|
/**
|
|
@@ -26035,9 +26035,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
26035
26035
|
* @param collider
|
|
26036
26036
|
*/
|
|
26037
26037
|
removeCollider(collider) {
|
|
26038
|
-
const
|
|
26039
|
-
if (
|
|
26040
|
-
this._colliders.splice(
|
|
26038
|
+
const index2 = this._colliders.indexOf(collider);
|
|
26039
|
+
if (index2 > -1) {
|
|
26040
|
+
this._colliders.splice(index2, 1);
|
|
26041
26041
|
}
|
|
26042
26042
|
this.map.flagCollidersDirty();
|
|
26043
26043
|
}
|
|
@@ -26188,9 +26188,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
26188
26188
|
return bounds;
|
|
26189
26189
|
}
|
|
26190
26190
|
removeGraphic(graphic) {
|
|
26191
|
-
const
|
|
26192
|
-
if (
|
|
26193
|
-
this._graphics.splice(
|
|
26191
|
+
const index2 = this._graphics.indexOf(graphic);
|
|
26192
|
+
if (index2 > -1) {
|
|
26193
|
+
this._graphics.splice(index2, 1);
|
|
26194
26194
|
}
|
|
26195
26195
|
this._gfx.localBounds = this._recalculateBounds();
|
|
26196
26196
|
}
|
|
@@ -26217,9 +26217,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
26217
26217
|
* @param collider
|
|
26218
26218
|
*/
|
|
26219
26219
|
removeCollider(collider) {
|
|
26220
|
-
const
|
|
26221
|
-
if (
|
|
26222
|
-
this._colliders.splice(
|
|
26220
|
+
const index2 = this._colliders.indexOf(collider);
|
|
26221
|
+
if (index2 > -1) {
|
|
26222
|
+
this._colliders.splice(index2, 1);
|
|
26223
26223
|
}
|
|
26224
26224
|
this.map.flagCollidersDirty();
|
|
26225
26225
|
}
|
|
@@ -27505,17 +27505,17 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
27505
27505
|
this._entityToPointer.delete(e);
|
|
27506
27506
|
const maybeGfx = e.get(GraphicsComponent);
|
|
27507
27507
|
if (maybeGfx) {
|
|
27508
|
-
const
|
|
27509
|
-
if (
|
|
27510
|
-
this._graphics.splice(
|
|
27508
|
+
const index22 = this._graphics.indexOf(maybeGfx);
|
|
27509
|
+
if (index22 > -1) {
|
|
27510
|
+
this._graphics.splice(index22, 1);
|
|
27511
27511
|
}
|
|
27512
27512
|
this._graphicsHashGrid.untrack(maybeGfx);
|
|
27513
27513
|
}
|
|
27514
27514
|
tx.zIndexChanged$.unsubscribe(this._zIndexUpdate);
|
|
27515
|
-
const
|
|
27516
|
-
if (
|
|
27517
|
-
this._sortedTransforms.splice(
|
|
27518
|
-
this._sortedEntities.splice(
|
|
27515
|
+
const index2 = this._sortedTransforms.indexOf(tx);
|
|
27516
|
+
if (index2 > -1) {
|
|
27517
|
+
this._sortedTransforms.splice(index2, 1);
|
|
27518
|
+
this._sortedEntities.splice(index2, 1);
|
|
27519
27519
|
}
|
|
27520
27520
|
});
|
|
27521
27521
|
}
|
|
@@ -27577,9 +27577,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
27577
27577
|
this.query.entityAdded$.subscribe((e) => this._actions.push(e.get(ActionsComponent)));
|
|
27578
27578
|
this.query.entityRemoved$.subscribe((e) => {
|
|
27579
27579
|
const action = e.get(ActionsComponent);
|
|
27580
|
-
const
|
|
27581
|
-
if (
|
|
27582
|
-
this._actions.splice(
|
|
27580
|
+
const index2 = this._actions.indexOf(action);
|
|
27581
|
+
if (index2 > -1) {
|
|
27582
|
+
this._actions.splice(index2, 1);
|
|
27583
27583
|
}
|
|
27584
27584
|
});
|
|
27585
27585
|
}
|
|
@@ -27743,15 +27743,15 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
27743
27743
|
/**
|
|
27744
27744
|
* Safely retrieves a Gamepad at a specific index and creates one if it doesn't yet exist
|
|
27745
27745
|
*/
|
|
27746
|
-
at(
|
|
27746
|
+
at(index2) {
|
|
27747
27747
|
this._enableAndUpdate();
|
|
27748
|
-
if (
|
|
27749
|
-
for (let i = this._pads.length - 1, max =
|
|
27748
|
+
if (index2 >= this._pads.length) {
|
|
27749
|
+
for (let i = this._pads.length - 1, max = index2; i < max; i++) {
|
|
27750
27750
|
this._pads.push(new Gamepad());
|
|
27751
27751
|
this._oldPads.push(new Gamepad());
|
|
27752
27752
|
}
|
|
27753
27753
|
}
|
|
27754
|
-
return this._pads[
|
|
27754
|
+
return this._pads[index2];
|
|
27755
27755
|
}
|
|
27756
27756
|
/**
|
|
27757
27757
|
* Returns a list of all valid gamepads that meet the minimum configuration requirement.
|
|
@@ -28371,14 +28371,14 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
28371
28371
|
}
|
|
28372
28372
|
}
|
|
28373
28373
|
class WheelEvent {
|
|
28374
|
-
constructor(x, y, pageX, pageY, screenX, screenY,
|
|
28374
|
+
constructor(x, y, pageX, pageY, screenX, screenY, index2, deltaX, deltaY, deltaZ, deltaMode, ev) {
|
|
28375
28375
|
this.x = x;
|
|
28376
28376
|
this.y = y;
|
|
28377
28377
|
this.pageX = pageX;
|
|
28378
28378
|
this.pageY = pageY;
|
|
28379
28379
|
this.screenX = screenX;
|
|
28380
28380
|
this.screenY = screenY;
|
|
28381
|
-
this.index =
|
|
28381
|
+
this.index = index2;
|
|
28382
28382
|
this.deltaX = deltaX;
|
|
28383
28383
|
this.deltaY = deltaY;
|
|
28384
28384
|
this.deltaZ = deltaZ;
|
|
@@ -28507,13 +28507,13 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
28507
28507
|
* Locates a specific pointer by id, creates it if it doesn't exist
|
|
28508
28508
|
* @param index
|
|
28509
28509
|
*/
|
|
28510
|
-
at(
|
|
28511
|
-
if (
|
|
28512
|
-
for (let i = this._pointers.length - 1, max =
|
|
28510
|
+
at(index2) {
|
|
28511
|
+
if (index2 >= this._pointers.length) {
|
|
28512
|
+
for (let i = this._pointers.length - 1, max = index2; i < max; i++) {
|
|
28513
28513
|
this._pointers.push(new PointerAbstraction());
|
|
28514
28514
|
}
|
|
28515
28515
|
}
|
|
28516
|
-
return this._pointers[
|
|
28516
|
+
return this._pointers[index2];
|
|
28517
28517
|
}
|
|
28518
28518
|
/**
|
|
28519
28519
|
* The number of pointers currently being tracked by excalibur
|
|
@@ -29992,9 +29992,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
29992
29992
|
}
|
|
29993
29993
|
}
|
|
29994
29994
|
for (const id of this._idsToRemove) {
|
|
29995
|
-
const
|
|
29996
|
-
if (
|
|
29997
|
-
this._scheduledCbs.splice(
|
|
29995
|
+
const index2 = this._scheduledCbs.findIndex(([scheduleId]) => scheduleId === id);
|
|
29996
|
+
if (index2 !== -1) {
|
|
29997
|
+
this._scheduledCbs.splice(index2, 1);
|
|
29998
29998
|
}
|
|
29999
29999
|
}
|
|
30000
30000
|
}
|
|
@@ -31980,9 +31980,9 @@ Read more about this issue at https://excaliburjs.com/docs/performance`
|
|
|
31980
31980
|
this.scene.world.remove(this.deadParticles[i], false);
|
|
31981
31981
|
this._particlePool.return(this.deadParticles[i]);
|
|
31982
31982
|
}
|
|
31983
|
-
const
|
|
31984
|
-
if (
|
|
31985
|
-
this._activeParticles.splice(
|
|
31983
|
+
const index2 = this._activeParticles.indexOf(this.deadParticles[i]);
|
|
31984
|
+
if (index2 > -1) {
|
|
31985
|
+
this._activeParticles.splice(index2, 1);
|
|
31986
31986
|
}
|
|
31987
31987
|
}
|
|
31988
31988
|
this.deadParticles.length = 0;
|
|
@@ -32687,9 +32687,9 @@ Read more about this issue at https://excaliburjs.com/docs/performance`
|
|
|
32687
32687
|
if (!maybeConfiguration) {
|
|
32688
32688
|
return;
|
|
32689
32689
|
}
|
|
32690
|
-
const
|
|
32691
|
-
if (
|
|
32692
|
-
maybeConfiguration.sounds.splice(
|
|
32690
|
+
const index2 = maybeConfiguration.sounds.indexOf(sound);
|
|
32691
|
+
if (index2 >= -1) {
|
|
32692
|
+
maybeConfiguration.sounds.splice(index2, 1);
|
|
32693
32693
|
}
|
|
32694
32694
|
this._channelToConfig.set(channel, maybeConfiguration);
|
|
32695
32695
|
}
|
|
@@ -32763,11 +32763,11 @@ Read more about this issue at https://excaliburjs.com/docs/performance`
|
|
|
32763
32763
|
var _a;
|
|
32764
32764
|
const images = (_a = this._gif) == null ? void 0 : _a.images;
|
|
32765
32765
|
if (images == null ? void 0 : images.length) {
|
|
32766
|
-
const frames = images.map((image,
|
|
32766
|
+
const frames = images.map((image, index2) => {
|
|
32767
32767
|
var _a2;
|
|
32768
32768
|
return {
|
|
32769
|
-
graphic: this._sprites[
|
|
32770
|
-
duration: ((_a2 = this._gif) == null ? void 0 : _a2.frames[
|
|
32769
|
+
graphic: this._sprites[index2],
|
|
32770
|
+
duration: ((_a2 = this._gif) == null ? void 0 : _a2.frames[index2].delayMs) || void 0
|
|
32771
32771
|
};
|
|
32772
32772
|
});
|
|
32773
32773
|
this._animation = new Animation({
|
|
@@ -33649,10 +33649,10 @@ Read more about this issue at https://excaliburjs.com/docs/performance`
|
|
|
33649
33649
|
this._camera.pos.y = lerp(this._startCameraPosition.y, this._destinationCameraPosition.y, time);
|
|
33650
33650
|
}
|
|
33651
33651
|
}
|
|
33652
|
-
const
|
|
33652
|
+
const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33653
33653
|
__proto__: null,
|
|
33654
33654
|
ConsoleAppender,
|
|
33655
|
-
DrawUtil,
|
|
33655
|
+
DrawUtil: drawUtil,
|
|
33656
33656
|
EasingFunctions,
|
|
33657
33657
|
LogLevel,
|
|
33658
33658
|
Logger,
|
|
@@ -33782,7 +33782,7 @@ Read more about this issue at https://excaliburjs.com/docs/performance`
|
|
|
33782
33782
|
this._count += count;
|
|
33783
33783
|
}
|
|
33784
33784
|
}
|
|
33785
|
-
const EX_VERSION = "0.33.0-alpha.
|
|
33785
|
+
const EX_VERSION = "0.33.0-alpha.23+11edff9";
|
|
33786
33786
|
polyfill();
|
|
33787
33787
|
exports2.ActionCompleteEvent = ActionCompleteEvent;
|
|
33788
33788
|
exports2.ActionContext = ActionContext;
|
|
@@ -33885,7 +33885,7 @@ Read more about this issue at https://excaliburjs.com/docs/performance`
|
|
|
33885
33885
|
exports2.EntityManager = EntityManager;
|
|
33886
33886
|
exports2.EventEmitter = EventEmitter;
|
|
33887
33887
|
exports2.EventTypes = EventTypes;
|
|
33888
|
-
exports2.Events =
|
|
33888
|
+
exports2.Events = events;
|
|
33889
33889
|
exports2.ExResponse = ExResponse;
|
|
33890
33890
|
exports2.ExcaliburGraphicsContext2DCanvas = ExcaliburGraphicsContext2DCanvas;
|
|
33891
33891
|
exports2.ExcaliburGraphicsContextWebGL = ExcaliburGraphicsContextWebGL;
|
|
@@ -34091,7 +34091,7 @@ Read more about this issue at https://excaliburjs.com/docs/performance`
|
|
|
34091
34091
|
exports2.TriggerEvents = TriggerEvents;
|
|
34092
34092
|
exports2.TwoPI = TwoPI;
|
|
34093
34093
|
exports2.UniformBuffer = UniformBuffer;
|
|
34094
|
-
exports2.Util =
|
|
34094
|
+
exports2.Util = index;
|
|
34095
34095
|
exports2.Vector = Vector;
|
|
34096
34096
|
exports2.VectorView = VectorView;
|
|
34097
34097
|
exports2.VertexBuffer = VertexBuffer;
|