melonjs 20.2.0 → 20.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -8
- package/build/application/application.d.ts +0 -17
- package/build/application/application.d.ts.map +1 -1
- package/build/application/settings.d.ts +6 -2
- package/build/application/settings.d.ts.map +1 -1
- package/build/audio/audio.d.ts +2 -2
- package/build/audio/audio.d.ts.map +1 -1
- package/build/audio/backend/buffer.d.ts +26 -0
- package/build/audio/backend/buffer.d.ts.map +1 -0
- package/build/audio/backend/cache.d.ts +2 -0
- package/build/audio/backend/cache.d.ts.map +1 -0
- package/build/audio/backend/core.d.ts +24 -0
- package/build/audio/backend/core.d.ts.map +1 -0
- package/build/audio/backend/engine.d.ts +35 -0
- package/build/audio/backend/engine.d.ts.map +1 -0
- package/build/audio/backend/sound.d.ts +29 -0
- package/build/audio/backend/sound.d.ts.map +1 -0
- package/build/audio/backend/spatial.d.ts +191 -0
- package/build/audio/backend/spatial.d.ts.map +1 -0
- package/build/audio/backend/types.d.ts +107 -0
- package/build/audio/backend/types.d.ts.map +1 -0
- package/build/audio/backend/voice.d.ts +8 -0
- package/build/audio/backend/voice.d.ts.map +1 -0
- package/build/audio/playback.d.ts +49 -4
- package/build/audio/playback.d.ts.map +1 -1
- package/build/audio/procedural.d.ts.map +1 -1
- package/build/audio/state.d.ts +69 -0
- package/build/audio/state.d.ts.map +1 -0
- package/build/audio/types.d.ts +93 -1
- package/build/audio/types.d.ts.map +1 -1
- package/build/camera/camera2d.d.ts +0 -68
- package/build/camera/camera2d.d.ts.map +1 -1
- package/build/camera/camera3d.d.ts +91 -84
- package/build/camera/camera3d.d.ts.map +1 -1
- package/build/camera/effects/fade_effect.d.ts +0 -5
- package/build/camera/effects/fade_effect.d.ts.map +1 -1
- package/build/camera/effects/mask_effect.d.ts +0 -5
- package/build/camera/effects/mask_effect.d.ts.map +1 -1
- package/build/camera/fog.d.ts +118 -0
- package/build/camera/fog.d.ts.map +1 -0
- package/build/const.d.ts +2 -2
- package/build/geometries/box3d.d.ts +0 -28
- package/build/geometries/box3d.d.ts.map +1 -1
- package/build/geometries/ellipse.d.ts +0 -20
- package/build/geometries/ellipse.d.ts.map +1 -1
- package/build/geometries/observablePoint.d.ts +0 -3
- package/build/geometries/observablePoint.d.ts.map +1 -1
- package/build/geometries/path2d.d.ts +0 -19
- package/build/geometries/path2d.d.ts.map +1 -1
- package/build/geometries/polygon.d.ts +0 -12
- package/build/geometries/polygon.d.ts.map +1 -1
- package/build/geometries/roundrect.d.ts +0 -18
- package/build/geometries/roundrect.d.ts.map +1 -1
- package/build/geometries/sphere.d.ts +0 -9
- package/build/geometries/sphere.d.ts.map +1 -1
- package/build/geometries/toarccanvas.d.ts.map +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +12150 -11289
- package/build/index.js.map +4 -4
- package/build/input/gamepad.d.ts.map +1 -1
- package/build/input/input.d.ts +19 -0
- package/build/input/input.d.ts.map +1 -1
- package/build/input/pointer.d.ts +0 -4
- package/build/input/pointer.d.ts.map +1 -1
- package/build/input/pointerevent.d.ts +0 -6
- package/build/input/pointerevent.d.ts.map +1 -1
- package/build/lang/deprecated.d.ts +4 -2
- package/build/lang/deprecated.d.ts.map +1 -1
- package/build/level/gltf/GLTFModel.d.ts +0 -81
- package/build/level/gltf/GLTFModel.d.ts.map +1 -1
- package/build/level/gltf/GLTFScene.d.ts +13 -44
- package/build/level/gltf/GLTFScene.d.ts.map +1 -1
- package/build/level/gltf/gltf_sampler.d.ts +1 -48
- package/build/level/gltf/gltf_sampler.d.ts.map +1 -1
- package/build/level/level.d.ts +195 -113
- package/build/level/level.d.ts.map +1 -1
- package/build/level/tiled/TMXGroup.d.ts +1 -65
- package/build/level/tiled/TMXGroup.d.ts.map +1 -1
- package/build/level/tiled/TMXLayer.d.ts +0 -44
- package/build/level/tiled/TMXLayer.d.ts.map +1 -1
- package/build/level/tiled/TMXObject.d.ts +1 -136
- package/build/level/tiled/TMXObject.d.ts.map +1 -1
- package/build/level/tiled/TMXObjectFactory.d.ts +1 -40
- package/build/level/tiled/TMXObjectFactory.d.ts.map +1 -1
- package/build/level/tiled/TMXTile.d.ts +1 -30
- package/build/level/tiled/TMXTile.d.ts.map +1 -1
- package/build/level/tiled/TMXTileMap.d.ts +0 -10
- package/build/level/tiled/TMXTileMap.d.ts.map +1 -1
- package/build/level/tiled/TMXTileset.d.ts +0 -113
- package/build/level/tiled/TMXTileset.d.ts.map +1 -1
- package/build/level/tiled/TMXTilesetGroup.d.ts +0 -1
- package/build/level/tiled/TMXTilesetGroup.d.ts.map +1 -1
- package/build/level/tiled/TMXUtils.d.ts +1 -43
- package/build/level/tiled/TMXUtils.d.ts.map +1 -1
- package/build/level/tiled/factories/shape.d.ts +1 -7
- package/build/level/tiled/factories/shape.d.ts.map +1 -1
- package/build/level/tiled/factories/text.d.ts +1 -7
- package/build/level/tiled/factories/text.d.ts.map +1 -1
- package/build/level/tiled/factories/tile.d.ts +1 -7
- package/build/level/tiled/factories/tile.d.ts.map +1 -1
- package/build/level/tiled/renderer/TMXHexagonalRenderer.d.ts +0 -60
- package/build/level/tiled/renderer/TMXHexagonalRenderer.d.ts.map +1 -1
- package/build/level/tiled/renderer/TMXIsometricRenderer.d.ts +0 -42
- package/build/level/tiled/renderer/TMXIsometricRenderer.d.ts.map +1 -1
- package/build/level/tiled/renderer/TMXObliqueRenderer.d.ts +0 -5
- package/build/level/tiled/renderer/TMXObliqueRenderer.d.ts.map +1 -1
- package/build/level/tiled/renderer/TMXOrthogonalRenderer.d.ts +0 -31
- package/build/level/tiled/renderer/TMXOrthogonalRenderer.d.ts.map +1 -1
- package/build/level/tiled/renderer/TMXRenderer.d.ts +2 -2
- package/build/level/tiled/renderer/TMXRenderer.d.ts.map +1 -1
- package/build/level/tiled/renderer/TMXStaggeredRenderer.d.ts.map +1 -1
- package/build/level/tiled/renderer/autodetect.d.ts +1 -6
- package/build/level/tiled/renderer/autodetect.d.ts.map +1 -1
- package/build/lighting/light2d.d.ts +0 -25
- package/build/lighting/light2d.d.ts.map +1 -1
- package/build/lighting/light3d.d.ts +0 -16
- package/build/lighting/light3d.d.ts.map +1 -1
- package/build/loader/loader.d.ts +46 -73
- package/build/loader/loader.d.ts.map +1 -1
- package/build/loader/loadingscreen.d.ts +0 -33
- package/build/loader/loadingscreen.d.ts.map +1 -1
- package/build/loader/parsers/aseprite.d.ts +0 -13
- package/build/loader/parsers/aseprite.d.ts.map +1 -1
- package/build/loader/parsers/audio.d.ts +2 -0
- package/build/loader/parsers/audio.d.ts.map +1 -0
- package/build/loader/parsers/binary.d.ts +1 -10
- package/build/loader/parsers/binary.d.ts.map +1 -1
- package/build/loader/parsers/compressed_textures/compressed_image.d.ts.map +1 -1
- package/build/loader/parsers/compressed_textures/parseDDS.d.ts +1 -7
- package/build/loader/parsers/compressed_textures/parseDDS.d.ts.map +1 -1
- package/build/loader/parsers/compressed_textures/parseKTX.d.ts +1 -7
- package/build/loader/parsers/compressed_textures/parseKTX.d.ts.map +1 -1
- package/build/loader/parsers/compressed_textures/parseKTX2.d.ts +1 -7
- package/build/loader/parsers/compressed_textures/parseKTX2.d.ts.map +1 -1
- package/build/loader/parsers/compressed_textures/parsePKM.d.ts +1 -7
- package/build/loader/parsers/compressed_textures/parsePKM.d.ts.map +1 -1
- package/build/loader/parsers/compressed_textures/parsePVR.d.ts +1 -7
- package/build/loader/parsers/compressed_textures/parsePVR.d.ts.map +1 -1
- package/build/loader/parsers/fontface.d.ts +1 -13
- package/build/loader/parsers/fontface.d.ts.map +1 -1
- package/build/loader/parsers/gltf.d.ts +1 -70
- package/build/loader/parsers/gltf.d.ts.map +1 -1
- package/build/loader/parsers/image.d.ts +1 -22
- package/build/loader/parsers/image.d.ts.map +1 -1
- package/build/loader/parsers/json.d.ts +1 -10
- package/build/loader/parsers/json.d.ts.map +1 -1
- package/build/loader/parsers/mtl.d.ts +1 -28
- package/build/loader/parsers/mtl.d.ts.map +1 -1
- package/build/loader/parsers/obj.d.ts +1 -59
- package/build/loader/parsers/obj.d.ts.map +1 -1
- package/build/loader/parsers/pbr.d.ts +1 -62
- package/build/loader/parsers/pbr.d.ts.map +1 -1
- package/build/loader/parsers/script.d.ts +1 -10
- package/build/loader/parsers/script.d.ts.map +1 -1
- package/build/loader/parsers/shader.d.ts +1 -52
- package/build/loader/parsers/shader.d.ts.map +1 -1
- package/build/loader/parsers/tmx.d.ts +1 -10
- package/build/loader/parsers/tmx.d.ts.map +1 -1
- package/build/loader/parsers/video.d.ts +1 -10
- package/build/loader/parsers/video.d.ts.map +1 -1
- package/build/math/color.d.ts.map +1 -1
- package/build/math/noise.d.ts +0 -40
- package/build/math/noise.d.ts.map +1 -1
- package/build/math/observableVector2d.d.ts +0 -3
- package/build/math/observableVector2d.d.ts.map +1 -1
- package/build/math/observableVector3d.d.ts +0 -3
- package/build/math/observableVector3d.d.ts.map +1 -1
- package/build/math/vector2d.d.ts +0 -6
- package/build/math/vector2d.d.ts.map +1 -1
- package/build/math/vertex.d.ts +25 -0
- package/build/math/vertex.d.ts.map +1 -1
- package/build/particles/emitter.d.ts +0 -65
- package/build/particles/emitter.d.ts.map +1 -1
- package/build/particles/particle.d.ts +0 -81
- package/build/particles/particle.d.ts.map +1 -1
- package/build/physics/adapter.d.ts +3 -3
- package/build/physics/bounds.d.ts +0 -1
- package/build/physics/bounds.d.ts.map +1 -1
- package/build/physics/broadphase/broadphase.d.ts +0 -7
- package/build/physics/broadphase/broadphase.d.ts.map +1 -1
- package/build/physics/broadphase/octree.d.ts +0 -91
- package/build/physics/broadphase/octree.d.ts.map +1 -1
- package/build/physics/broadphase/quadtree.d.ts +0 -47
- package/build/physics/broadphase/quadtree.d.ts.map +1 -1
- package/build/physics/builtin/body.d.ts +5 -69
- package/build/physics/builtin/body.d.ts.map +1 -1
- package/build/physics/builtin/detector.d.ts +0 -312
- package/build/physics/builtin/detector.d.ts.map +1 -1
- package/build/physics/builtin/sat.d.ts +1 -48
- package/build/physics/builtin/sat.d.ts.map +1 -1
- package/build/physics/builtin/sat3d.d.ts +1 -56
- package/build/physics/builtin/sat3d.d.ts.map +1 -1
- package/build/physics/collision.d.ts +0 -2
- package/build/physics/collision.d.ts.map +1 -1
- package/build/physics/response.d.ts +0 -1
- package/build/physics/response.d.ts.map +1 -1
- package/build/physics/world.d.ts.map +1 -1
- package/build/plugin/plugin.d.ts +9 -1
- package/build/plugin/plugin.d.ts.map +1 -1
- package/build/polyfill/index.d.ts +1 -4
- package/build/polyfill/index.d.ts.map +1 -1
- package/build/renderable/anchorPoint.d.ts +1 -73
- package/build/renderable/anchorPoint.d.ts.map +1 -1
- package/build/renderable/animation.d.ts +0 -7
- package/build/renderable/animation.d.ts.map +1 -1
- package/build/renderable/colorlayer.d.ts +0 -5
- package/build/renderable/colorlayer.d.ts.map +1 -1
- package/build/renderable/container.d.ts +0 -55
- package/build/renderable/container.d.ts.map +1 -1
- package/build/renderable/draggable.d.ts +0 -5
- package/build/renderable/draggable.d.ts.map +1 -1
- package/build/renderable/dragndrop.d.ts +1 -12
- package/build/renderable/dragndrop.d.ts.map +1 -1
- package/build/renderable/entity/entity.d.ts +0 -8
- package/build/renderable/entity/entity.d.ts.map +1 -1
- package/build/renderable/frameAnimation.d.ts +0 -41
- package/build/renderable/frameAnimation.d.ts.map +1 -1
- package/build/renderable/groundshadow.d.ts +1 -91
- package/build/renderable/groundshadow.d.ts.map +1 -1
- package/build/renderable/imagelayer.d.ts +0 -29
- package/build/renderable/imagelayer.d.ts.map +1 -1
- package/build/renderable/instanced_mesh.d.ts +26 -104
- package/build/renderable/instanced_mesh.d.ts.map +1 -1
- package/build/renderable/mesh.d.ts +145 -140
- package/build/renderable/mesh.d.ts.map +1 -1
- package/build/renderable/nineslicesprite.d.ts +0 -4
- package/build/renderable/nineslicesprite.d.ts.map +1 -1
- package/build/renderable/renderable.d.ts +17 -54
- package/build/renderable/renderable.d.ts.map +1 -1
- package/build/renderable/sprite.d.ts +7 -52
- package/build/renderable/sprite.d.ts.map +1 -1
- package/build/renderable/sprite3d.d.ts +0 -95
- package/build/renderable/sprite3d.d.ts.map +1 -1
- package/build/renderable/text/bitmaptext.d.ts +0 -14
- package/build/renderable/text/bitmaptext.d.ts.map +1 -1
- package/build/renderable/text/bitmaptextdata.d.ts +0 -22
- package/build/renderable/text/bitmaptextdata.d.ts.map +1 -1
- package/build/renderable/text/glyph.d.ts +1 -39
- package/build/renderable/text/glyph.d.ts.map +1 -1
- package/build/renderable/text/text.d.ts +0 -20
- package/build/renderable/text/text.d.ts.map +1 -1
- package/build/renderable/text/textstyle.d.ts +1 -5
- package/build/renderable/text/textstyle.d.ts.map +1 -1
- package/build/renderable/trail.d.ts +0 -29
- package/build/renderable/trail.d.ts.map +1 -1
- package/build/renderable/trigger.d.ts +0 -6
- package/build/renderable/trigger.d.ts.map +1 -1
- package/build/renderable/ui/uibaseelement.d.ts +0 -40
- package/build/renderable/ui/uibaseelement.d.ts.map +1 -1
- package/build/renderable/ui/uispriteelement.d.ts +0 -35
- package/build/renderable/ui/uispriteelement.d.ts.map +1 -1
- package/build/state/stage.d.ts +4 -68
- package/build/state/stage.d.ts.map +1 -1
- package/build/state/state.d.ts.map +1 -1
- package/build/system/device.d.ts +0 -12
- package/build/system/device.d.ts.map +1 -1
- package/build/system/dom.d.ts +1 -8
- package/build/system/dom.d.ts.map +1 -1
- package/build/system/event.d.ts +1 -1
- package/build/system/legacy_pool.d.ts +1 -6
- package/build/system/legacy_pool.d.ts.map +1 -1
- package/build/system/platform.d.ts +21 -2
- package/build/system/platform.d.ts.map +1 -1
- package/build/system/pool.d.ts +0 -9
- package/build/system/pool.d.ts.map +1 -1
- package/build/system/save.d.ts.map +1 -1
- package/build/system/timer.d.ts +0 -20
- package/build/system/timer.d.ts.map +1 -1
- package/build/tweens/tween.d.ts +0 -62
- package/build/tweens/tween.d.ts.map +1 -1
- package/build/utils/array-multimap.d.ts +1 -13
- package/build/utils/array-multimap.d.ts.map +1 -1
- package/build/utils/decode.d.ts.map +1 -1
- package/build/utils/fetchdata.d.ts +2 -0
- package/build/utils/fetchdata.d.ts.map +1 -0
- package/build/utils/utils.d.ts +0 -13
- package/build/utils/utils.d.ts.map +1 -1
- package/build/video/blendmodes.d.ts +1 -106
- package/build/video/blendmodes.d.ts.map +1 -1
- package/build/video/buffer/index.d.ts +1 -39
- package/build/video/buffer/index.d.ts.map +1 -1
- package/build/video/buffer/vertex.d.ts +1 -82
- package/build/video/buffer/vertex.d.ts.map +1 -1
- package/build/video/canvas/canvas_renderer.d.ts +7 -25
- package/build/video/canvas/canvas_renderer.d.ts.map +1 -1
- package/build/video/canvas_factory.d.ts +1 -24
- package/build/video/canvas_factory.d.ts.map +1 -1
- package/build/video/effects/blendEffect.d.ts +0 -54
- package/build/video/effects/blendEffect.d.ts.map +1 -1
- package/build/video/effects/blur.d.ts +4 -4
- package/build/video/effects/blur.d.ts.map +1 -1
- package/build/video/effects/chromaticAberration.d.ts +5 -5
- package/build/video/effects/chromaticAberration.d.ts.map +1 -1
- package/build/video/effects/colorMatrix.d.ts +5 -15
- package/build/video/effects/colorMatrix.d.ts.map +1 -1
- package/build/video/effects/desaturate.d.ts +5 -5
- package/build/video/effects/desaturate.d.ts.map +1 -1
- package/build/video/effects/dissolve.d.ts +4 -4
- package/build/video/effects/dissolve.d.ts.map +1 -1
- package/build/video/effects/dropShadow.d.ts +5 -5
- package/build/video/effects/dropShadow.d.ts.map +1 -1
- package/build/video/effects/flash.d.ts +4 -4
- package/build/video/effects/flash.d.ts.map +1 -1
- package/build/video/effects/glow.d.ts +5 -5
- package/build/video/effects/glow.d.ts.map +1 -1
- package/build/video/effects/glsl_realization.d.ts +1 -17
- package/build/video/effects/glsl_realization.d.ts.map +1 -1
- package/build/video/effects/hologram.d.ts +4 -4
- package/build/video/effects/hologram.d.ts.map +1 -1
- package/build/video/effects/invert.d.ts +5 -5
- package/build/video/effects/invert.d.ts.map +1 -1
- package/build/video/effects/outline.d.ts +6 -6
- package/build/video/effects/outline.d.ts.map +1 -1
- package/build/video/effects/pixelate.d.ts +4 -4
- package/build/video/effects/pixelate.d.ts.map +1 -1
- package/build/video/effects/radialGradient.d.ts +2 -3
- package/build/video/effects/radialGradient.d.ts.map +1 -1
- package/build/video/effects/scanline.d.ts +6 -6
- package/build/video/effects/scanline.d.ts.map +1 -1
- package/build/video/effects/sepia.d.ts +5 -5
- package/build/video/effects/sepia.d.ts.map +1 -1
- package/build/video/effects/shadereffect.d.ts +12 -123
- package/build/video/effects/shadereffect.d.ts.map +1 -1
- package/build/video/effects/shine.d.ts +3 -3
- package/build/video/effects/shine.d.ts.map +1 -1
- package/build/video/effects/tintPulse.d.ts +4 -4
- package/build/video/effects/tintPulse.d.ts.map +1 -1
- package/build/video/effects/vignette.d.ts +6 -6
- package/build/video/effects/vignette.d.ts.map +1 -1
- package/build/video/effects/wave.d.ts +4 -4
- package/build/video/effects/wave.d.ts.map +1 -1
- package/build/video/effects/wgsl/layout.d.ts +1 -27
- package/build/video/effects/wgsl/layout.d.ts.map +1 -1
- package/build/video/effects/wgsl/parse.d.ts +1 -8
- package/build/video/effects/wgsl/parse.d.ts.map +1 -1
- package/build/video/effects/wgsl/scaffold.d.ts +1 -42
- package/build/video/effects/wgsl/scaffold.d.ts.map +1 -1
- package/build/video/effects/wgsl_realization.d.ts +1 -82
- package/build/video/effects/wgsl_realization.d.ts.map +1 -1
- package/build/video/gpu/batcher.d.ts +1 -13
- package/build/video/gpu/batcher.d.ts.map +1 -1
- package/build/video/gpu/instancerecord.d.ts +1 -163
- package/build/video/gpu/instancerecord.d.ts.map +1 -1
- package/build/video/gpu/meshchunk.d.ts +1 -48
- package/build/video/gpu/meshchunk.d.ts.map +1 -1
- package/build/video/gpu/meshvertex.d.ts +1 -53
- package/build/video/gpu/meshvertex.d.ts.map +1 -1
- package/build/video/gpu/primitives.d.ts +1 -59
- package/build/video/gpu/primitives.d.ts.map +1 -1
- package/build/video/gpu/quadcorners.d.ts +1 -10
- package/build/video/gpu/quadcorners.d.ts.map +1 -1
- package/build/video/gpu/textureslots.d.ts +1 -121
- package/build/video/gpu/textureslots.d.ts.map +1 -1
- package/build/video/gpu/texturestore.d.ts +1 -138
- package/build/video/gpu/texturestore.d.ts.map +1 -1
- package/build/video/gpu/topology.d.ts.map +1 -1
- package/build/video/gpu/vertexformat.d.ts +0 -28
- package/build/video/gpu/vertexformat.d.ts.map +1 -1
- package/build/video/gradient.d.ts +0 -81
- package/build/video/gradient.d.ts.map +1 -1
- package/build/video/renderer.d.ts +21 -102
- package/build/video/renderer.d.ts.map +1 -1
- package/build/video/renderstate.d.ts +0 -51
- package/build/video/renderstate.d.ts.map +1 -1
- package/build/video/rendertarget/canvasrendertarget.d.ts +0 -10
- package/build/video/rendertarget/canvasrendertarget.d.ts.map +1 -1
- package/build/video/rendertarget/render_target_pool.d.ts +1 -82
- package/build/video/rendertarget/render_target_pool.d.ts.map +1 -1
- package/build/video/rendertarget/webglrendertarget.d.ts +1 -64
- package/build/video/rendertarget/webglrendertarget.d.ts.map +1 -1
- package/build/video/rendertarget/webgpurendertarget.d.ts +0 -8
- package/build/video/rendertarget/webgpurendertarget.d.ts.map +1 -1
- package/build/video/texture/atlas.d.ts +2 -76
- package/build/video/texture/atlas.d.ts.map +1 -1
- package/build/video/texture/cache.d.ts +0 -136
- package/build/video/texture/cache.d.ts.map +1 -1
- package/build/video/texture/frametexture.d.ts +1 -71
- package/build/video/texture/frametexture.d.ts.map +1 -1
- package/build/video/texture/noise_texture2d.d.ts +0 -43
- package/build/video/texture/noise_texture2d.d.ts.map +1 -1
- package/build/video/texture/parser/aseprite.d.ts +1 -8
- package/build/video/texture/parser/aseprite.d.ts.map +1 -1
- package/build/video/texture/parser/spritesheet.d.ts +1 -8
- package/build/video/texture/parser/spritesheet.d.ts.map +1 -1
- package/build/video/texture/parser/texturepacker.d.ts +1 -8
- package/build/video/texture/parser/texturepacker.d.ts.map +1 -1
- package/build/video/texture/resource.d.ts +0 -9
- package/build/video/texture/resource.d.ts.map +1 -1
- package/build/video/texture/texture2d.d.ts +0 -11
- package/build/video/texture/texture2d.d.ts.map +1 -1
- package/build/video/utils/autodetect.d.ts +1 -5
- package/build/video/utils/autodetect.d.ts.map +1 -1
- package/build/video/webgl/batchers/batcher.d.ts +0 -55
- package/build/video/webgl/batchers/batcher.d.ts.map +1 -1
- package/build/video/webgl/batchers/lit_mesh_batcher.d.ts +0 -14
- package/build/video/webgl/batchers/lit_mesh_batcher.d.ts.map +1 -1
- package/build/video/webgl/batchers/lit_quad_batcher.d.ts +0 -72
- package/build/video/webgl/batchers/lit_quad_batcher.d.ts.map +1 -1
- package/build/video/webgl/batchers/material_batcher.d.ts +0 -89
- package/build/video/webgl/batchers/material_batcher.d.ts.map +1 -1
- package/build/video/webgl/batchers/mesh_batcher.d.ts +14 -343
- package/build/video/webgl/batchers/mesh_batcher.d.ts.map +1 -1
- package/build/video/webgl/batchers/primitive_batcher.d.ts +0 -10
- package/build/video/webgl/batchers/primitive_batcher.d.ts.map +1 -1
- package/build/video/webgl/batchers/quad_batcher.d.ts +0 -30
- package/build/video/webgl/batchers/quad_batcher.d.ts.map +1 -1
- package/build/video/webgl/buffer/index.d.ts +1 -36
- package/build/video/webgl/buffer/index.d.ts.map +1 -1
- package/build/video/webgl/buffer/instance_buffer.d.ts +1 -53
- package/build/video/webgl/buffer/instance_buffer.d.ts.map +1 -1
- package/build/video/webgl/buffer/retained_geometry.d.ts +1 -81
- package/build/video/webgl/buffer/retained_geometry.d.ts.map +1 -1
- package/build/video/webgl/buffer/uniformblock.d.ts +1 -80
- package/build/video/webgl/buffer/uniformblock.d.ts.map +1 -1
- package/build/video/webgl/buffer/vertexstate.d.ts +1 -100
- package/build/video/webgl/buffer/vertexstate.d.ts.map +1 -1
- package/build/video/webgl/glshader.d.ts +2 -51
- package/build/video/webgl/glshader.d.ts.map +1 -1
- package/build/video/webgl/lighting/pack3d.d.ts +1 -47
- package/build/video/webgl/lighting/pack3d.d.ts.map +1 -1
- package/build/video/webgl/lighting/std140.d.ts +1 -109
- package/build/video/webgl/lighting/std140.d.ts.map +1 -1
- package/build/video/webgl/renderers/tmxlayer/orthogonal.d.ts +1 -103
- package/build/video/webgl/renderers/tmxlayer/orthogonal.d.ts.map +1 -1
- package/build/video/webgl/shaders/multitexture-lit.d.ts +1 -26
- package/build/video/webgl/shaders/multitexture-lit.d.ts.map +1 -1
- package/build/video/webgl/shaders/multitexture.d.ts +1 -9
- package/build/video/webgl/shaders/multitexture.d.ts.map +1 -1
- package/build/video/webgl/texture/store.d.ts +1 -50
- package/build/video/webgl/texture/store.d.ts.map +1 -1
- package/build/video/webgl/utils/attributes.d.ts +1 -11
- package/build/video/webgl/utils/attributes.d.ts.map +1 -1
- package/build/video/webgl/utils/maxtextures.d.ts +1 -36
- package/build/video/webgl/utils/maxtextures.d.ts.map +1 -1
- package/build/video/webgl/utils/precision.d.ts +1 -14
- package/build/video/webgl/utils/precision.d.ts.map +1 -1
- package/build/video/webgl/utils/program.d.ts +1 -5
- package/build/video/webgl/utils/program.d.ts.map +1 -1
- package/build/video/webgl/utils/samplercache.d.ts +1 -68
- package/build/video/webgl/utils/samplercache.d.ts.map +1 -1
- package/build/video/webgl/utils/string.d.ts +1 -21
- package/build/video/webgl/utils/string.d.ts.map +1 -1
- package/build/video/webgl/utils/topology.d.ts +1 -23
- package/build/video/webgl/utils/topology.d.ts.map +1 -1
- package/build/video/webgl/utils/uniforms.d.ts +1 -25
- package/build/video/webgl/utils/uniforms.d.ts.map +1 -1
- package/build/video/webgl/utils/vertexformat.d.ts +1 -26
- package/build/video/webgl/utils/vertexformat.d.ts.map +1 -1
- package/build/video/webgl/webgl_renderer.d.ts +24 -286
- package/build/video/webgl/webgl_renderer.d.ts.map +1 -1
- package/build/video/webgpu/batchers/lit_mesh_batcher.d.ts +0 -6
- package/build/video/webgpu/batchers/lit_mesh_batcher.d.ts.map +1 -1
- package/build/video/webgpu/batchers/lit_quad_batcher.d.ts +0 -8
- package/build/video/webgpu/batchers/lit_quad_batcher.d.ts.map +1 -1
- package/build/video/webgpu/batchers/mesh_batcher.d.ts +1 -230
- package/build/video/webgpu/batchers/mesh_batcher.d.ts.map +1 -1
- package/build/video/webgpu/batchers/primitive_batcher.d.ts.map +1 -1
- package/build/video/webgpu/batchers/quad_batcher.d.ts +0 -82
- package/build/video/webgpu/batchers/quad_batcher.d.ts.map +1 -1
- package/build/video/webgpu/buffer/arena.d.ts +1 -63
- package/build/video/webgpu/buffer/arena.d.ts.map +1 -1
- package/build/video/webgpu/buffer/instance_buffer.d.ts +1 -64
- package/build/video/webgpu/buffer/instance_buffer.d.ts.map +1 -1
- package/build/video/webgpu/buffer/retained_geometry.d.ts +1 -54
- package/build/video/webgpu/buffer/retained_geometry.d.ts.map +1 -1
- package/build/video/webgpu/buffer/uniformring.d.ts +1 -67
- package/build/video/webgpu/buffer/uniformring.d.ts.map +1 -1
- package/build/video/webgpu/effect_binding.d.ts +1 -16
- package/build/video/webgpu/effect_binding.d.ts.map +1 -1
- package/build/video/webgpu/pipeline/bindgroups.d.ts +1 -32
- package/build/video/webgpu/pipeline/bindgroups.d.ts.map +1 -1
- package/build/video/webgpu/pipeline/cache.d.ts +1 -163
- package/build/video/webgpu/pipeline/cache.d.ts.map +1 -1
- package/build/video/webgpu/renderers/tmxlayer/orthogonal.d.ts +1 -87
- package/build/video/webgpu/renderers/tmxlayer/orthogonal.d.ts.map +1 -1
- package/build/video/webgpu/shaders/mesh-instanced.d.ts +1 -43
- package/build/video/webgpu/shaders/mesh-instanced.d.ts.map +1 -1
- package/build/video/webgpu/texture/compressed.d.ts +1 -32
- package/build/video/webgpu/texture/compressed.d.ts.map +1 -1
- package/build/video/webgpu/texture/frametexture.d.ts +1 -62
- package/build/video/webgpu/texture/frametexture.d.ts.map +1 -1
- package/build/video/webgpu/texture/store.d.ts +1 -147
- package/build/video/webgpu/texture/store.d.ts.map +1 -1
- package/build/video/webgpu/webgpu_renderer.d.ts +2 -89
- package/build/video/webgpu/webgpu_renderer.d.ts.map +1 -1
- package/package.json +8 -11
- package/skills/AGENTS.md +67 -0
- package/skills/melonjs/SKILL.md +156 -0
- package/skills/melonjs-20-migration/SKILL.md +160 -0
- package/skills/melonjs-3d/SKILL.md +525 -0
- package/skills/melonjs-3d-assets/SKILL.md +258 -0
- package/skills/melonjs-audio/SKILL.md +236 -0
- package/skills/melonjs-camera-and-drawing/SKILL.md +175 -0
- package/skills/melonjs-deployment/SKILL.md +113 -0
- package/skills/melonjs-effects-and-shaders/SKILL.md +178 -0
- package/skills/melonjs-events/SKILL.md +159 -0
- package/skills/melonjs-getting-started/SKILL.md +183 -0
- package/skills/melonjs-input/SKILL.md +166 -0
- package/skills/melonjs-lighting/SKILL.md +139 -0
- package/skills/melonjs-loading-assets/SKILL.md +186 -0
- package/skills/melonjs-particles-and-trails/SKILL.md +136 -0
- package/skills/melonjs-performance/SKILL.md +183 -0
- package/skills/melonjs-physics/SKILL.md +321 -0
- package/skills/melonjs-plugins/SKILL.md +191 -0
- package/skills/melonjs-renderables/SKILL.md +214 -0
- package/skills/melonjs-renderer-backends/SKILL.md +173 -0
- package/skills/melonjs-scenes-and-state/SKILL.md +180 -0
- package/skills/melonjs-sprites-and-animation/SKILL.md +173 -0
- package/skills/melonjs-tilemaps/SKILL.md +213 -0
- package/skills/melonjs-ui-and-text/SKILL.md +65 -0
- package/build/audio/backend.d.ts +0 -140
- package/build/audio/backend.d.ts.map +0 -1
- package/build/loader/parsers/fetchdata.d.ts +0 -32
- package/build/loader/parsers/fetchdata.d.ts.map +0 -1
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import { Matrix3d } from "../math/matrix3d.ts";
|
|
2
1
|
import Container from "./../renderable/container.js";
|
|
3
|
-
import type CanvasRenderer from "../video/canvas/canvas_renderer.js";
|
|
4
|
-
import CanvasRenderTarget from "../video/rendertarget/canvasrendertarget.js";
|
|
5
|
-
import type WebGLRenderer from "../video/webgl/webgl_renderer.js";
|
|
6
2
|
import { type ParticleEmitterSettings } from "./settings.ts";
|
|
7
3
|
/**
|
|
8
4
|
* Particle Emitter Object.
|
|
@@ -55,46 +51,6 @@ export default class ParticleEmitter extends Container {
|
|
|
55
51
|
* the current (active) emitter settings (with defaults merged in)
|
|
56
52
|
*/
|
|
57
53
|
settings: ParticleEmitterSettings;
|
|
58
|
-
/** @ignore */
|
|
59
|
-
_stream: boolean;
|
|
60
|
-
/** @ignore */
|
|
61
|
-
_frequencyTimer: number;
|
|
62
|
-
/** @ignore */
|
|
63
|
-
_durationTimer: number;
|
|
64
|
-
/** @ignore */
|
|
65
|
-
_enabled: boolean;
|
|
66
|
-
/** @ignore */
|
|
67
|
-
_updateCount: number;
|
|
68
|
-
/** @ignore */
|
|
69
|
-
_dt: number;
|
|
70
|
-
/** @ignore */
|
|
71
|
-
_defaultParticle: CanvasRenderTarget | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* whether at least one particle has been spawned by this emitter — used as
|
|
74
|
-
* the precondition for completion detection (a brand-new emitter with zero
|
|
75
|
-
* children must not count as "complete")
|
|
76
|
-
* @ignore
|
|
77
|
-
*/
|
|
78
|
-
_hasSpawned: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* cached `timer.maxfps / 1000` — particles read this directly instead of
|
|
81
|
-
* recomputing it on every spawn.
|
|
82
|
-
* @ignore
|
|
83
|
-
*/
|
|
84
|
-
_deltaInv: number;
|
|
85
|
-
/**
|
|
86
|
-
* Maps an emitter-local spawn point into the reference frame the particles
|
|
87
|
-
* live in, so a particle is BORN where the emitter is even though its
|
|
88
|
-
* position is thereafter measured from somewhere else. `undefined` in
|
|
89
|
-
* local mode, where the two frames coincide and no mapping is needed.
|
|
90
|
-
*
|
|
91
|
-
* Held per emitter (not a module scratch) because particles read it during
|
|
92
|
-
* their own reset, after `addParticles` has computed it. One matrix per
|
|
93
|
-
* emitter that actually uses a non-local space — emitters are few, unlike
|
|
94
|
-
* particles, which allocate nothing.
|
|
95
|
-
* @ignore
|
|
96
|
-
*/
|
|
97
|
-
_spawnMap: Matrix3d | undefined;
|
|
98
54
|
/**
|
|
99
55
|
* @param x - x position of the particle emitter
|
|
100
56
|
* @param y - y position of the particle emitter
|
|
@@ -151,18 +107,6 @@ export default class ParticleEmitter extends Container {
|
|
|
151
107
|
* @returns a random y position within the emitter bounds
|
|
152
108
|
*/
|
|
153
109
|
getRandomPointY(): number;
|
|
154
|
-
/**
|
|
155
|
-
* Draw the particles in their reference frame rather than the emitter's.
|
|
156
|
-
*
|
|
157
|
-
* The correction goes in before `super.draw()` because that is where the
|
|
158
|
-
* child walk happens; translations and the correction compose, and in
|
|
159
|
-
* local mode there is no correction and this is the inherited path
|
|
160
|
-
* untouched.
|
|
161
|
-
* @ignore
|
|
162
|
-
*/
|
|
163
|
-
draw(renderer: CanvasRenderer | WebGLRenderer, viewport?: Parameters<Container["draw"]>[1]): void;
|
|
164
|
-
/** @ignore */
|
|
165
|
-
addParticles(count: number): void;
|
|
166
110
|
/**
|
|
167
111
|
* Emitter is of type stream and is launching particles
|
|
168
112
|
* @returns Emitter is Stream and is launching particles
|
|
@@ -182,14 +126,5 @@ export default class ParticleEmitter extends Container {
|
|
|
182
126
|
* @param [total] - number of particles to launch
|
|
183
127
|
*/
|
|
184
128
|
burstParticles(total?: number): void;
|
|
185
|
-
/**
|
|
186
|
-
* @ignore
|
|
187
|
-
*/
|
|
188
|
-
update(dt: number): boolean;
|
|
189
|
-
/**
|
|
190
|
-
* Destroy function
|
|
191
|
-
* @ignore
|
|
192
|
-
*/
|
|
193
|
-
destroy(): void;
|
|
194
129
|
}
|
|
195
130
|
//# sourceMappingURL=emitter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../../src/particles/emitter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../../src/particles/emitter.ts"],"names":[],"mappings":"AAGA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAMrD,OAA+B,EAC9B,KAAK,uBAAuB,EAC5B,MAAM,eAAe,CAAC;AA+DvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,SAAS;;IACrD;;OAEG;IACH,QAAQ,EAAE,uBAAuB,CAAC;IAoFlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;gBAEF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,QAAQ,GAAE,OAAO,CAAC,uBAAuB,CAAM;IAoCvC,KAAK,CAAC,QAAQ,GAAE,OAAO,CAAC,uBAAuB,CAAM,GAAG,IAAI;IAoDrE;;;;;;;;;;;OAWG;IACH,IAAI,cAAc,IAAI,OAAO,GAAG,OAAO,GAAG,SAAS,CAElD;IAED,IAAI,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,EAQtD;IAyHD;;;OAGG;IACH,eAAe,IAAI,MAAM;IAIzB;;;OAGG;IACH,eAAe,IAAI,MAAM;IAyEzB;;;OAGG;IACH,SAAS,IAAI,OAAO;IAIpB;;;OAGG;IACH,eAAe,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI;IAQxC;;OAEG;IACH,UAAU,IAAI,IAAI;IAIlB;;;OAGG;IACH,cAAc,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;CAsJpC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import type { Matrix3d } from "../math/matrix3d.ts";
|
|
2
1
|
import { Vector2d } from "../math/vector2d.ts";
|
|
3
2
|
import Renderable from "../renderable/renderable.js";
|
|
4
|
-
import CanvasRenderer from "../video/canvas/canvas_renderer.js";
|
|
5
|
-
import WebGLRenderer from "../video/webgl/webgl_renderer.js";
|
|
6
3
|
import ParticleEmitter from "./emitter.ts";
|
|
7
4
|
/**
|
|
8
5
|
* Single Particle Object.
|
|
@@ -20,90 +17,12 @@ export default class Particle extends Renderable {
|
|
|
20
17
|
wind: number;
|
|
21
18
|
followTrajectory: boolean;
|
|
22
19
|
onlyInViewport: boolean;
|
|
23
|
-
_deltaInv: number;
|
|
24
|
-
_halfW: number;
|
|
25
|
-
_halfH: number;
|
|
26
|
-
_angle: number;
|
|
27
20
|
alive: boolean;
|
|
28
21
|
/**
|
|
29
22
|
* @param emitter - the particle emitter
|
|
30
23
|
*/
|
|
31
24
|
constructor(emitter: ParticleEmitter);
|
|
32
|
-
/**
|
|
33
|
-
* Whether the bounds need recomputing before anyone reads them.
|
|
34
|
-
*
|
|
35
|
-
* A `Renderable` refreshes its bounds eagerly, from a callback fired on
|
|
36
|
-
* every `pos` assignment. That is the right trade for a scene object, and
|
|
37
|
-
* the wrong one for a particle: `update()` writes `pos.x` and `pos.y`
|
|
38
|
-
* separately, so the callback fires TWICE per particle per frame, and both
|
|
39
|
-
* runs happen before `currentTransform` is rebuilt — deriving bounds from
|
|
40
|
-
* the previous frame's matrix and then throwing that away. Measured, the
|
|
41
|
-
* redundant pass was about two thirds of the whole particle update loop.
|
|
42
|
-
*
|
|
43
|
-
* So a particle invalidates instead of recomputing, and pays once, on
|
|
44
|
-
* read, for particles something actually looks at.
|
|
45
|
-
*
|
|
46
|
-
* Deliberately not a `#private` field: `updateBounds()` is reached from the
|
|
47
|
-
* base constructor chain (`Polygon.setVertices`) before a subclass's field
|
|
48
|
-
* initializers have run, and writing an undeclared private field throws.
|
|
49
|
-
* @ignore
|
|
50
|
-
*/
|
|
51
|
-
_boundsDirty: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* @ignore
|
|
54
|
-
*/
|
|
55
|
-
onResetEvent(emitter: ParticleEmitter, newInstance?: boolean): void;
|
|
56
|
-
/**
|
|
57
|
-
* Update the Particle <br>
|
|
58
|
-
* This is automatically called by the game manager {@link game}
|
|
59
|
-
* @ignore
|
|
60
|
-
* @param dt - time since the last update in milliseconds
|
|
61
|
-
*/
|
|
62
|
-
update(dt: number): boolean;
|
|
63
|
-
/**
|
|
64
|
-
* `autoTransform` is off (see `onResetEvent`), so the base `preDraw` will
|
|
65
|
-
* not apply the matrix — append it here instead, unconjugated. Appending
|
|
66
|
-
* after `super` rather than splicing into it is order-equivalent for a
|
|
67
|
-
* particle specifically: no flip, no mask, and the anchor is zeroed, so
|
|
68
|
-
* nothing the base method emits interacts with this.
|
|
69
|
-
* @ignore
|
|
70
|
-
*/
|
|
71
|
-
preDraw(renderer: CanvasRenderer | WebGLRenderer): void;
|
|
72
|
-
/**
|
|
73
|
-
* `currentTransform` already places the particle, so the frame it
|
|
74
|
-
* produces is positioned — only the ancestors' contribution is still
|
|
75
|
-
* missing. The base implementation would add this particle's own `pos` on
|
|
76
|
-
* top of a matrix that already contains it, counting it twice.
|
|
77
|
-
* @ignore
|
|
78
|
-
*/
|
|
79
|
-
/**
|
|
80
|
-
* Bounds are recomputed here rather than when `pos` moves, so a particle
|
|
81
|
-
* nothing looks at this frame pays nothing at all.
|
|
82
|
-
*
|
|
83
|
-
* `updateBounds()` deliberately keeps its eager contract — a caller that
|
|
84
|
-
* asks for a recompute, such as {@link Container} aggregating child bounds
|
|
85
|
-
* under `enableChildBoundsUpdate`, still gets fresh values back.
|
|
86
|
-
* @ignore
|
|
87
|
-
*/
|
|
88
|
-
getBounds(): Bounds;
|
|
89
25
|
updateBounds(absolute?: boolean): any;
|
|
90
|
-
/**
|
|
91
|
-
* A particle is positioned within its reference frame, which is not
|
|
92
|
-
* necessarily its parent — so summing up the ancestor chain, as the base
|
|
93
|
-
* implementation does, would measure from the wrong place.
|
|
94
|
-
* @ignore
|
|
95
|
-
*/
|
|
96
|
-
getAbsolutePosition(): any;
|
|
97
|
-
/**
|
|
98
|
-
* With the placement in `currentTransform` and `autoTransform` off, the
|
|
99
|
-
* base composition would describe a transform this class never applies.
|
|
100
|
-
* @ignore
|
|
101
|
-
*/
|
|
102
|
-
getLocalTransform(out: Matrix3d): Matrix3d;
|
|
103
|
-
/**
|
|
104
|
-
* @ignore
|
|
105
|
-
*/
|
|
106
|
-
draw(renderer: CanvasRenderer | WebGLRenderer): void;
|
|
107
26
|
}
|
|
108
27
|
export declare const particlePool: import("../system/pool.ts").Pool<Particle, [emitter: ParticleEmitter]>;
|
|
109
28
|
//# sourceMappingURL=particle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"particle.d.ts","sourceRoot":"","sources":["../../src/particles/particle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"particle.d.ts","sourceRoot":"","sources":["../../src/particles/particle.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAgB,MAAM,qBAAqB,CAAC;AAK7D,OAAO,UAAU,MAAM,6BAA6B,CAAC;AAIrD,OAAO,eAAe,MAAM,cAAc,CAAC;AAU3C;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,UAAU;;IAC/C,GAAG,EAAE,QAAQ,CAAC;IACd,KAAK,EAAE,iBAAiB,GAAG,gBAAgB,CAAC;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IAqBxB,KAAK,EAAE,OAAO,CAAC;IAEf;;OAEG;gBACS,OAAO,EAAE,eAAe;IAiU3B,YAAY,CAAC,QAAQ,UAAO;CA+FrC;AAED,eAAO,MAAM,YAAY,wEAWxB,CAAC"}
|
|
@@ -158,13 +158,13 @@ export interface CollisionResponse {
|
|
|
158
158
|
*/
|
|
159
159
|
pair?: unknown;
|
|
160
160
|
/**
|
|
161
|
-
* @deprecated Use `depth`. Built-in SAT legacy field; kept on modern
|
|
161
|
+
* @deprecated since 19.5.0 - Use `depth`. Built-in SAT legacy field; kept on modern
|
|
162
162
|
* handler dispatches for migration. `undefined` under
|
|
163
163
|
* `@melonjs/matter-adapter`.
|
|
164
164
|
*/
|
|
165
165
|
overlap?: number;
|
|
166
166
|
/**
|
|
167
|
-
* @deprecated Use `normal`. Built-in SAT legacy field; flipped per
|
|
167
|
+
* @deprecated since 19.5.0 - Use `normal`. Built-in SAT legacy field; flipped per
|
|
168
168
|
* receiver so the sign convention aligns with `normal` on the modern
|
|
169
169
|
* dispatch. `undefined` under `@melonjs/matter-adapter`.
|
|
170
170
|
*/
|
|
@@ -173,7 +173,7 @@ export interface CollisionResponse {
|
|
|
173
173
|
y: number;
|
|
174
174
|
};
|
|
175
175
|
/**
|
|
176
|
-
* @deprecated Built-in SAT legacy field, equal to `normal × depth`.
|
|
176
|
+
* @deprecated since 19.5.0 - Built-in SAT legacy field, equal to `normal × depth`.
|
|
177
177
|
* Flipped per receiver. `undefined` under `@melonjs/matter-adapter`.
|
|
178
178
|
*/
|
|
179
179
|
overlapV?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bounds.d.ts","sourceRoot":"","sources":["../../src/physics/bounds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAS5C;;;GAGG;AACH,qBAAa,MAAM;
|
|
1
|
+
{"version":3,"file":"bounds.d.ts","sourceRoot":"","sources":["../../src/physics/bounds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAq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;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,yFAcrB,CAAC"}
|
|
@@ -32,13 +32,6 @@ export interface Broadphase<TItem = unknown> {
|
|
|
32
32
|
objects: TItem[];
|
|
33
33
|
/** subnodes (empty until {@link Broadphase.split} fires). */
|
|
34
34
|
nodes: Broadphase<TItem>[];
|
|
35
|
-
/**
|
|
36
|
-
* Total items in this subtree (own `objects` + descendants).
|
|
37
|
-
* Maintained by `insert` / `remove` so {@link Broadphase.isPrunable}
|
|
38
|
-
* and {@link Broadphase.hasChildren} are O(1) reads.
|
|
39
|
-
* @ignore
|
|
40
|
-
*/
|
|
41
|
-
_subtreeCount: number;
|
|
42
35
|
/** Insert one item. Splits + redistributes if `max_objects` is exceeded. */
|
|
43
36
|
insert(item: TItem): void;
|
|
44
37
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"broadphase.d.ts","sourceRoot":"","sources":["../../../src/physics/broadphase/broadphase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,UAAU,CAAC,KAAK,GAAG,OAAO;IAC1C,wCAAwC;IACxC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,8DAA8D;IAC9D,WAAW,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,6DAA6D;IAC7D,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"broadphase.d.ts","sourceRoot":"","sources":["../../../src/physics/broadphase/broadphase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,UAAU,CAAC,KAAK,GAAG,OAAO;IAC1C,wCAAwC;IACxC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,8DAA8D;IAC9D,WAAW,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,6DAA6D;IAC7D,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;IAU3B,4EAA4E;IAC5E,MAAM,CAAC,IAAI,EAAE,KAAK,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CACP,IAAI,EAAE,KAAK,EACX,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,KAAK,MAAM,EACnC,MAAM,CAAC,EAAE,KAAK,EAAE,GACd,KAAK,EAAE,CAAC;IACX,mEAAmE;IACnE,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5C,qDAAqD;IACrD,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5C,0EAA0E;IAC1E,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,wDAAwD;IACxD,UAAU,IAAI,OAAO,CAAC;IACtB,iEAAiE;IACjE,WAAW,IAAI,OAAO,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,KAAK,GAAG,MAAM,CAAC;IAC9B,kEAAkE;IAClE,KAAK,IAAI,IAAI,CAAC;CACd"}
|
|
@@ -95,16 +95,6 @@ export default class Octree implements Broadphase<OctreeItem> {
|
|
|
95
95
|
level: number;
|
|
96
96
|
objects: OctreeItem[];
|
|
97
97
|
nodes: Octree[];
|
|
98
|
-
/**
|
|
99
|
-
* see {@link QuadTree._subtreeCount} — same invariant.
|
|
100
|
-
* @ignore
|
|
101
|
-
*/
|
|
102
|
-
_subtreeCount: number;
|
|
103
|
-
/**
|
|
104
|
-
* see {@link QuadTree._retrieveScratch} — same contract.
|
|
105
|
-
* @ignore
|
|
106
|
-
*/
|
|
107
|
-
_retrieveScratch: OctreeItem[] | null;
|
|
108
98
|
/**
|
|
109
99
|
* @param world - the physic world this Octree belongs to
|
|
110
100
|
* @param bounds - bounds of the node
|
|
@@ -143,41 +133,6 @@ export default class Octree implements Broadphase<OctreeItem> {
|
|
|
143
133
|
* @returns octant index (0-7) or -1
|
|
144
134
|
*/
|
|
145
135
|
getIndex(item: OctreeItem): number;
|
|
146
|
-
/**
|
|
147
|
-
* Classify an item into one of this node's four x/y quadrants,
|
|
148
|
-
* **ignoring z entirely**. Returns the near-half octant index
|
|
149
|
-
* (0-3, so `+ 4` gives the far-half sibling), or -1 when the item
|
|
150
|
-
* straddles a midpoint or lies outside this node in x/y.
|
|
151
|
-
*
|
|
152
|
-
* Split out of {@link Octree.getIndex} for {@link Octree.retrieve},
|
|
153
|
-
* whose consumers all decide overlap in the XY plane and therefore
|
|
154
|
-
* need x/y pruning WITHOUT a depth opinion. Routing that through
|
|
155
|
-
* `getIndex` instead would reject the item from its own z-sibling
|
|
156
|
-
* on the depth out-of-bounds guard, collapsing that entire subtree
|
|
157
|
-
* into an unpruned walk — measured at ~10× the nodes visited on a
|
|
158
|
-
* depth-spread scene.
|
|
159
|
-
*
|
|
160
|
-
* Boundary convention: a midpoint belongs to the RIGHT / BOTTOM
|
|
161
|
-
* child, and an item whose far edge merely touches a midpoint still
|
|
162
|
-
* counts as wholly inside the near side — `<=` / `>=` rather than
|
|
163
|
-
* strict, because an item sitting exactly ON a midpoint lies wholly
|
|
164
|
-
* within one child and must descend. Only a genuine STRADDLE
|
|
165
|
-
* belongs at this level.
|
|
166
|
-
*
|
|
167
|
-
* This matters more than it looks: the root box is origin-centred,
|
|
168
|
-
* so its midpoints are (0, 0, 0) — the default `pos` of every
|
|
169
|
-
* renderable. Under strict comparisons an entire gameplay plane
|
|
170
|
-
* classified as -1 and sat unpartitioned at the root.
|
|
171
|
-
*
|
|
172
|
-
* Safety: two items separated by a midpoint cannot overlap. If A
|
|
173
|
-
* lies left (`A.right <= mid`) and B lies right (`B.left >= mid`)
|
|
174
|
-
* then `A.right <= B.left`, and touching edges are not an overlap
|
|
175
|
-
* under the engine's strict bounds test.
|
|
176
|
-
* @param item - the object to classify
|
|
177
|
-
* @returns near-half octant index (0-3) or -1
|
|
178
|
-
* @ignore
|
|
179
|
-
*/
|
|
180
|
-
_quadrantXY(item: OctreeItem): number;
|
|
181
136
|
/**
|
|
182
137
|
* Insert the given object container into the node — recursively
|
|
183
138
|
* walks `Container.getChildren()` and inserts each non-kinematic
|
|
@@ -245,12 +200,6 @@ export default class Octree implements Broadphase<OctreeItem> {
|
|
|
245
200
|
* @returns the collected candidates
|
|
246
201
|
*/
|
|
247
202
|
querySphere(cx: number, cy: number, cz: number, r: number, result?: OctreeItem[]): OctreeItem[];
|
|
248
|
-
/**
|
|
249
|
-
* Loose-floats implementation. Recursive subnode walks call this
|
|
250
|
-
* directly to bypass the Sphere/floats dispatch on every node.
|
|
251
|
-
* @ignore
|
|
252
|
-
*/
|
|
253
|
-
_querySphereInternal(cx: number, cy: number, cz: number, r: number, result?: OctreeItem[]): OctreeItem[];
|
|
254
203
|
/**
|
|
255
204
|
* Return every object whose containing octant lies on the
|
|
256
205
|
* positive side of all six frustum planes — i.e. every potential
|
|
@@ -316,45 +265,5 @@ export default class Octree implements Broadphase<OctreeItem> {
|
|
|
316
265
|
* @param [bounds] - the new root bounds (resize on clear)
|
|
317
266
|
*/
|
|
318
267
|
clear(bounds?: AABB3d): void;
|
|
319
|
-
/**
|
|
320
|
-
* Conservative outside-frustum test using the positive-vertex
|
|
321
|
-
* method (Gribb–Hartmann). Returns true iff the octant is
|
|
322
|
-
* provably outside ANY one plane, i.e. wholly outside the
|
|
323
|
-
* frustum.
|
|
324
|
-
* @ignore
|
|
325
|
-
*/
|
|
326
|
-
_outsideFrustum(planes: FrustumPlane[]): boolean;
|
|
327
|
-
/**
|
|
328
|
-
* Slab method for ray–AABB intersection. Returns true iff the
|
|
329
|
-
* segment `from + t·dir`, `t ∈ [0, tMax]`, intersects this
|
|
330
|
-
* node's octant. dir components may be zero; the axis with zero
|
|
331
|
-
* direction degenerates to a point-in-slab test.
|
|
332
|
-
* @ignore
|
|
333
|
-
*/
|
|
334
|
-
_overlapsRay(fromX: number, fromY: number, fromZ: number, dirX: number, dirY: number, dirZ: number, tMax: number): boolean;
|
|
335
|
-
/** @ignore */
|
|
336
|
-
_overlapsAABB(aabb: AABB3d): boolean;
|
|
337
|
-
/** @ignore */
|
|
338
|
-
_overlapsSphere(cx: number, cy: number, cz: number, r: number): boolean;
|
|
339
|
-
}
|
|
340
|
-
/**
|
|
341
|
-
* Structural shape consumed by `insertContainer` / `removeContainer`
|
|
342
|
-
* — captures only the fields the walk inspects. Same approach as
|
|
343
|
-
* QuadTree. `getChildren` is optional because leaf renderables don't
|
|
344
|
-
* have it; the recursive walk narrows via {@link hasGetChildren}.
|
|
345
|
-
* @ignore
|
|
346
|
-
*/
|
|
347
|
-
interface ContainerOrChild extends OctreeItem {
|
|
348
|
-
addChild?: (...args: unknown[]) => unknown;
|
|
349
|
-
getChildren?: () => ContainerOrChild[];
|
|
350
268
|
}
|
|
351
|
-
/** @ignore */
|
|
352
|
-
type ContainerLike = {
|
|
353
|
-
getChildren(): ContainerOrChild[];
|
|
354
|
-
};
|
|
355
|
-
/** @ignore */
|
|
356
|
-
type ContainerLikeOptional = {
|
|
357
|
-
getChildren?(): ContainerOrChild[];
|
|
358
|
-
};
|
|
359
|
-
export {};
|
|
360
269
|
//# sourceMappingURL=octree.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"octree.d.ts","sourceRoot":"","sources":["../../../src/physics/broadphase/octree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC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,EAAE,MAAM,CAAC,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE;IAgC5D;;;;;;;;;;OAUG;IACH,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE;IAChE;;;;;;;OAOG;IACH,WAAW,CACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,CAAC,EAAE,MAAM,EACT,MAAM,CAAC,EAAE,UAAU,EAAE,GACnB,UAAU,EAAE;IAkEf;;;;;;;;;;;;;;;;;OAiBG;IACH,YAAY,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE,MAAM,CAAC,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE;IA8BzE;;;;;;;;;;;;;;;;;;;OAmBG;IACH,QAAQ,CACP,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,UAAU,EAAE,GACnB,UAAU,EAAE;IAwCf;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO;IAmDjC;;OAEG;IACH,UAAU,IAAI,OAAO;IAIrB;;;OAGG;IACH,WAAW,IAAI,OAAO;IAItB;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM;CAiKrB"}
|
|
@@ -47,22 +47,6 @@ export default class QuadTree implements Broadphase<QuadTreeItem> {
|
|
|
47
47
|
level: number;
|
|
48
48
|
objects: QuadTreeItem[];
|
|
49
49
|
nodes: QuadTree[];
|
|
50
|
-
/**
|
|
51
|
-
* Total number of objects in this subtree (this node's own
|
|
52
|
-
* `objects` plus every descendant's). Maintained by `insert`
|
|
53
|
-
* and `remove` so `isPrunable` / `hasChildren` are O(1) reads
|
|
54
|
-
* instead of O(tree-size) walks. Reset to 0 in `clear`.
|
|
55
|
-
* @ignore
|
|
56
|
-
*/
|
|
57
|
-
_subtreeCount: number;
|
|
58
|
-
/**
|
|
59
|
-
* Root-only scratch array reused across `retrieve` calls to
|
|
60
|
-
* avoid allocating a fresh array per pointer event / per
|
|
61
|
-
* narrow-phase query. Only the root allocates one; recursive
|
|
62
|
-
* subnode calls receive the array via the `result` arg.
|
|
63
|
-
* @ignore
|
|
64
|
-
*/
|
|
65
|
-
_retrieveScratch: QuadTreeItem[] | null;
|
|
66
50
|
/**
|
|
67
51
|
* @param world - the physic world this QuadTree belongs to
|
|
68
52
|
* @param bounds - bounds of the node
|
|
@@ -150,35 +134,4 @@ export default class QuadTree implements Broadphase<QuadTreeItem> {
|
|
|
150
134
|
*/
|
|
151
135
|
clear(bounds?: Bounds): void;
|
|
152
136
|
}
|
|
153
|
-
/**
|
|
154
|
-
* Structural shape consumed by `insertContainer` / `removeContainer`
|
|
155
|
-
* when walking a Container's `getChildren()`. Captures only the
|
|
156
|
-
* fields the walk inspects — keeps the conversion strict-mode clean
|
|
157
|
-
* without leaking `any`.
|
|
158
|
-
*
|
|
159
|
-
* `getChildren` is optional because leaf renderables don't have it;
|
|
160
|
-
* the recursive `insertContainer` narrows via {@link hasGetChildren}.
|
|
161
|
-
* @ignore
|
|
162
|
-
*/
|
|
163
|
-
interface ContainerOrChild extends QuadTreeItem {
|
|
164
|
-
addChild?: (...args: unknown[]) => unknown;
|
|
165
|
-
getChildren?: () => ContainerOrChild[];
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* Structural shape used as the `insertContainer` /
|
|
169
|
-
* `removeContainer` parameter type. Named (rather than inline) so the
|
|
170
|
-
* JSDoc-aware lint doesn't require nested `@param container.getChildren`
|
|
171
|
-
* documentation at every call site. `Container` itself satisfies this
|
|
172
|
-
* shape; the optional variant covers the case where the World's lazy
|
|
173
|
-
* `children` accessor returns `undefined`.
|
|
174
|
-
* @ignore
|
|
175
|
-
*/
|
|
176
|
-
type ContainerLike = {
|
|
177
|
-
getChildren(): ContainerOrChild[];
|
|
178
|
-
};
|
|
179
|
-
/** @ignore */
|
|
180
|
-
type ContainerLikeOptional = {
|
|
181
|
-
getChildren?(): ContainerOrChild[];
|
|
182
|
-
};
|
|
183
|
-
export {};
|
|
184
137
|
//# sourceMappingURL=quadtree.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quadtree.d.ts","sourceRoot":"","sources":["../../../src/physics/broadphase/quadtree.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AACrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAclD;;;;;;;GAOG;AACH,MAAM,WAAW,QAAQ;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC5B,SAAS,IAAI,QAAQ,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,YAAY,KAAK,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"quadtree.d.ts","sourceRoot":"","sources":["../../../src/physics/broadphase/quadtree.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AACrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAclD;;;;;;;GAOG;AACH,MA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,EACnB,MAAM,CAAC,EAAE,YAAY,EAAE,GACrB,YAAY,EAAE;IA2CjB;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO;IAsEnC;;;OAGG;IACH,UAAU,IAAI,OAAO;IAMrB;;;OAGG;IACH,WAAW,IAAI,OAAO;IAOtB;;;OAGG;IACH,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM;CAuBrB"}
|
|
@@ -24,25 +24,6 @@ export default class Body {
|
|
|
24
24
|
* @type {Bounds}
|
|
25
25
|
*/
|
|
26
26
|
public bounds: Bounds;
|
|
27
|
-
/**
|
|
28
|
-
* The collision shapes of the body. Always an array — every
|
|
29
|
-
* mutation path goes through `push` / `includes`. The
|
|
30
|
-
* non-array `Point` that used to be in this union was a
|
|
31
|
-
* mis-doc and broke downstream `shapes.length` reads in
|
|
32
|
-
* TypeScript.
|
|
33
|
-
* @ignore
|
|
34
|
-
* @type {(Polygon|Line|Ellipse|Point)[]}
|
|
35
|
-
*/
|
|
36
|
-
shapes: (Polygon | Line | Ellipse | Point)[];
|
|
37
|
-
/**
|
|
38
|
-
* The body collision mask, that defines what should collide with what.<br>
|
|
39
|
-
* (by default will collide with all entities)
|
|
40
|
-
* @ignore
|
|
41
|
-
* @type {number}
|
|
42
|
-
* @default collision.types.ALL_OBJECT
|
|
43
|
-
* @see collision.types
|
|
44
|
-
*/
|
|
45
|
-
collisionMask: number;
|
|
46
27
|
/**
|
|
47
28
|
* define the collision type of the body for collision filtering
|
|
48
29
|
* @public
|
|
@@ -405,14 +386,6 @@ export default class Body {
|
|
|
405
386
|
* @returns {number}
|
|
406
387
|
*/
|
|
407
388
|
getAngle(): number;
|
|
408
|
-
/**
|
|
409
|
-
* Sync `this.angle` to the renderable's `currentTransform`. Pivot is
|
|
410
|
-
* the body's bounds center (matches the matter adapter's rotation
|
|
411
|
-
* pivot — see `MatterAdapter.syncFromPhysics`). Internal helper used
|
|
412
|
-
* by both the per-step integrator and {@link Body#setAngle}.
|
|
413
|
-
* @ignore
|
|
414
|
-
*/
|
|
415
|
-
_syncAngleTransform(): void;
|
|
416
389
|
/**
|
|
417
390
|
* apply an instantaneous impulse to this body — a single-step velocity
|
|
418
391
|
* change scaled by inverse mass (`dv = J / m`). Useful for one-shot
|
|
@@ -515,37 +488,7 @@ export default class Body {
|
|
|
515
488
|
* // add a shape from a JSON object
|
|
516
489
|
* this.body.addShape(me.loader.getJSON("shapesdef").banana);
|
|
517
490
|
*/
|
|
518
|
-
|
|
519
|
-
* Give a stored shape its per-shape collision settings, carrying them over
|
|
520
|
-
* from the source object when `addShape` converted it (a `Rect` and a
|
|
521
|
-
* `Bounds` both become a `Polygon`, so anything set on the original would
|
|
522
|
-
* otherwise be dropped on the floor).
|
|
523
|
-
*
|
|
524
|
-
* Every field is written explicitly, including the defaults. That is not
|
|
525
|
-
* tidiness: converted shapes come from `polygonPool`, whose reset restores
|
|
526
|
-
* only position and vertices — a recycled instance would otherwise arrive
|
|
527
|
-
* still carrying the previous owner's `isTrigger` or mask and quietly
|
|
528
|
-
* change how an unrelated body collides.
|
|
529
|
-
*
|
|
530
|
-
* Idempotent, because `removeShape` re-adds every surviving shape through
|
|
531
|
-
* `addShape` and must not disturb their settings.
|
|
532
|
-
* @param {object} stored - the shape as held in `this.shapes`
|
|
533
|
-
* @param {object} [source] - the object passed to `addShape`; omitted when
|
|
534
|
-
* the shape was built here from a pool and has no user-supplied original
|
|
535
|
-
* @private
|
|
536
|
-
*/
|
|
537
|
-
private _initShapeCollision;
|
|
538
|
-
addShape(shape: any): number;
|
|
539
|
-
/**
|
|
540
|
-
* Recompute the default `pseudoInertia` from the current bounds.
|
|
541
|
-
* Uses the moment-of-inertia formula for a unit-mass rectangle —
|
|
542
|
-
* `(width² + height²) / 12` — which gives a value that scales
|
|
543
|
-
* sensibly with body size: a small body resists rotation less, a
|
|
544
|
-
* large body more. Clamped to a minimum of 1 to keep divisions
|
|
545
|
-
* well-defined even on degenerate 0-size bodies.
|
|
546
|
-
* @ignore
|
|
547
|
-
*/
|
|
548
|
-
_recomputePseudoInertia(): void;
|
|
491
|
+
addShape(shape: Rect | Polygon | Line | Ellipse | Point | Point[] | Bounds | object): number;
|
|
549
492
|
/**
|
|
550
493
|
* set the body vertices to the given one
|
|
551
494
|
* @param {Vector2d[]} vertices - an array of me.Vector2d points defining a convex hull
|
|
@@ -645,8 +588,7 @@ export default class Body {
|
|
|
645
588
|
forEach(callback: Function, thisArg?: object): void;
|
|
646
589
|
/**
|
|
647
590
|
* Returns true if the any of the shape composing the body contains the given point.
|
|
648
|
-
* @param {number|Vector2d}
|
|
649
|
-
* @param {number} [y] - y coordinate
|
|
591
|
+
* @param {...(number|Vector2d)} args - either `x, y` coordinates, or a single {@link Vector2d}
|
|
650
592
|
* @returns {boolean} true if contains
|
|
651
593
|
* @example
|
|
652
594
|
* if (mySprite.body.contains(10, 10)) {
|
|
@@ -657,7 +599,7 @@ export default class Body {
|
|
|
657
599
|
* // do something
|
|
658
600
|
* }
|
|
659
601
|
*/
|
|
660
|
-
contains(...args:
|
|
602
|
+
contains(...args: (number | Vector2d)[]): boolean;
|
|
661
603
|
/**
|
|
662
604
|
* Rotate this body (counter-clockwise) by the specified angle (in radians).
|
|
663
605
|
* Unless specified the body will be rotated around its center point
|
|
@@ -687,18 +629,12 @@ export default class Body {
|
|
|
687
629
|
* parent renderable is to compute new values of the Body.vel property then add them to
|
|
688
630
|
* the parent.pos value thus changing the position by the amount of Body.vel each time the
|
|
689
631
|
* update call is made. <br>
|
|
690
|
-
* Updates to Body.vel are bounded by maxVel
|
|
632
|
+
* Updates to Body.vel are bounded by {@link Body#maxVel}, which defaults to `<490,490>` <br>
|
|
691
633
|
* At this time a call to Body.Update does not call the onBodyUpdate callback that is listed in the constructor arguments.
|
|
692
634
|
* @protected
|
|
693
|
-
* @param {number} dt - time since the last update in milliseconds.
|
|
694
635
|
* @returns {boolean} true if resulting velocity is different than 0
|
|
695
636
|
*/
|
|
696
637
|
protected update(): boolean;
|
|
697
|
-
/**
|
|
698
|
-
* Destroy function<br>
|
|
699
|
-
* @ignore
|
|
700
|
-
*/
|
|
701
|
-
destroy(): void;
|
|
702
638
|
}
|
|
703
639
|
import type Renderable from "../../renderable/renderable.js";
|
|
704
640
|
import type Container from "../../renderable/container.js";
|
|
@@ -711,7 +647,7 @@ import { Line } from "../../geometries/line.ts";
|
|
|
711
647
|
import { Ellipse } from "../../geometries/ellipse.ts";
|
|
712
648
|
import { Point } from "../../geometries/point.ts";
|
|
713
649
|
import { Vector2d } from "../../math/vector2d.ts";
|
|
650
|
+
import { Rect } from "../../geometries/rectangle.ts";
|
|
714
651
|
import { Box3d } from "../../geometries/box3d.ts";
|
|
715
652
|
import type ResponseObject from "../response.js";
|
|
716
|
-
import { Rect } from "../../geometries/rectangle.ts";
|
|
717
653
|
//# sourceMappingURL=body.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../../src/physics/builtin/body.js"],"names":[],"mappings":"AA+BA;;;;GAIG;AACH;IACC;;;;OAIG;IACH,sBAJW,UAAU,GAAC,SAAS,GAAC,MAAM,GAAC,MAAM,GAAC,eAAe,WAClD,IAAI,GAAC,IAAI,EAAE,GAAC,OAAO,GAAC,OAAO,EAAE,GAAC,IAAI,GAAC,IAAI,EAAE,GAAC,OAAO,GAAC,OAAO,EAAE,GAAC,KAAK,GAAC,KAAK,EAAE,GAAC,MAAM,GAAC,MAAM,EAAE,GAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../../src/physics/builtin/body.js"],"names":[],"mappings":"AA+BA;;;;GAIG;AACH;IACC;;;;OAIG;IACH,sBAJW,UAAU,GAAC,SAAS,GAAC,MAAM,GAAC,MAAM,GAAC,eAAe,WAClD,IAAI,GAAC,IAAI,EAAE,GAAC,OAAO,GAAC,OAAO,EAAE,GAAC,IAAI,GAAC,IAAI,EAAE,GAAC,OAAO,GAAC,OAAO,EA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