melonjs 20.11.0 → 20.12.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 +1 -0
- 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/backend/sound.d.ts.map +1 -1
- package/build/audio/playback.d.ts.map +1 -1
- package/build/audio/spatial.d.ts +13 -2
- package/build/audio/spatial.d.ts.map +1 -1
- package/build/audio/types.d.ts +25 -3
- package/build/audio/types.d.ts.map +1 -1
- package/build/camera/camera2d.d.ts.map +1 -1
- package/build/camera/camera3d.d.ts.map +1 -1
- package/build/camera/effects/pixelate_transition_effect.d.ts +67 -0
- package/build/camera/effects/pixelate_transition_effect.d.ts.map +1 -0
- package/build/geometries/ellipse.d.ts +8 -4
- package/build/geometries/ellipse.d.ts.map +1 -1
- package/build/geometries/line.d.ts +2 -2
- package/build/geometries/line.d.ts.map +1 -1
- package/build/geometries/polygon.d.ts +3 -3
- package/build/geometries/polygon.d.ts.map +1 -1
- package/build/geometries/rectangle.d.ts +2 -2
- package/build/geometries/rectangle.d.ts.map +1 -1
- package/build/geometries/roundrect.d.ts +2 -2
- package/build/geometries/roundrect.d.ts.map +1 -1
- package/build/index.d.ts +2 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +7237 -5663
- package/build/index.js.map +4 -4
- package/build/input/gamepad.d.ts.map +1 -1
- package/build/input/pointerevent.d.ts.map +1 -1
- package/build/lang/console.d.ts +16 -1
- package/build/lang/console.d.ts.map +1 -1
- package/build/level/tiled/TMXLayer.d.ts.map +1 -1
- package/build/level/tiled/TMXUtils.d.ts.map +1 -1
- package/build/loader/loadingscreen.d.ts.map +1 -1
- package/build/math/matrix2d.d.ts +3 -2
- package/build/math/matrix2d.d.ts.map +1 -1
- package/build/math/matrix3d.d.ts +4 -1
- package/build/math/matrix3d.d.ts.map +1 -1
- package/build/physics/bounds.d.ts +5 -5
- package/build/physics/bounds.d.ts.map +1 -1
- package/build/physics/builtin/body.d.ts +1 -0
- package/build/physics/builtin/body.d.ts.map +1 -1
- package/build/physics/builtin/builtin-adapter.d.ts.map +1 -1
- package/build/physics/builtin/detector.d.ts.map +1 -1
- package/build/renderable/animation.d.ts +6 -1
- package/build/renderable/animation.d.ts.map +1 -1
- package/build/renderable/entity/entity.d.ts.map +1 -1
- package/build/renderable/frameAnimation.d.ts.map +1 -1
- package/build/renderable/imagelayer.d.ts.map +1 -1
- package/build/renderable/instanced_mesh.d.ts.map +1 -1
- package/build/renderable/mesh.d.ts.map +1 -1
- package/build/renderable/renderable.d.ts.map +1 -1
- package/build/renderable/sprite.d.ts +4 -0
- package/build/renderable/sprite.d.ts.map +1 -1
- package/build/renderable/text/text.d.ts.map +1 -1
- package/build/renderable/trail3d.d.ts.map +1 -1
- package/build/renderable/ui/uipanel.d.ts +3 -3
- package/build/renderable/ui/uipanel.d.ts.map +1 -1
- package/build/state/stage.d.ts +3 -2
- package/build/state/stage.d.ts.map +1 -1
- package/build/state/state.d.ts +31 -6
- package/build/state/state.d.ts.map +1 -1
- package/build/system/legacy_pool.d.ts.map +1 -1
- package/build/video/canvas/canvas_renderer.d.ts +1 -0
- package/build/video/canvas/canvas_renderer.d.ts.map +1 -1
- package/build/video/effects/bloom.d.ts +3 -2
- package/build/video/effects/bloom.d.ts.map +1 -1
- package/build/video/effects/blur.d.ts +1 -1
- package/build/video/effects/chromaticAberration.d.ts +1 -1
- package/build/video/effects/dissolve.d.ts.map +1 -1
- package/build/video/effects/dropShadow.d.ts +1 -1
- package/build/video/effects/glow.d.ts +1 -1
- package/build/video/effects/glsl_realization.d.ts.map +1 -1
- package/build/video/effects/hologram.d.ts.map +1 -1
- package/build/video/effects/local_space.d.ts +19 -0
- package/build/video/effects/local_space.d.ts.map +1 -0
- package/build/video/effects/mesh_splice.d.ts.map +1 -1
- package/build/video/effects/outline.d.ts +1 -1
- package/build/video/effects/pixelate.d.ts +1 -1
- package/build/video/effects/radialGradient.d.ts +4 -12
- package/build/video/effects/radialGradient.d.ts.map +1 -1
- package/build/video/effects/scanline.d.ts.map +1 -1
- package/build/video/effects/shadereffect.d.ts.map +1 -1
- package/build/video/effects/shine.d.ts +5 -0
- package/build/video/effects/shine.d.ts.map +1 -1
- package/build/video/effects/sway.d.ts +9 -4
- package/build/video/effects/sway.d.ts.map +1 -1
- package/build/video/effects/vignette.d.ts.map +1 -1
- package/build/video/effects/wave.d.ts +9 -7
- package/build/video/effects/wave.d.ts.map +1 -1
- package/build/video/effects/wgsl/parse.d.ts.map +1 -1
- package/build/video/effects/wgsl/scaffold.d.ts.map +1 -1
- package/build/video/effects/wgsl_realization.d.ts.map +1 -1
- package/build/video/renderer.d.ts +2 -1
- package/build/video/renderer.d.ts.map +1 -1
- package/build/video/rendertarget/webgpurendertarget.d.ts +1 -0
- package/build/video/rendertarget/webgpurendertarget.d.ts.map +1 -1
- package/build/video/texture/atlas.d.ts +31 -31
- package/build/video/texture/atlas.d.ts.map +1 -1
- package/build/video/utils/pixel_snap.d.ts +44 -0
- package/build/video/utils/pixel_snap.d.ts.map +1 -0
- package/build/video/webgl/batchers/lit_quad_batcher.d.ts.map +1 -1
- package/build/video/webgl/batchers/mesh_batcher.d.ts.map +1 -1
- package/build/video/webgl/batchers/quad_batcher.d.ts +2 -1
- package/build/video/webgl/batchers/quad_batcher.d.ts.map +1 -1
- package/build/video/webgl/renderers/tmxlayer/orthogonal.d.ts.map +1 -1
- package/build/video/webgl/webgl_renderer.d.ts.map +1 -1
- package/build/video/webgpu/batchers/mesh_batcher.d.ts +0 -1
- package/build/video/webgpu/batchers/mesh_batcher.d.ts.map +1 -1
- package/build/video/webgpu/batchers/quad_batcher.d.ts.map +1 -1
- package/build/video/webgpu/effect_binding.d.ts.map +1 -1
- package/build/video/webgpu/renderers/tmxlayer/orthogonal.d.ts.map +1 -1
- package/build/video/webgpu/webgpu_renderer.d.ts +3 -4
- package/build/video/webgpu/webgpu_renderer.d.ts.map +1 -1
- package/package.json +1 -1
- package/skills/AGENTS.md +2 -1
- package/skills/melonjs/SKILL.md +1 -0
- package/skills/melonjs-audio/SKILL.md +25 -4
- package/skills/melonjs-display-and-scaling/SKILL.md +19 -5
- package/skills/melonjs-effects-and-shaders/SKILL.md +52 -17
- package/skills/melonjs-input/SKILL.md +24 -2
- package/skills/melonjs-lighting/SKILL.md +4 -3
- package/skills/melonjs-loading-assets/SKILL.md +4 -3
- package/skills/melonjs-performance/SKILL.md +3 -0
- package/skills/melonjs-plugins/SKILL.md +20 -1
- package/skills/melonjs-renderables/SKILL.md +4 -3
- package/skills/melonjs-renderer-backends/SKILL.md +2 -2
- package/skills/melonjs-scenes-and-state/SKILL.md +17 -2
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
* sprite's silhouette and does nothing at all on an opaque frame.
|
|
12
12
|
*
|
|
13
13
|
* Its reach is in texels of what it filters: the screen for a camera's
|
|
14
|
-
* effect, the sprite's texture on a sprite
|
|
14
|
+
* effect, the sprite's texture on a sprite (alone or with other effects, at
|
|
15
|
+
* any scale or zoom), so it follows a resize by itself.
|
|
15
16
|
* @category Effects
|
|
16
17
|
* @see {@link Renderable#addPostEffect} for usage
|
|
17
18
|
* @example
|
|
@@ -31,7 +32,7 @@ export default class BloomEffect extends ShaderEffect {
|
|
|
31
32
|
* @param {number} [options.threshold=0.75] - luminance a pixel must pass before it blooms, `0` (everything blooms) to `1` (only white does)
|
|
32
33
|
* @param {number} [options.intensity=1.0] - how much of the gathered light is added back
|
|
33
34
|
* @param {number} [options.radius=2.0] - halo reach, in texels
|
|
34
|
-
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its reach is measured in; by default the texture it draws
|
|
35
|
+
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its reach is measured in; by default the texture it draws: a sprite's own, alone or with other effects and at any scale or zoom, the screen for a camera's effect
|
|
35
36
|
*/
|
|
36
37
|
constructor(renderer: Renderer, options?: {
|
|
37
38
|
threshold?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bloom.d.ts","sourceRoot":"","sources":["../../../src/video/effects/bloom.js"],"names":[],"mappings":"AA+HA
|
|
1
|
+
{"version":3,"file":"bloom.d.ts","sourceRoot":"","sources":["../../../src/video/effects/bloom.js"],"names":[],"mappings":"AA+HA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IACC;;;;;;;OAOG;IACH,sBAPW,QAAQ,YAEhB;QAAyB,SAAS;QACT,SAAS;QACT,MAAM;QACJ,WAAW;KACxC,EAgBA;IAZA,kBAA0C;IAC1C,kBAAyC;IACzC,eAAmC;IAYpC;;;OAGG;IACH,wBAFW,MAAM,QAKhB;IAED;;;OAGG;IACH,wBAFW,MAAM,QAKhB;IAED;;;OAGG;IACH,kBAFW,MAAM,QAKhB;IAED;;;;;OAKG;IACH,sBAHW,MAAM,UACN,MAAM,QAIhB;CACD;yBAvNwB,mBAAmB;0BAOnB,gBAAgB"}
|
|
@@ -13,7 +13,7 @@ export default class BlurEffect extends ShaderEffect {
|
|
|
13
13
|
* @param {Renderer} renderer - the current renderer instance
|
|
14
14
|
* @param {object} [options] - effect options
|
|
15
15
|
* @param {number} [options.strength=1.0] - blur strength in texels
|
|
16
|
-
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its strength is measured in; by default the texture it draws
|
|
16
|
+
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its strength is measured in; by default the texture it draws: a sprite's own, alone or with other effects and at any scale or zoom, the screen for a camera's effect
|
|
17
17
|
*/
|
|
18
18
|
constructor(renderer: Renderer, options?: {
|
|
19
19
|
strength?: number | undefined;
|
|
@@ -16,7 +16,7 @@ export default class ChromaticAberrationEffect extends ShaderEffect {
|
|
|
16
16
|
* @param {Renderer} renderer - the current renderer instance
|
|
17
17
|
* @param {object} [options] - effect options
|
|
18
18
|
* @param {number} [options.offset=3.0] - channel offset in texels
|
|
19
|
-
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its offset is measured in; by default the texture it draws
|
|
19
|
+
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its offset is measured in; by default the texture it draws: a sprite's own, alone or with other effects and at any scale or zoom, the screen for a camera's effect
|
|
20
20
|
*/
|
|
21
21
|
constructor(renderer: Renderer, options?: {
|
|
22
22
|
offset?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dissolve.d.ts","sourceRoot":"","sources":["../../../src/video/effects/dissolve.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dissolve.d.ts","sourceRoot":"","sources":["../../../src/video/effects/dissolve.js"],"names":[],"mappings":"AAwEA;;;;;;;;;;;;;;;;;GAiBG;AACH;IACC;;;;;;OAMG;IACH,sBANW,QAAQ,YAEhB;QAAyB,QAAQ;QACN,SAAS;QACX,SAAS;KACpC,EAyDA;IAJA,iBAAuC;IAMxC;;;OAGG;IACH,mBAFW,MAAM,QAKhB;IAED;;;OAGG;IACH,oBAFW,MAAM,EAAE,QAIlB;CACD;yBA3KwB,mBAAmB;0BAOnB,gBAAgB"}
|
|
@@ -27,7 +27,7 @@ export default class DropShadowEffect extends ShaderEffect {
|
|
|
27
27
|
* @param {number} [options.offsetY=2.0] - shadow y offset in texels
|
|
28
28
|
* @param {number[]} [options.color=[0.0, 0.0, 0.0]] - shadow color as [r, g, b] or [r, g, b, a] (0.0–1.0); the alpha scales `opacity`
|
|
29
29
|
* @param {number} [options.opacity=0.5] - shadow opacity (0.0–1.0)
|
|
30
|
-
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its offset is measured in; by default the texture it draws
|
|
30
|
+
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its offset is measured in; by default the texture it draws: a sprite's own, alone or with other effects and at any scale or zoom, the screen for a camera's effect
|
|
31
31
|
*/
|
|
32
32
|
constructor(renderer: Renderer, options?: {
|
|
33
33
|
offsetX?: number | undefined;
|
|
@@ -21,7 +21,7 @@ export default class GlowEffect extends ShaderEffect {
|
|
|
21
21
|
* @param {number[]} [options.color=[1.0, 1.0, 1.0]] - glow color as [r, g, b] or [r, g, b, a] (0.0–1.0); the alpha is the halo's opacity
|
|
22
22
|
* @param {number} [options.width=3.0] - glow spread in pixels
|
|
23
23
|
* @param {number} [options.intensity=1.0] - glow brightness multiplier
|
|
24
|
-
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its spread is measured in; by default the texture it draws
|
|
24
|
+
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its spread is measured in; by default the texture it draws: a sprite's own, alone or with other effects and at any scale or zoom, the screen for a camera's effect
|
|
25
25
|
*/
|
|
26
26
|
constructor(renderer: Renderer, options?: {
|
|
27
27
|
color?: number[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glsl_realization.d.ts","sourceRoot":"","sources":["../../../src/video/effects/glsl_realization.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"glsl_realization.d.ts","sourceRoot":"","sources":["../../../src/video/effects/glsl_realization.js"],"names":[],"mappings":"AAqKA;;;;;;;;GAQG;AACH,+CALW,MAAM,GACJ;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,KAAK,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAC,CAuCvH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hologram.d.ts","sourceRoot":"","sources":["../../../src/video/effects/hologram.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hologram.d.ts","sourceRoot":"","sources":["../../../src/video/effects/hologram.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;;;;GAeG;AACH;IACC;;;;;OAKG;IACH,sBALW,QAAQ,YAEhB;QAA2B,KAAK;QACP,SAAS;KACpC,EA2BA;IAED;;;OAGG;IACH,gBAFW,MAAM,EAAE,QAIlB;CACD;yBA3FwB,mBAAmB;0BAOnB,gBAAgB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
export namespace LOCAL_MODE {
|
|
3
|
+
let uv: number;
|
|
4
|
+
let sprite: number;
|
|
5
|
+
let chain: number;
|
|
6
|
+
}
|
|
7
|
+
export namespace ME_LAYOUT {
|
|
8
|
+
let sizeObj: number;
|
|
9
|
+
let sizeImg: number;
|
|
10
|
+
let offset: number;
|
|
11
|
+
let mode: number;
|
|
12
|
+
let ydir: number;
|
|
13
|
+
let localX: number;
|
|
14
|
+
let localY: number;
|
|
15
|
+
let toUV: number;
|
|
16
|
+
let art: number;
|
|
17
|
+
let length: number;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=local_space.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local_space.d.ts","sourceRoot":"","sources":["../../../src/video/effects/local_space.js"],"names":[],"mappings":"AAsFA;;;;;;;GAOG;AACH,sDALW;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAC,GAChC,MAAM,EAAE,CAiBpB;AAED;;;;;;;GAOG;AACH,oDALW;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAC,GAChC,MAAM,EAAE,CAepB;AAwDD;;;;;;GAMG;AACH,oDALW;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAC,GAChC,MAAM,EAAE,CAoBpB;AA/MD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH;;;;GAIG;AACH,4CAAgE;;;;;;;;;;;;;;;;;;AAgFhE;;;;;GAKG;AACH,4BACC,yGAAyG,CAAC;AAE3G;;;;;GAKG;AACH,yCAkBa;AAEb;;;;GAIG;AACH,sCAYE;AA2BF;;;;;GAKG;AACH,0CAqBE;AAEF;;;;;;GAMG;AACH,0CAMa;AAEb;;;;GAIG;AACH,0CAMa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mesh_splice.d.ts","sourceRoot":"","sources":["../../../src/video/effects/mesh_splice.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mesh_splice.d.ts","sourceRoot":"","sources":["../../../src/video/effects/mesh_splice.js"],"names":[],"mappings":"AA0FA;;;;;;;;;;;;GAYG;AACH,6CAPW,MAAM,+BAEN,MAAM,GACJ,MAAM,GAAC,IAAI,CAmCvB;AAED;;;;;;GAMG;AACH,yCALW,MAAM,GACJ,OAAO,CAWnB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qCANW,MAAM,QACN,MAAM,GACJ,MAAM,GAAC,IAAI,CAmBvB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,kCANW,MAAM,SACN,MAAM,GACJ,MAAM,CAWlB"}
|
|
@@ -24,7 +24,7 @@ export default class OutlineEffect extends ShaderEffect {
|
|
|
24
24
|
* @param {object} [options] - effect options
|
|
25
25
|
* @param {number[]} [options.color=[1.0, 1.0, 1.0]] - outline color as [r, g, b] or [r, g, b, a] (0.0–1.0); the alpha is the outline's opacity
|
|
26
26
|
* @param {number} [options.width=1.0] - outline width in pixels
|
|
27
|
-
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its width is measured in; by default the texture it draws
|
|
27
|
+
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its width is measured in; by default the texture it draws: a sprite's own, alone or with other effects and at any scale or zoom, the screen for a camera's effect
|
|
28
28
|
*/
|
|
29
29
|
constructor(renderer: Renderer, options?: {
|
|
30
30
|
color?: number[] | undefined;
|
|
@@ -15,7 +15,7 @@ export default class PixelateEffect extends ShaderEffect {
|
|
|
15
15
|
* @param {Renderer} renderer - the current renderer instance
|
|
16
16
|
* @param {object} [options] - effect options
|
|
17
17
|
* @param {number} [options.size=4.0] - pixel size in texels (higher = more pixelated)
|
|
18
|
-
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its pixel size is measured in; by default the texture it draws
|
|
18
|
+
* @param {number[]} [options.textureSize] - the size, `[width, height]`, of the texture its pixel size is measured in; by default the texture it draws: a sprite's own, alone or with other effects and at any scale or zoom, the screen for a camera's effect
|
|
19
19
|
*/
|
|
20
20
|
constructor(renderer: Renderer, options?: {
|
|
21
21
|
size?: number | undefined;
|
|
@@ -12,18 +12,10 @@
|
|
|
12
12
|
* fading linearly to fully transparent at the edge of the host quad.
|
|
13
13
|
* The falloff is naturally elliptical for non-square quads.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* dedicated 1×1 white pixel, a non-atlased Sprite, an FBO blit, or
|
|
20
|
-
* the engine-provided light atlas used by `WebGLRenderer.drawLight`).
|
|
21
|
-
* If you attach this effect to a Sprite that uses a *sub-region* of a
|
|
22
|
-
* larger atlas, `uv` will be in `[u0..u1] × [v0..v1]` and the radial
|
|
23
|
-
* center will be misplaced. For atlas-based renderables, set the
|
|
24
|
-
* effect's `uColor`/`uIntensity` and pair it with a Sprite whose
|
|
25
|
-
* texture covers a full atlas, or use a Sprite created from a
|
|
26
|
-
* standalone image.
|
|
15
|
+
* It is centred on the renderable it draws, wherever that sits in its
|
|
16
|
+
* texture: a dedicated 1×1 white pixel, a standalone image, a sprite cut
|
|
17
|
+
* from an atlas, or the engine-provided light atlas used by
|
|
18
|
+
* `WebGLRenderer.drawLight`.
|
|
27
19
|
*
|
|
28
20
|
* The falloff curve is **linear** (`f = clamp(1 - d, 0, 1)`) to match
|
|
29
21
|
* the Canvas 2D `createRadialGradient` two-stop output exactly. Output
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radialGradient.d.ts","sourceRoot":"","sources":["../../../src/video/effects/radialGradient.js"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AAEH
|
|
1
|
+
{"version":3,"file":"radialGradient.d.ts","sourceRoot":"","sources":["../../../src/video/effects/radialGradient.js"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH;IACC;;;;;OAKG;IACH,sBALW,QAAQ,YAEhB;QAAwB,KAAK;QACJ,SAAS;KACpC,EAmEA;IAjBA;;;OAGG;IACH,qCAAoC;IAerC;;;;OAIG;IACH,gBAFW,KAAK,QAQf;IAED;;;;OAIG;IACH,wBAFW,MAAM,QAIhB;CACD;yBAhLwB,mBAAmB;2BAIlB,qBAAqB;0BAKtB,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scanline.d.ts","sourceRoot":"","sources":["../../../src/video/effects/scanline.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scanline.d.ts","sourceRoot":"","sources":["../../../src/video/effects/scanline.js"],"names":[],"mappings":"AAsDA;;;;;;;;;;;;;;;GAeG;AACH;IACC;;;;;;OAMG;IACH,sBANW,QAAQ,YAEhB;QAAyB,OAAO;QACP,SAAS;QACT,gBAAgB;KAC3C,EA8CA;IAED;;;OAGG;IACH,oBAFW,MAAM,QAIhB;IAED;;;OAGG;IACH,wBAFW,MAAM,QAIhB;IAED;;;OAGG;IACH,8BAFW,MAAM,QAIhB;CACD;yBApJwB,mBAAmB;0BAOnB,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadereffect.d.ts","sourceRoot":"","sources":["../../../src/video/effects/shadereffect.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shadereffect.d.ts","sourceRoot":"","sources":["../../../src/video/effects/shadereffect.js"],"names":[],"mappings":"AAiLA;IAiCC;;;;;;;;;;;;;;;;;;OAkBG;IACH,sBAlBW,QAAQ,QACR,MAAM,GAAC;QAAC,IAAI,CAAC,EAAE,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;OAGG;IACH,iEAIC;IAED;;;OAGG;IACH,mCAEC;IAED;;;OAGG;IACH,kBAEC;IAED;;;OAGG;IACH,oBAEC;IAED;;;OAGG;IACH,qBAEC;IAED;;;OAGG;IACH,uBAEC;IAED;;;;OAIG;IACH,gBAyCC;CACD;0BAj5CwB,gBAAgB;qBAVpB,sBAAsB;kCAGT,uBAAuB;sBAJnC,yBAAyB"}
|
|
@@ -7,6 +7,11 @@
|
|
|
7
7
|
* "etched grooves" look of a coin's rim). An optional subtle brightness
|
|
8
8
|
* pulse can be layered on top via `pulseDepth` — set to 0 to disable.
|
|
9
9
|
*
|
|
10
|
+
* The sweep, its bands and its width are measured across the texture the
|
|
11
|
+
* sprite is drawn from: on a sprite cut from an atlas, across the atlas, so
|
|
12
|
+
* a single sweep crosses the sprite only part of the time. With other
|
|
13
|
+
* effects after it, it stays on the sprite.
|
|
14
|
+
*
|
|
10
15
|
* The `time` uniform must be updated each frame for the animation.
|
|
11
16
|
* @category Effects
|
|
12
17
|
* @see {@link Renderable#addPostEffect} for usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shine.d.ts","sourceRoot":"","sources":["../../../src/video/effects/shine.js"],"names":[],"mappings":"AAoDA
|
|
1
|
+
{"version":3,"file":"shine.d.ts","sourceRoot":"","sources":["../../../src/video/effects/shine.js"],"names":[],"mappings":"AAoDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH;IACC;;;;;;;;;;;OAWG;IACH,sBAXW,QAAQ,YAEhB;QAA2B,KAAK;QACP,KAAK;QACL,KAAK;QACL,SAAS;QACT,KAAK;QACL,KAAK;QACL,UAAU;QACV,UAAU;KACrC,EA2DA;IAED;;;OAGG;IACH,gBAFW,MAAM,EAAE,QAIlB;IAED;;;OAGG;IACH,gBAFW,MAAM,QAIhB;IAED;;;OAGG;IACH,oBAFW,MAAM,QAIhB;IAED;;;OAGG;IACH,gBAFW,MAAM,QAIhB;CACD;yBAvMwB,mBAAmB;0BAOnB,gBAAgB"}
|
|
@@ -5,8 +5,13 @@
|
|
|
5
5
|
* sways most and everything from the anchor down stays put. For grass, trees,
|
|
6
6
|
* reeds or a whole background layer: anything planted at its bottom.
|
|
7
7
|
*
|
|
8
|
+
* Everything is measured across the sprite itself: its strength is a
|
|
9
|
+
* fraction of the sprite's width and its anchor a row of the sprite, so a
|
|
10
|
+
* sprite sways the same whether it has a texture of its own or is cut from
|
|
11
|
+
* an atlas, and whatever else it draws through.
|
|
12
|
+
*
|
|
8
13
|
* It is a {@link WaveEffect} with an anchor and sway-sized defaults, so it
|
|
9
|
-
* shares its shader rather than adding one. The difference is the time:
|
|
14
|
+
* shares its shader rather than adding one. The other difference is the time:
|
|
10
15
|
* {@link SwayEffect#setTime} wraps the phase to one turn on the CPU before
|
|
11
16
|
* the shader sees it. A raw clock grows without bound, and a medium-precision
|
|
12
17
|
* float, the default on most phones, runs out of digits a few minutes into a
|
|
@@ -24,8 +29,8 @@ export default class SwayEffect extends WaveEffect {
|
|
|
24
29
|
/**
|
|
25
30
|
* @param {Renderer} renderer - the current renderer instance
|
|
26
31
|
* @param {object} [options] - effect options
|
|
27
|
-
* @param {number} [options.strength=0.02] - how far the top moves each way, as a fraction of the
|
|
28
|
-
* @param {number} [options.anchor=1.0] - the row that stays put, as a fraction of
|
|
32
|
+
* @param {number} [options.strength=0.02] - how far the top moves each way, as a fraction of the sprite's width
|
|
33
|
+
* @param {number} [options.anchor=1.0] - the row of the sprite that stays put, as a fraction of its height from the top (1 = the bottom row)
|
|
29
34
|
* @param {number} [options.speed=1.5] - how fast it sways, in radians per second
|
|
30
35
|
* @param {number} [options.frequency=3.0] - how much the sway bends along the height: low values lean the whole sprite as one, high ones ripple it
|
|
31
36
|
*/
|
|
@@ -48,7 +53,7 @@ export default class SwayEffect extends WaveEffect {
|
|
|
48
53
|
setTime(seconds: number): SwayEffect;
|
|
49
54
|
/**
|
|
50
55
|
* set how far the top moves each way
|
|
51
|
-
* @param {number} strength - a fraction of the
|
|
56
|
+
* @param {number} strength - a fraction of the sprite's width
|
|
52
57
|
*/
|
|
53
58
|
setStrength(strength: number): void;
|
|
54
59
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sway.d.ts","sourceRoot":"","sources":["../../../src/video/effects/sway.js"],"names":[],"mappings":"AAUA
|
|
1
|
+
{"version":3,"file":"sway.d.ts","sourceRoot":"","sources":["../../../src/video/effects/sway.js"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IACC;;;;;;;OAOG;IACH,sBAPW,QAAQ,YAEhB;QAAyB,QAAQ;QACR,MAAM;QACN,KAAK;QACL,SAAS;KACpC,EAiBA;IAPA;;;OAGG;IACH,OAFU,MAAM,CAEiB;IAKlC;;;;OAIG;IACH,iBAHW,MAAM,GACJ,UAAU,CAKtB;IAED;;;OAGG;IACH,sBAFW,MAAM,QAIhB;IAED;;;;;OAKG;IACH,SAFa,UAAU,CAetB;CACD;uBAtGsB,WAAW;0BAIT,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vignette.d.ts","sourceRoot":"","sources":["../../../src/video/effects/vignette.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vignette.d.ts","sourceRoot":"","sources":["../../../src/video/effects/vignette.js"],"names":[],"mappings":"AAsCA;;;;;;;;;;;;;;;GAeG;AACH;IACC;;;;;OAKG;IACH,sBALW,QAAQ,YAEhB;QAAyB,QAAQ;QACR,IAAI;KAC/B,EASA;IALA,iBAAwC;IACxC,aAAgC;IAMjC;;;OAGG;IACH,sBAFW,MAAM,QAKhB;IAED;;;OAGG;IACH,cAFW,MAAM,QAKhB;CACD;yBAxFwB,mBAAmB;0BAOnB,gBAAgB"}
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
*
|
|
6
6
|
* With an `anchor`, the wave fades out toward a row instead of moving the
|
|
7
7
|
* whole sprite: full at the top, nothing at the anchor and below. That is
|
|
8
|
-
* how {@link SwayEffect} leans a sprite while its feet stay planted.
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* how {@link SwayEffect} leans a sprite while its feet stay planted. The
|
|
9
|
+
* anchor is a row of the sprite, wherever it sits in its texture; the
|
|
10
|
+
* amplitude and the frequency are measured across the texture, so on a
|
|
11
|
+
* sprite cut from an atlas they are fractions of the atlas ({@link SwayEffect}
|
|
12
|
+
* measures them across the sprite).
|
|
11
13
|
* @category Effects
|
|
12
14
|
* @see {@link Renderable#addPostEffect} for usage
|
|
13
15
|
* @example
|
|
@@ -24,10 +26,10 @@ export default class WaveEffect extends ShaderEffect {
|
|
|
24
26
|
/**
|
|
25
27
|
* @param {Renderer} renderer - the current renderer instance
|
|
26
28
|
* @param {object} [options] - effect options
|
|
27
|
-
* @param {number} [options.amplitude=0.01] - wave displacement strength
|
|
28
|
-
* @param {number} [options.frequency=10.0] -
|
|
29
|
+
* @param {number} [options.amplitude=0.01] - wave displacement strength, as a fraction of the texture's width (0.01 = subtle)
|
|
30
|
+
* @param {number} [options.frequency=10.0] - the wave's frequency down the texture's height, in radians per height (2π is one whole wave)
|
|
29
31
|
* @param {number} [options.speed=2.0] - wave animation speed
|
|
30
|
-
* @param {number} [options.anchor=0] - the row the wave fades out at, as a fraction of
|
|
32
|
+
* @param {number} [options.anchor=0] - the row of the sprite the wave fades out at, as a fraction of its height from the top (0..1); 0 waves every row alike
|
|
31
33
|
*/
|
|
32
34
|
constructor(renderer: Renderer, options?: {
|
|
33
35
|
amplitude?: number | undefined;
|
|
@@ -47,7 +49,7 @@ export default class WaveEffect extends ShaderEffect {
|
|
|
47
49
|
setFrequency(frequency: number): void;
|
|
48
50
|
/**
|
|
49
51
|
* set the row the wave fades out at
|
|
50
|
-
* @param {number} anchor - a fraction of the height from the top (0..1); 0 waves every row alike
|
|
52
|
+
* @param {number} anchor - a fraction of the sprite's height from the top (0..1); 0 waves every row alike
|
|
51
53
|
*/
|
|
52
54
|
setAnchor(anchor: number): void;
|
|
53
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wave.d.ts","sourceRoot":"","sources":["../../../src/video/effects/wave.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wave.d.ts","sourceRoot":"","sources":["../../../src/video/effects/wave.js"],"names":[],"mappings":"AAoCA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IACC;;;;;;;OAOG;IACH,sBAPW,QAAQ,YAEhB;QAAyB,SAAS;QACT,SAAS;QACT,KAAK;QACL,MAAM;KACjC,EAoCA;IAED;;;OAGG;IACH,wBAFW,MAAM,QAIhB;IAED;;;OAGG;IACH,wBAFW,MAAM,QAIhB;IAED;;;OAGG;IACH,kBAFW,MAAM,QAIhB;CACD;yBAhIwB,mBAAmB;0BAOnB,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../../src/video/effects/wgsl/parse.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../../src/video/effects/wgsl/parse.js"],"names":[],"mappings":"AAyHA;;;;;;;GAOG;AACH,oCANW,MAAM,GACJ,MAAM,CAwKlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../../src/video/effects/wgsl/scaffold.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../../src/video/effects/wgsl/scaffold.js"],"names":[],"mappings":"AAkCA;;;;;;;;;GASG;AACH,8CANW,MAAM,GACJ;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAC;IAAC,kBAAkB,EAAE,MAAM,CAAC;IAAC,mBAAmB,EAAE,MAAM,CAAA;CAAC,CA4BxG;AAED;;;;;;;;GAQG;AACH,sCAPW,MAAM,UACN,MAAM,GACJ;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAkJ5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wgsl_realization.d.ts","sourceRoot":"","sources":["../../../src/video/effects/wgsl_realization.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wgsl_realization.d.ts","sourceRoot":"","sources":["../../../src/video/effects/wgsl_realization.js"],"names":[],"mappings":"AAgCA;;;;;;;;;;;;;;;GAeG;AACH;IACC;;;;OAIG;IACH,kBAFW,MAAM,EAqFhB;IAhFA;;;OAGG;IACH,OAFU,OAAO,CAEc;IAC/B,0BAA0B;IAC1B,OADW,MAAM,GAAC,IAAI,CAC+B;IAMrD;;;;OAIG;IACH,MAFU,MAAM,CAEA;IAChB,wEAAwE;IACxE,2BAAoB;IACpB,iEAAiE;IACjE,YAA2B;IAC3B,4DAA4D;IAC5D,gBAAmC;IACnC,iDAAiD;IACjD,cAA+B;IAC/B,0BAA0B;IAC1B,cAA+B;IAG/B,8CAA8C;IAC9C,yBAAuB;IACvB,mEAAmE;IACnE,oCAAsC;IAEtC;;;;;OAKG;IACH,uCAA4B;IAG5B,6BAAwD;IACxD,2CAAqC;IACrC,yCAAmC;IACnC,0CAAoC;IAKpC,gDAAkD;IAElD;;;;OAIG;IACH,QAFU,GAAG,CAAC,MAAM,EAAE,MAAM,GAAC,MAAM,EAAE,CAAC,CAEf;IAEvB;;;;OAIG;IACH,KAFU,MAAM,GAAC,IAAI,CAEN;IAEf;;;;;;;;;;OAUG;IACH,iBAJU,CAAC,MAAM,IAAI,CAAC,GAAC,IAAI,CAIA;IAG5B;;;;;;OAMG;IACH,iBALW,MAAM,SACN,MAAM,GAAC,MAAM,EAAE,GAAC,YAAY,GAAC;QAAC,GAAG,EAAE,YAAY,CAAA;KAAC,GAE9C,OAAO,CA2DnB;IAED;;;;;OAKG;IACH,iBAHW,MAAM,GACJ,OAAO,CAInB;IAED;;;OAGG;IACH,mBAEC;IAED;;;;;;;;;;;OAWG;IACH,uBALW,MAAM,GACJ,MAAM,CAWlB;CACD"}
|
|
@@ -436,8 +436,9 @@ declare class Renderer {
|
|
|
436
436
|
* @param {number} height - destination height
|
|
437
437
|
* @param {ShaderEffect} shader - the shader effect to apply
|
|
438
438
|
* @param {boolean} [keepBlend=false] - if true, keep current blend mode (for sprite compositing)
|
|
439
|
+
* @param {number} [alpha=1] - the opacity to composite the blit at (0.0 to 1.0)
|
|
439
440
|
*/
|
|
440
|
-
blitEffect(source: WebGLTexture, x: number, y: number, width: number, height: number, shader: ShaderEffect, keepBlend?: boolean): void;
|
|
441
|
+
blitEffect(source: WebGLTexture, x: number, y: number, width: number, height: number, shader: ShaderEffect, keepBlend?: boolean, alpha?: number): void;
|
|
441
442
|
/**
|
|
442
443
|
* Sets the viewport for the renderer.
|
|
443
444
|
* Defines the affine transformation from normalized device coordinates to window coordinates.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../src/video/renderer.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../src/video/renderer.js"],"names":[],"mappings":"AAiDA;;;GAGG;AACH;IAghCC;;;;;;;;;;;;OAYG;IACH,2BANW,MAAM,UACN,MAAM,0BACN,OAAO,GAEL,iBAAiB,GAAC,eAAe,CAI7C;IAED;;;;;;;;;;;;OAYG;IACH,wBAFa,iBAAiB,GAAC,eAAe,CAgB7C;IA3jCD;;OAEG;IACH,sBAFW,mBAAmB,EAgW7B;IA7VA;;;OAGG;IACH,cAFU,kBAAkB,CAS3B;IAED;;;;OAIG;IACH,iBAFU,MAAM,CAEO;IAEvB;;;;OAIG;IACH,oBAFU,MAAM,CAE6C;IAE7D;;;;OAIG;IACH,YAHU,QAAQ,CAGsD;IAExE;;;;OAIG;IACH,gBAFU,OAAO,CAES;IAE1B;;;;OAIG;IACH,aAFU,MAAM,GAAC,SA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OAAO,WACnC,OAAO,QAGM;IAExB;;;OAGG;IACH,kBAAc;IAEd;;;;OAIG;IACH,cAHW,KAAK,UACL,MAAM,QAMhB;IAED;;;OAGG;IACH,kBAGC;IAED;;;;;;;;;;;;;;;OAeG;IACH,gBAHW,MAAM,QAgBhB;IAED;;;;;;;OAOG;IACH,cANW,MAAM,YACN,MAAM,gBAOhB;IAED;;;;;;;;OAQG;IACH,qBANW,MAAM,YACN,MAAM,gBAOhB;IAED;;;;;;;OAOG;IACH,iBANW,MAAM,YACN,MAAM,gBAOhB;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IAEH,yBAnBG;QAAiC,MAAM;QAIwC,MAAM;eAAlE,MAAM;eAAK,MAAM;mBAAS,MAAM;oBAAU,MAAM;;KAMnE,GAAU,SAAS,GAAC,IAAI,CAW1B;CACD;;;;;+BAz/F8B,sCAAsC;yBAT5C,qBAAqB;8BAsBjB,2BAA2B;kCALvB,sCAAsC;mBArBpD,2BAA2B;6BAsBlB,+BAA+B;sBApBrC,oBAAoB;wBAUlB,kBAAkB;yBATjB,qBAAqB;sBAsBzB,uBAAuB;0BAMrB,8BAA8B;yBApB5B,eAAe;4BAyBf,wBAAwB;8BA1BP,sBAAsB;+BAsBpC,8BAA8B;6BAChC,0BAA0B;0BAC7B,yBAAyB;6BACtB,4BAA4B;2BAX9B,wBAAwB;4BAGvB,yBAAyB;0CAUX,wBAAwB;yCAdzB,4BAA4B"}
|
|
@@ -69,6 +69,7 @@ export default class WebGPURenderTarget extends RenderTarget {
|
|
|
69
69
|
generation: number;
|
|
70
70
|
materialBindGroup: GPUBindGroup | null;
|
|
71
71
|
materialBindGroupGeneration: number;
|
|
72
|
+
materialBindGroupFilter: any;
|
|
72
73
|
pendingClear: boolean;
|
|
73
74
|
/**
|
|
74
75
|
* Synchronous readback is impossible under WebGPU — use
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webgpurendertarget.d.ts","sourceRoot":"","sources":["../../../src/video/rendertarget/webgpurendertarget.js"],"names":[],"mappings":"AA0BA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH;IACC;;;;OAIG;IACH,sBAJW,OAAO,8BAA8B,EAAE,OAAO,SAC9C,MAAM,UACN,MAAM,
|
|
1
|
+
{"version":3,"file":"webgpurendertarget.d.ts","sourceRoot":"","sources":["../../../src/video/rendertarget/webgpurendertarget.js"],"names":[],"mappings":"AA0BA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH;IACC;;;;OAIG;IACH,sBAJW,OAAO,8BAA8B,EAAE,OAAO,SAC9C,MAAM,UACN,MAAM,gBAqDhB;IAjDA,yDAAwB;IAGxB;;;;;;;OAOG;IACH,aAFU,MAAM,CAE2B;IAC3C;;;;;;;;;;;OAWG;IACH,QAFU,MAAM,CAEwC;IACxD,8BAA8B;IAC9B,SADW,UAAU,GAAC,IAAI,CACP;IACnB,kCAAkC;IAClC,WADW,cAAc,GAAC,IAAI,CACT;IACrB,iFAAiF;IACjF,aAD8D,UAAU,GAAC,IAAI,CACtD;IACvB,kCAAkC;IAClC,UADW,cAAc,GAAC,IAAI,CACV;IACpB;;;;OAIG;IACH,YAFU,MAAM,CAEG;IAGnB,uCAA6B;IAC7B,oCAAqC;IAErC,6BAAmC;IAEnC,sBAAyB;IA+E1B;;;;;;;;OAQG;IACH,wBAJa,YAAY,CA2BxB;IAED;;;;;;;;OAQG;IACH,qBAIC;CAgID;yBAvWwB,mBAAmB"}
|
|
@@ -143,36 +143,6 @@ export class TextureAtlas extends Texture2d {
|
|
|
143
143
|
* );
|
|
144
144
|
*/
|
|
145
145
|
createSpriteFromName(name: string, settings?: object, nineSlice?: boolean): Sprite | NineSliceSprite;
|
|
146
|
-
/**
|
|
147
|
-
* Create an animation object using the first region found using all specified names
|
|
148
|
-
* @param {string[]|number[]} [names] - list of names for each sprite (if not specified all defined names/entries in the atlas will be added)
|
|
149
|
-
* (when manually creating a Texture out of a spritesheet, only numeric values are authorized)
|
|
150
|
-
* @param {object} [settings] - Additional settings passed to the {@link Sprite} contructor
|
|
151
|
-
* @returns {Sprite}
|
|
152
|
-
* @example
|
|
153
|
-
* // create a new texture object under the `game` namespace
|
|
154
|
-
* game.texture = new me.TextureAtlas(
|
|
155
|
-
* me.loader.getJSON("texture"),
|
|
156
|
-
* me.loader.getImage("texture")
|
|
157
|
-
* );
|
|
158
|
-
*
|
|
159
|
-
* // create a new Animated Sprite
|
|
160
|
-
* let sprite = game.texture.createAnimationFromName([
|
|
161
|
-
* "walk0001.png", "walk0002.png", "walk0003.png",
|
|
162
|
-
* "walk0004.png", "walk0005.png", "walk0006.png",
|
|
163
|
-
* "walk0007.png", "walk0008.png", "walk0009.png",
|
|
164
|
-
* "walk0010.png", "walk0011.png"
|
|
165
|
-
* ]);
|
|
166
|
-
*
|
|
167
|
-
* // define an additional basic walking animation
|
|
168
|
-
* sprite.addAnimation ("simple_walk", [0,2,1]);
|
|
169
|
-
* // you can also use frame name to define your animation
|
|
170
|
-
* sprite.addAnimation ("speed_walk", ["walk0007.png", "walk0008.png", "walk0009.png", "walk0010.png"]);
|
|
171
|
-
* // set the default animation
|
|
172
|
-
* sprite.setCurrentAnimation("simple_walk");
|
|
173
|
-
* // set the renderable position to bottom center
|
|
174
|
-
* sprite.anchorPoint.set(0.5, 1.0);
|
|
175
|
-
*/
|
|
176
146
|
/**
|
|
177
147
|
* Return the Sprite settings object (framewidth, frameheight, atlas, atlasIndices, etc.)
|
|
178
148
|
* for the given set of atlas frame names. This is useful when extending {@link Sprite}
|
|
@@ -209,7 +179,37 @@ export class TextureAtlas extends Texture2d {
|
|
|
209
179
|
} | undefined;
|
|
210
180
|
atlasIndices: Record<string, number>;
|
|
211
181
|
};
|
|
212
|
-
|
|
182
|
+
/**
|
|
183
|
+
* Create an animation object using the first region found using all specified names
|
|
184
|
+
* @param {string[]|number[]} [names] - list of names for each sprite (if not specified all defined names/entries in the atlas will be added)
|
|
185
|
+
* (when manually creating a Texture out of a spritesheet, only numeric values are authorized)
|
|
186
|
+
* @param {object} [settings] - Additional settings passed to the {@link Sprite} constructor
|
|
187
|
+
* @returns {Sprite}
|
|
188
|
+
* @example
|
|
189
|
+
* // create a new texture object under the `game` namespace
|
|
190
|
+
* game.texture = new me.TextureAtlas(
|
|
191
|
+
* me.loader.getJSON("texture"),
|
|
192
|
+
* me.loader.getImage("texture")
|
|
193
|
+
* );
|
|
194
|
+
*
|
|
195
|
+
* // create a new Animated Sprite
|
|
196
|
+
* let sprite = game.texture.createAnimationFromName([
|
|
197
|
+
* "walk0001.png", "walk0002.png", "walk0003.png",
|
|
198
|
+
* "walk0004.png", "walk0005.png", "walk0006.png",
|
|
199
|
+
* "walk0007.png", "walk0008.png", "walk0009.png",
|
|
200
|
+
* "walk0010.png", "walk0011.png"
|
|
201
|
+
* ]);
|
|
202
|
+
*
|
|
203
|
+
* // define an additional basic walking animation
|
|
204
|
+
* sprite.addAnimation ("simple_walk", [0,2,1]);
|
|
205
|
+
* // you can also use frame name to define your animation
|
|
206
|
+
* sprite.addAnimation ("speed_walk", ["walk0007.png", "walk0008.png", "walk0009.png", "walk0010.png"]);
|
|
207
|
+
* // set the default animation
|
|
208
|
+
* sprite.setCurrentAnimation("simple_walk");
|
|
209
|
+
* // set the renderable position to bottom center
|
|
210
|
+
* sprite.anchorPoint.set(0.5, 1.0);
|
|
211
|
+
*/
|
|
212
|
+
createAnimationFromName(names?: string[] | number[], settings?: object): Sprite;
|
|
213
213
|
}
|
|
214
214
|
import Texture2d from "./texture2d.ts";
|
|
215
215
|
import type { CompressedImage } from "../../loader/parsers/compressed_textures/compressed_image.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"atlas.d.ts","sourceRoot":"","sources":["../../../src/video/texture/atlas.js"],"names":[],"mappings":"AAkDA;;;GAGG;AAEH;;;;GAIG;AACH;;;;;;;;;;;;;;;;;;;EAoBC;AAED;;;;GAIG;AACH,+FAYC;AAED;;;;;;;;;;GAUG;AACH;IAUC;;;;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,GACJ,YAAY,CAmCxB;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,mBAJW,gBAAgB,GAAC,iBAAiB,GAAC,gBAAgB,GAAC,WAAW,GAAC,eAAe,GAAC,eAAe,QA0BzG;IAED;;;;;;OAMG;IACH,qBAEC;IAED;;;;;;;OAOG;IACH,cANW,MAAM,QACN,MAAM,KACN,MAAM,KACN,MAAM,GACJ,YAAY,CAiDxB;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,2BA1BW,MAAM,aACN,MAAM,cACN,OAAO,GACL,MAAM,GAAC,eAAe,CAqClC;IAED
|
|
1
|
+
{"version":3,"file":"atlas.d.ts","sourceRoot":"","sources":["../../../src/video/texture/atlas.js"],"names":[],"mappings":"AAkDA;;;GAGG;AAEH;;;;GAIG;AACH;;;;;;;;;;;;;;;;;;;EAoBC;AAED;;;;GAIG;AACH,+FAYC;AAED;;;;;;;;;;GAUG;AACH;IAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,qBAjCW,MAAM,GAAC,MAAM,EAAE,QACf,gBAAgB,GAAC,iBAAiB,GAAC,eAAe,GAAC,eAAe,GAAC,MAAM,GAAC,eAAe,EAAE,GAAC,gBAAgB,EAAE,GAAC,iBAAiB,EAAE,GAAC,MAAM,EAAE,YAC3I,OAAO,GAAC,MAAM,EAwQxB;IAlOA;;;;OAIG;IACH,sBAAkB;IAElB;;;;;OAKG;IACH,uBAAwB;IAExB;;;;;;;OAOG;IACH,6BAA8B;IAE9B;;;;;OAKG;IACH,uBAAwB;IAExB;;;;;OAKG;IACH,2BAA4B;IAE5B;;;;;;;OAOG;IACH,+BAA6B;IAE7B;;;;;OAKG;IACH,sCAAqC;IAErC;;;;;;OAMG;IACH;;;;;;;MAOC;IAWE,YAA8C;IAgJlD;;;;OAIG;IACH,gBAHW,MAAM,GACJ,MAAM,CAQlB;IAED;;;OAGG;IACH,aAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,oBAHW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E,CAAC;QAAC,KAAK,EAAE;gBAAO,MAAM,GAAE,MAAM;SAAC,GAAC,SAAS,CAAC;QAAC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAC,CAkF3M;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,gCA5BW,MAAM,EAAE,GAAC,MAAM,EAAE,aAEjB,MAAM,GACJ,MAAM,CA0ElB;CACD;sBAj4BqB,gBAAgB;qCAwCJ,8DAA8D;mBA7C7E,8BAA8B;4BADrB,uCAAuC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The correction that puts a draw on whole pixels: each output coordinate
|
|
3
|
+
* `x` becomes `kx * x + ox`, and `y` becomes `ky * y + oy`.
|
|
4
|
+
*
|
|
5
|
+
* The transform maps the draw's local space to the renderer's:
|
|
6
|
+
* `x' = a * x + c * y + e`, `y' = b * x + d * y + f`.
|
|
7
|
+
* @ignore
|
|
8
|
+
* @param {number} a - transform, x scale
|
|
9
|
+
* @param {number} b - transform, y skew
|
|
10
|
+
* @param {number} c - transform, x skew
|
|
11
|
+
* @param {number} d - transform, y scale
|
|
12
|
+
* @param {number} e - transform, x translation
|
|
13
|
+
* @param {number} f - transform, y translation
|
|
14
|
+
* @param {number} x - the local box the draw covers
|
|
15
|
+
* @param {number} y - the local box the draw covers
|
|
16
|
+
* @param {number} w - the local box the draw covers
|
|
17
|
+
* @param {number} h - the local box the draw covers
|
|
18
|
+
* @param {number} [pad=0] - added around the box on every side, in local
|
|
19
|
+
* units: half the line width of a stroke, whose ink reaches past its path
|
|
20
|
+
* @returns {Float64Array|null} `[kx, ox, ky, oy]`, valid until the next call,
|
|
21
|
+
* or null when the draw is already on whole pixels or cannot be snapped
|
|
22
|
+
*/
|
|
23
|
+
export function pixelSnap(a: number, b: number, c: number, d: number, e: number, f: number, x: number, y: number, w: number, h: number, pad?: number): Float64Array | null;
|
|
24
|
+
/**
|
|
25
|
+
* Whether a `Matrix3d` is a 2D transform: x and y out depend on x and y in
|
|
26
|
+
* only, with no perspective. A `Camera3d` view is not.
|
|
27
|
+
* @ignore
|
|
28
|
+
* @param {Float32Array|number[]} v - the matrix values, column-major
|
|
29
|
+
* @returns {boolean}
|
|
30
|
+
*/
|
|
31
|
+
export function is2dTransform(v: Float32Array | number[]): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The box around a list of points: the one a polygon covers, taken from the
|
|
34
|
+
* points it draws rather than from bounds that could be stale (a point moved
|
|
35
|
+
* without `recalc()`), since a draw is stretched to fit its box.
|
|
36
|
+
* @ignore
|
|
37
|
+
* @param {Array<{x: number, y: number}>} points - the points
|
|
38
|
+
* @returns {Float64Array} `[x, y, w, h]`, valid until the next call
|
|
39
|
+
*/
|
|
40
|
+
export function pointsBox(points: Array<{
|
|
41
|
+
x: number;
|
|
42
|
+
y: number;
|
|
43
|
+
}>): Float64Array;
|
|
44
|
+
//# sourceMappingURL=pixel_snap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pixel_snap.d.ts","sourceRoot":"","sources":["../../../src/video/utils/pixel_snap.js"],"names":[],"mappings":"AAqDA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,6BAfW,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,QACN,MAAM,GAEJ,YAAY,GAAC,IAAI,CA0C7B;AAED;;;;;;GAMG;AACH,iCAHW,YAAY,GAAC,MAAM,EAAE,GACnB,OAAO,CAanB;AAKD;;;;;;;GAOG;AACH,kCAHW,KAAK,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC,GAC3B,YAAY,CA2BxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lit_quad_batcher.d.ts","sourceRoot":"","sources":["../../../../src/video/webgl/batchers/lit_quad_batcher.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lit_quad_batcher.d.ts","sourceRoot":"","sources":["../../../../src/video/webgl/batchers/lit_quad_batcher.js"],"names":[],"mappings":"AAsBA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;GAeG;AACH;IAsFE;;;;;;;OAOG;IACH,6GAAiD;IAEjD;;;;;;;;OAQG;IACH,0CAAmD;IAoBnD,2CAAiD;IAEjD;;;;;;;;OAQG;IACH,2GAA4B;IAC5B;;;OAGG;IACH,iBAAoB;IAEpB;;;OAGG;IACH,gCAAoB;IACpB;;;OAGG;IACH,+BAA4B;IAuB5B,qCAIC;IACD;;;OAGG;IACH,wBAA8B;IAW7B,kEAEC;IAsCH;;;;;;;;;;;;;;OAcG;IACH,wBAQC;IAED;;;;;OAKG;IACH,sBAFW,gBAAgB,GAAC,iBAAiB,GAAC,eAAe,GAAC,WAAW,QAaxE;IAiFD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,2BANG;QAA+B,SAAS,EAAhC,YAAY;QACW,MAAM,EAA7B,YAAY;QACY,OAAO;QACd,KAAK,EAAtB,MAAM;QACc,OAAO;KACrC,QAMA;IAED;;;;;;;;;OASG;IACH,qBAHW,gBAAgB,GAAC,iBAAiB,GAAC,eAAe,GAAC,WAAW,QAC9D,MAAM,QAqChB;IAED;;;;;;;;;;OAUG;IACH,yBAJW,gBAAgB,GAAC,iBAAiB,GAAC,eAAe,GAAC,WAAW,QAcxE;IAED;;;;;;;;;;;;;;OAcG;IACH,6BALW,gBAAgB,GAAC,iBAAiB,GAAC,eAAe,GAAC,WAAW,GAC5D,MAAM,CAuClB;IAED;;;;;;;;;;;;;;OAcG;IACH,iBAbW,YAAY,KACZ,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,MACN,MAAM,MACN,MAAM,MACN,MAAM,MACN,MAAM,QACN,MAAM,aACN,OAAO,cACP,gBAAgB,GAAC,iBAAiB,GAAC,IAAI,QAiIjD;CAiFD;wBA1vBuB,mBAAmB;kCADT,qBAAqB;yBAT9B,2BAA2B;kCAoBrB,0BAA0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mesh_batcher.d.ts","sourceRoot":"","sources":["../../../../src/video/webgl/batchers/mesh_batcher.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mesh_batcher.d.ts","sourceRoot":"","sources":["../../../../src/video/webgl/batchers/mesh_batcher.js"],"names":[],"mappings":"AAiGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH;IACC;;;;OAIG;IACH,0BA2HC;IAjHA,wBAA4B;IAI5B,sBAA0B;IAC1B,sBAA0B;IAC1B,sBAA0B;IAI1B,sBAA0B;IAC1B,sBAA0B;IAC1B,sBAA0B;IAC1B,sBAA0B;IAI1B,yBAA6B;IAC7B,wBAA4B;IAG5B,0BAA8B;IAC9B,yBAA6B;IAI7B,iBAA6B;IAC7B,iBAA6B;IAC7B,iBAA6B;IAI7B,oBAAgC;IAChC,oBAAgC;IAChC,wBAAoC;IACpC,uBAAmC;IACnC,iBAA6B;IAC7B,iBAA6B;IAC7B,iBAA6B;IAC7B,qBAAiC;IACjC,qBAAiC;IACjC,qBAAiC;IACjC,oBAAgC;IAQhC,oCAAyB;IAQzB,qCAA0B;IAS1B,0CAA+B;IAO/B,sBAAiC;IAKjC,+CAAsC;IAMtC,oBAAuE;IACvE,kCAKI;IAYH,8DAOC;IAKH;;;;;;OAMG;IACH;;;;QA0BC;IAED;;;;;OAKG;IACH;;;MAEC;IAED;;;;;;;;;;OAUG;IACH,6BA6CC;IAgED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,wBAOC;IAcD;;;;;;;;;;;;;;;;OAgBG;IACH,wBAZW,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,SACN,MAAM,SACN,MAAM,OACN,MAAM,QAMhB;IAED;;;;;;;;;;;;;OAaG;IACH;;;;;;;;;;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B;IAED;;;;;;;;;;;;OAYG;IACH,wBANW,aAAa,eACb,QAAQ,QACR,MAAM,QAuFhB;IAED;;;;;;;;;;OAUG;IACH,yBAJa,QAAQ,CAoBpB;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,8BANW,aAAa,gBACb,MAAM,GACJ,MAAM,CAoElB;IAED;;;;;;;;;OASG;IACH,0BAPW,aAAa,gBACb,QAAQ,QACR,MAAM,QACN,MAAM,QAgChB;IAED;;;;;OAKG;IACH,uBAJW,MAAM,QAYhB;IAED;;;;OAIG;IACH,4BAOC;IAED;;;;;OAKG;IACH,sBAJW,MAAM,QAWhB;IAED;;;;OAIG;IACH,2BAMC;IAED;;;;;;;;;;;;OAYG;IACH,gCAJW,QAAQ,QAsBlB;IAED,mEAmIC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,wBAbW,MAAM,YACN,YAAY,cAGZ,YAAY,GAKV,MAAM,CA2MlB;IAED;;;;;;;;OAQG;IACH,sBAJW,MAAM,QAYhB;IAED,oCA0BC;IAED;;;;;;;;OAQG;IACH,sBANW,MAAM,QACN,MAAM,UACN,MAAM,QAsFhB;CACD;gCAh/D+B,uBAAuB;6BAR1B,gCAAgC;yBAhBpC,2BAA2B;qBAkB/B,gBAAgB"}
|
|
@@ -29,8 +29,9 @@ export default class QuadBatcher extends MaterialBatcher {
|
|
|
29
29
|
* @param {number} width - destination width
|
|
30
30
|
* @param {number} height - destination height
|
|
31
31
|
* @param {GLShader|ShaderEffect} shader - the shader effect to apply
|
|
32
|
+
* @param {number} [alpha=1] - the opacity to composite at (0.0 to 1.0)
|
|
32
33
|
*/
|
|
33
|
-
blitTexture(source: WebGLTexture, x: number, y: number, width: number, height: number, shader: GLShader | ShaderEffect): void;
|
|
34
|
+
blitTexture(source: WebGLTexture, x: number, y: number, width: number, height: number, shader: GLShader | ShaderEffect, alpha?: number): void;
|
|
34
35
|
/**
|
|
35
36
|
* Add a textured quad
|
|
36
37
|
* @param {TextureAtlas} texture - Source texture atlas
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quad_batcher.d.ts","sourceRoot":"","sources":["../../../../src/video/webgl/batchers/quad_batcher.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"quad_batcher.d.ts","sourceRoot":"","sources":["../../../../src/video/webgl/batchers/quad_batcher.js"],"names":[],"mappings":"AAeA;;;;;GAKG;AAEH;;;;GAIG;AACH;IACC;;;;OAIG;IACH,0BAoEC;IAnEA;;;;;OAKG;IAMH,qCAA4C;IA8C5C;;;;;;OAMG;IACH,qCAA2B;IAK5B;;;;;OAKG;IACH,0BAmBC;IAED;;;;;OAKG;IACH,0BAIC;IAED;;;;;;;;;OASG;IACH,uBAuBC;IAXA;;;;OAIG;IACH,iBAAuB;IACvB;;;OAGG;IACH,uBAA+B;IAGhC;;;;;;;OAOG;IACH,kBAFW,QAAQ,GAAC,YAAY,QAK/B;IAyDD;;;;;;;;;;;OAWG;IACH,oBARW,YAAY,KACZ,MAAM,KACN,MAAM,SACN,MAAM,UACN,MAAM,UACN,QAAQ,GAAC,YAAY,UACrB,MAAM,QAmFhB;IAED;;;;;;;;;;;;;OAaG;IACH,iBAZW,YAAY,KACZ,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,MACN,MAAM,MACN,MAAM,MACN,MAAM,MACN,MAAM,QACN,MAAM,aACN,OAAO,QAiGjB;CACD;gCA3b+B,uBAAuB;0BAW9B,gBAAgB;8BACZ,+BAA+B;kCAF7B,0BAA0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orthogonal.d.ts","sourceRoot":"","sources":["../../../../../src/video/webgl/renderers/tmxlayer/orthogonal.js"],"names":[],"mappings":"AAeA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH;IACC;;OAEG;IACH,sBAFW,aAAa,EA0CvB;IAvCA,wBAAwB;IACxB,0BAAqB;IAUrB,iBAKC;IAMD,yBAA0B;IAI1B,2BAA4B;IAG5B;;;OAGG;IACH,+BAA8B;IAC9B;;;OAGG;IACH,+BAA8B;IAG/B;;;;;;OAMG;IACH,cAiCC;IAED;;;;;;;;;;;OAWG;IACH,eAIC;IAED;;;;;;;;;;OAUG;IACH,eAMC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,gCARW,MAAM,aACN,MAAM,GAEJ;QAAC,QAAQ,EAAE,qBAAqB,CAAC;QAAC,IAAI,EAAE,UAAU,CAAC;QAC3D,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAC,GAAC,SAAS,CAiDhD;IAED;;;;;;OAMG;IACH,oBALW,QAAQ,GACN,qBAAqB,CA+BjC;IAED;;;;OAIG;IACH,YAHW,QAAQ,QACR,MAAM,
|
|
1
|
+
{"version":3,"file":"orthogonal.d.ts","sourceRoot":"","sources":["../../../../../src/video/webgl/renderers/tmxlayer/orthogonal.js"],"names":[],"mappings":"AAeA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH;IACC;;OAEG;IACH,sBAFW,aAAa,EA0CvB;IAvCA,wBAAwB;IACxB,0BAAqB;IAUrB,iBAKC;IAMD,yBAA0B;IAI1B,2BAA4B;IAG5B;;;OAGG;IACH,+BAA8B;IAC9B;;;OAGG;IACH,+BAA8B;IAG/B;;;;;;OAMG;IACH,cAiCC;IAED;;;;;;;;;;;OAWG;IACH,eAIC;IAED;;;;;;;;;;OAUG;IACH,eAMC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,gCARW,MAAM,aACN,MAAM,GAEJ;QAAC,QAAQ,EAAE,qBAAqB,CAAC;QAAC,IAAI,EAAE,UAAU,CAAC;QAC3D,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAC,GAAC,SAAS,CAiDhD;IAED;;;;;;OAMG;IACH,oBALW,QAAQ,GACN,qBAAqB,CA+BjC;IAED;;;;OAIG;IACH,YAHW,QAAQ,QACR,MAAM,QAkLhB;CACD;8CA5b4C,yBAAyB;qBAPjD,mBAAmB;sCADF,8BAA8B;yCAO5B,qCAAqC"}
|