melonjs 18.2.2 → 18.3.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 +22 -23
- package/build/application/application.d.ts +85 -13
- package/build/application/application.d.ts.map +1 -1
- package/build/application/defaultApplicationSettings.d.ts +1 -0
- package/build/application/defaultApplicationSettings.d.ts.map +1 -1
- package/build/application/settings.d.ts +20 -1
- package/build/application/settings.d.ts.map +1 -1
- package/build/camera/camera2d.d.ts +9 -9
- package/build/camera/camera2d.d.ts.map +1 -1
- package/build/geometries/path2d.d.ts.map +1 -1
- package/build/index.d.ts +82 -92
- package/build/index.d.ts.map +1 -1
- package/build/index.js +12447 -11605
- package/build/index.js.map +4 -4
- package/build/input/gamepad.d.ts.map +1 -1
- package/build/input/keyboard.d.ts.map +1 -1
- package/build/input/pointer.d.ts.map +1 -1
- package/build/input/pointerevent.d.ts +6 -0
- package/build/input/pointerevent.d.ts.map +1 -1
- package/build/level/level.d.ts +2 -2
- package/build/level/level.d.ts.map +1 -1
- package/build/level/tiled/TMXGroup.d.ts +1 -1
- package/build/level/tiled/TMXLayer.d.ts +4 -4
- package/build/level/tiled/TMXLayer.d.ts.map +1 -1
- package/build/level/tiled/TMXObject.d.ts +1 -1
- package/build/level/tiled/TMXObjectFactory.d.ts +98 -0
- package/build/level/tiled/TMXObjectFactory.d.ts.map +1 -0
- package/build/level/tiled/TMXTileMap.d.ts +7 -3
- package/build/level/tiled/TMXTileMap.d.ts.map +1 -1
- package/build/level/tiled/TMXTileset.d.ts.map +1 -1
- package/build/level/tiled/TMXUtils.d.ts +22 -0
- package/build/level/tiled/TMXUtils.d.ts.map +1 -1
- package/build/level/tiled/factories/shape.d.ts +9 -0
- package/build/level/tiled/factories/shape.d.ts.map +1 -0
- package/build/level/tiled/factories/text.d.ts +8 -0
- package/build/level/tiled/factories/text.d.ts.map +1 -0
- package/build/level/tiled/factories/tile.d.ts +8 -0
- package/build/level/tiled/factories/tile.d.ts.map +1 -0
- package/build/level/tiled/renderer/TMXHexagonalRenderer.d.ts +1 -1
- package/build/level/tiled/renderer/TMXIsometricRenderer.d.ts +1 -1
- package/build/loader/loadingscreen.d.ts +1 -1
- package/build/loader/loadingscreen.d.ts.map +1 -1
- package/build/loader/parsers/fetchdata.d.ts.map +1 -1
- package/build/loader/parsers/fontface.d.ts +2 -2
- package/build/loader/parsers/tmx.d.ts +0 -1
- package/build/loader/parsers/tmx.d.ts.map +1 -1
- package/build/loader/parsers/video.d.ts.map +1 -1
- package/build/particles/emitter.d.ts +2 -2
- package/build/physics/bounds.d.ts +1 -1
- package/build/physics/collision.d.ts +1 -1
- package/build/physics/detector.d.ts +1 -1
- package/build/physics/quadtree.d.ts.map +1 -1
- package/build/physics/world.d.ts +3 -3
- package/build/physics/world.d.ts.map +1 -1
- package/build/plugin/plugin.d.ts +3 -3
- package/build/renderable/container.d.ts +11 -3
- package/build/renderable/container.d.ts.map +1 -1
- package/build/renderable/draggable.d.ts.map +1 -1
- package/build/renderable/dragndrop.d.ts.map +1 -1
- package/build/renderable/imagelayer.d.ts +1 -4
- package/build/renderable/imagelayer.d.ts.map +1 -1
- package/build/renderable/renderable.d.ts +3 -3
- package/build/renderable/sprite.d.ts +1 -1
- package/build/renderable/sprite.d.ts.map +1 -1
- package/build/renderable/text/bitmaptext.d.ts +1 -1
- package/build/renderable/text/bitmaptext.d.ts.map +1 -1
- package/build/renderable/text/bitmaptextdata.d.ts +2 -0
- package/build/renderable/text/bitmaptextdata.d.ts.map +1 -1
- package/build/renderable/text/text.d.ts +6 -1
- package/build/renderable/text/text.d.ts.map +1 -1
- package/build/renderable/text/textmetrics.d.ts +2 -0
- package/build/renderable/text/textmetrics.d.ts.map +1 -1
- package/build/renderable/ui/uibaseelement.d.ts +0 -1
- package/build/renderable/ui/uibaseelement.d.ts.map +1 -1
- package/build/state/stage.d.ts +6 -4
- package/build/state/stage.d.ts.map +1 -1
- package/build/state/state.d.ts +2 -2
- package/build/state/state.d.ts.map +1 -1
- package/build/system/bootstrap.d.ts +13 -0
- package/build/system/bootstrap.d.ts.map +1 -0
- package/build/system/device.d.ts +5 -4
- package/build/system/device.d.ts.map +1 -1
- package/build/system/event.d.ts +25 -5
- package/build/system/event.d.ts.map +1 -1
- package/build/system/eventEmitter.d.ts +4 -4
- package/build/system/eventEmitter.d.ts.map +1 -1
- package/build/system/legacy_pool.d.ts +32 -4
- package/build/system/legacy_pool.d.ts.map +1 -1
- package/build/system/platform.d.ts.map +1 -1
- package/build/system/timer.d.ts.map +1 -1
- package/build/tweens/tween.d.ts +4 -2
- package/build/tweens/tween.d.ts.map +1 -1
- package/build/utils/function.d.ts +1 -1
- package/build/utils/function.d.ts.map +1 -1
- package/build/video/canvas/canvas_renderer.d.ts +27 -6
- package/build/video/canvas/canvas_renderer.d.ts.map +1 -1
- package/build/video/gradient.d.ts +85 -0
- package/build/video/gradient.d.ts.map +1 -0
- package/build/video/renderer.d.ts +43 -0
- package/build/video/renderer.d.ts.map +1 -1
- package/build/video/renderstate.d.ts +18 -0
- package/build/video/renderstate.d.ts.map +1 -1
- package/build/video/rendertarget/canvasrendertarget.d.ts +3 -1
- package/build/video/rendertarget/canvasrendertarget.d.ts.map +1 -1
- package/build/video/texture/atlas.d.ts.map +1 -1
- package/build/video/texture/cache.d.ts +2 -1
- package/build/video/texture/cache.d.ts.map +1 -1
- package/build/video/utils/dash.d.ts +15 -0
- package/build/video/utils/dash.d.ts.map +1 -0
- package/build/video/utils/tessellation.d.ts +29 -0
- package/build/video/utils/tessellation.d.ts.map +1 -0
- package/build/video/video.d.ts +16 -2
- package/build/video/video.d.ts.map +1 -1
- package/build/video/webgl/utils/program.d.ts.map +1 -1
- package/build/video/webgl/webgl_renderer.d.ts +32 -6
- package/build/video/webgl/webgl_renderer.d.ts.map +1 -1
- package/package.json +9 -9
- package/build/system/eventEmitter.spec.d.ts +0 -2
- package/build/system/eventEmitter.spec.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Why melonJS
|
|
|
26
26
|
|
|
27
27
|
melonJS is designed so you can **focus on making games, not on graphics plumbing**.
|
|
28
28
|
|
|
29
|
-
- **Canvas2D-inspired rendering API** — If you've used the HTML5 Canvas, you already know melonJS. The rendering API (`save`, `restore`, `translate`, `rotate`, `setColor`, `fillRect`, ...) follows the same familiar patterns — no render graphs, no shader pipelines, no instruction sets to learn.
|
|
29
|
+
- **[Canvas2D-inspired rendering API](https://github.com/melonjs/melonJS/wiki/Rendering-API)** — If you've used the HTML5 Canvas, you already know melonJS. The rendering API (`save`, `restore`, `translate`, `rotate`, `setColor`, `fillRect`, ...) follows the same familiar patterns — no render graphs, no shader pipelines, no instruction sets to learn.
|
|
30
30
|
|
|
31
31
|
- **True renderer abstraction** — Write your game once, run it on WebGL or Canvas2D with zero code changes. The engine handles all GPU complexity behind a unified API, with automatic fallback when WebGL is not available. Designed to support future backends (WebGPU) without touching game code.
|
|
32
32
|
|
|
@@ -163,30 +163,29 @@ Browse all examples [here](https://melonjs.github.io/melonJS/examples/)
|
|
|
163
163
|
### Basic Hello World Example
|
|
164
164
|
|
|
165
165
|
```JavaScript
|
|
166
|
-
import
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
// set a gray background color
|
|
176
|
-
me.game.world.backgroundColor.parseCSS("#202020");
|
|
177
|
-
|
|
178
|
-
// add a font text display object
|
|
179
|
-
me.game.world.addChild(new me.Text(609, 281, {
|
|
180
|
-
font: "Arial",
|
|
181
|
-
size: 160,
|
|
182
|
-
fillStyle: "#FFFFFF",
|
|
183
|
-
textBaseline : "middle",
|
|
184
|
-
textAlign : "center",
|
|
185
|
-
text : "Hello World !"
|
|
186
|
-
}));
|
|
166
|
+
import { Application, Text } from "https://cdn.jsdelivr.net/npm/melonjs/+esm";
|
|
167
|
+
|
|
168
|
+
// create a new melonJS application
|
|
169
|
+
const app = new Application(1218, 562, {
|
|
170
|
+
parent: "screen",
|
|
171
|
+
scale: "auto",
|
|
172
|
+
backgroundColor: "#202020",
|
|
187
173
|
});
|
|
174
|
+
|
|
175
|
+
// set a gray background color
|
|
176
|
+
app.world.backgroundColor.parseCSS("#202020");
|
|
177
|
+
|
|
178
|
+
// add a font text display object
|
|
179
|
+
app.world.addChild(new Text(609, 281, {
|
|
180
|
+
font: "Arial",
|
|
181
|
+
size: 160,
|
|
182
|
+
fillStyle: "#FFFFFF",
|
|
183
|
+
textBaseline: "middle",
|
|
184
|
+
textAlign: "center",
|
|
185
|
+
text: "Hello World !",
|
|
186
|
+
}));
|
|
188
187
|
```
|
|
189
|
-
> Simple hello world using melonJS
|
|
188
|
+
> Simple hello world using melonJS
|
|
190
189
|
|
|
191
190
|
Documentation
|
|
192
191
|
-------------------------------------------------------------------------------
|
|
@@ -1,11 +1,34 @@
|
|
|
1
1
|
import type Camera2d from "./../camera/camera2d.ts";
|
|
2
2
|
import World from "../physics/world.js";
|
|
3
3
|
import type Renderer from "./../video/renderer.js";
|
|
4
|
-
import type { ApplicationSettings } from "./settings.ts";
|
|
4
|
+
import type { ApplicationSettings, ResolvedApplicationSettings } from "./settings.ts";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* The Application class is the main entry point for creating a melonJS game.
|
|
7
|
+
* It initializes the renderer, creates the game world and viewport, registers DOM event
|
|
8
|
+
* listeners (resize, orientation, scroll), and starts the game loop.
|
|
9
|
+
*
|
|
10
|
+
* The Application instance provides access to the core game systems:
|
|
11
|
+
* - {@link Application#renderer renderer} — the active Canvas or WebGL renderer
|
|
12
|
+
* - {@link Application#world world} — the root container for all game objects
|
|
13
|
+
* - {@link Application#viewport viewport} — the default camera / viewport
|
|
14
|
+
*
|
|
15
|
+
* The app instance is automatically passed to {@link Stage#onResetEvent} and
|
|
16
|
+
* {@link Stage#onDestroyEvent}, and is accessible from any renderable via
|
|
17
|
+
* {@link Renderable#parentApp parentApp}.
|
|
7
18
|
* @category Application
|
|
8
|
-
* @
|
|
19
|
+
* @example
|
|
20
|
+
* // create a new melonJS Application
|
|
21
|
+
* const app = new Application(800, 600, {
|
|
22
|
+
* parent: "screen",
|
|
23
|
+
* scaleMethod: "flex-width",
|
|
24
|
+
* renderer: 2, // AUTO
|
|
25
|
+
* });
|
|
26
|
+
*
|
|
27
|
+
* // add objects to the world
|
|
28
|
+
* app.world.addChild(new Sprite(0, 0, { image: "player" }));
|
|
29
|
+
*
|
|
30
|
+
* // access the viewport
|
|
31
|
+
* app.viewport.follow(player, app.viewport.AXIS.BOTH);
|
|
9
32
|
*/
|
|
10
33
|
export default class Application {
|
|
11
34
|
/**
|
|
@@ -46,20 +69,13 @@ export default class Application {
|
|
|
46
69
|
/**
|
|
47
70
|
* the given settings used when creating this application
|
|
48
71
|
*/
|
|
49
|
-
settings:
|
|
50
|
-
width: number;
|
|
51
|
-
height: number;
|
|
52
|
-
autoScale: boolean;
|
|
53
|
-
zoomX: number;
|
|
54
|
-
zoomY: number;
|
|
55
|
-
scale: number | "auto";
|
|
56
|
-
};
|
|
72
|
+
settings: ResolvedApplicationSettings;
|
|
57
73
|
/**
|
|
58
74
|
* Specify whether to pause this app when losing focus
|
|
59
75
|
* @default true
|
|
60
76
|
* @example
|
|
61
77
|
* // keep the default game instance running even when losing focus
|
|
62
|
-
*
|
|
78
|
+
* app.pauseOnBlur = false;
|
|
63
79
|
*/
|
|
64
80
|
pauseOnBlur: boolean;
|
|
65
81
|
/**
|
|
@@ -80,14 +96,26 @@ export default class Application {
|
|
|
80
96
|
accumulatorMax: number;
|
|
81
97
|
accumulatorUpdateDelta: number;
|
|
82
98
|
stepSize: number;
|
|
99
|
+
private _onResize?;
|
|
100
|
+
private _onOrientationChange?;
|
|
101
|
+
private _onScroll?;
|
|
83
102
|
updateDelta: number;
|
|
84
103
|
lastUpdateStart: number | null;
|
|
85
104
|
updateAverageDelta: number;
|
|
86
105
|
/**
|
|
106
|
+
* Create and initialize a new melonJS Application.
|
|
107
|
+
* This is the recommended way to start a melonJS game.
|
|
87
108
|
* @param width - The width of the canvas viewport
|
|
88
109
|
* @param height - The height of the canvas viewport
|
|
89
110
|
* @param options - The optional parameters for the application and default renderer
|
|
90
111
|
* @throws {Error} Will throw an exception if it fails to instantiate a renderer
|
|
112
|
+
* @example
|
|
113
|
+
* const app = new Application(1024, 768, {
|
|
114
|
+
* parent: "game-container",
|
|
115
|
+
* scale: "auto",
|
|
116
|
+
* scaleMethod: "fit",
|
|
117
|
+
* renderer: 2, // AUTO
|
|
118
|
+
* });
|
|
91
119
|
*/
|
|
92
120
|
constructor(width: number, height: number, options?: Partial<ApplicationSettings> & {
|
|
93
121
|
legacy?: boolean;
|
|
@@ -116,7 +144,7 @@ export default class Application {
|
|
|
116
144
|
* Additionally the level id will also be passed to the called function.
|
|
117
145
|
* @example
|
|
118
146
|
* // call myFunction () everytime a level is loaded
|
|
119
|
-
*
|
|
147
|
+
* app.onLevelLoaded = this.myFunction.bind(this);
|
|
120
148
|
*/
|
|
121
149
|
onLevelLoaded(): void;
|
|
122
150
|
/**
|
|
@@ -130,10 +158,42 @@ export default class Application {
|
|
|
130
158
|
* @returns the parent HTML element
|
|
131
159
|
*/
|
|
132
160
|
getParentElement(): HTMLElement;
|
|
161
|
+
/**
|
|
162
|
+
* The HTML canvas element associated with this application's renderer.
|
|
163
|
+
* @example
|
|
164
|
+
* // access the canvas DOM element
|
|
165
|
+
* const canvas = app.canvas;
|
|
166
|
+
*/
|
|
167
|
+
get canvas(): HTMLCanvasElement;
|
|
168
|
+
/**
|
|
169
|
+
* Trigger a manual resize of the application canvas to fit the parent element.
|
|
170
|
+
* This is automatically called on window resize/orientation change, but can
|
|
171
|
+
* be called manually if the parent element size changes programmatically.
|
|
172
|
+
* @example
|
|
173
|
+
* // force a resize after changing the parent element dimensions
|
|
174
|
+
* app.resize();
|
|
175
|
+
*/
|
|
176
|
+
resize(): void;
|
|
177
|
+
/**
|
|
178
|
+
* Destroy this application instance and release all associated resources.
|
|
179
|
+
* Removes the canvas from the DOM, destroys the world, and unregisters
|
|
180
|
+
* all event listeners.
|
|
181
|
+
* @param removeCanvas - if true, the canvas element is removed from the DOM (default: true)
|
|
182
|
+
* @example
|
|
183
|
+
* // clean up when done
|
|
184
|
+
* app.destroy();
|
|
185
|
+
*/
|
|
186
|
+
destroy(removeCanvas?: boolean): void;
|
|
133
187
|
/**
|
|
134
188
|
* force the redraw (not update) of all objects
|
|
135
189
|
*/
|
|
136
190
|
repaint(): void;
|
|
191
|
+
/** @ignore */
|
|
192
|
+
_tick(time: number): void;
|
|
193
|
+
/** @ignore */
|
|
194
|
+
_onBlur(): void;
|
|
195
|
+
/** @ignore */
|
|
196
|
+
_onFocus(): void;
|
|
137
197
|
/**
|
|
138
198
|
* update all objects related to this game active scene/stage
|
|
139
199
|
* @param time - current timestamp as provided by the RAF callback
|
|
@@ -144,4 +204,16 @@ export default class Application {
|
|
|
144
204
|
*/
|
|
145
205
|
draw(): void;
|
|
146
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* The default game application instance.
|
|
209
|
+
* Set via {@link setDefaultGame} during engine initialization.
|
|
210
|
+
* When using {@link Application} directly, prefer using the app instance
|
|
211
|
+
* (e.g. from {@link Stage#onResetEvent} or {@link Renderable#parentApp}).
|
|
212
|
+
*/
|
|
213
|
+
export declare let game: Application;
|
|
214
|
+
/**
|
|
215
|
+
* Set the default game application instance.
|
|
216
|
+
* @ignore
|
|
217
|
+
*/
|
|
218
|
+
export declare function setDefaultGame(app: Application): void;
|
|
147
219
|
//# sourceMappingURL=application.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../src/application/application.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AAEpD,OAAO,KAAK,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../src/application/application.ts"],"names":[],"mappings":"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ources":["../../src/application/defaultApplicationSettings.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"defaultApplicationSettings.d.ts","sourceRoot":"","sources":["../../src/application/defaultApplicationSettings.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;CAiBC,CAAC"}
|
|
@@ -70,6 +70,13 @@ export type ApplicationSettings = {
|
|
|
70
70
|
subPixel: boolean;
|
|
71
71
|
verbose: boolean;
|
|
72
72
|
legacy: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* the CSS background color of the parent element that holds the canvas.
|
|
75
|
+
* Applied during initialization to prevent a white flash before the first render.
|
|
76
|
+
* Set to `"transparent"` to disable, or any valid CSS color value.
|
|
77
|
+
* @default "#000000"
|
|
78
|
+
*/
|
|
79
|
+
backgroundColor: string;
|
|
73
80
|
/**
|
|
74
81
|
* a custom batcher class (WebGL only)
|
|
75
82
|
* @deprecated since 18.1.0 — use `batcher` instead
|
|
@@ -80,11 +87,23 @@ export type ApplicationSettings = {
|
|
|
80
87
|
*/
|
|
81
88
|
batcher?: (new (renderer: any) => Batcher) | undefined;
|
|
82
89
|
} & ({
|
|
83
|
-
parent: HTMLElement;
|
|
90
|
+
parent: string | HTMLElement;
|
|
84
91
|
canvas?: never;
|
|
85
92
|
} | {
|
|
86
93
|
parent?: never;
|
|
87
94
|
canvas: HTMLCanvasElement;
|
|
88
95
|
});
|
|
96
|
+
/**
|
|
97
|
+
* Resolved application settings after init() has processed the input.
|
|
98
|
+
* Includes computed properties not present in the user-facing settings.
|
|
99
|
+
*/
|
|
100
|
+
export type ResolvedApplicationSettings = ApplicationSettings & {
|
|
101
|
+
width: number;
|
|
102
|
+
height: number;
|
|
103
|
+
autoScale: boolean;
|
|
104
|
+
zoomX: number;
|
|
105
|
+
zoomY: number;
|
|
106
|
+
scale: number;
|
|
107
|
+
};
|
|
89
108
|
export {};
|
|
90
109
|
//# sourceMappingURL=settings.d.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,CAAC;IAEnB;;;OAGG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IAErB;;;OAGG;IACH,MAAM,EAAE,WAAW,CAAC;IACpB,4BAA4B,EAAE,OAAO,CAAC;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAEhB;;;;;OAKG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,QAAQ,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;IAE1D;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,QAAQ,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;CACvD,GAAG,CACD;IAEA,MAAM,EAAE,MAAM,GAAG,WAAW,CAAC;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC;CACd,GACD;IACA,MAAM,CAAC,EAAE,KAAK,CAAC;IAEf,MAAM,EAAE,iBAAiB,CAAC;CACzB,CACH,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -37,7 +37,7 @@ interface FadeState {
|
|
|
37
37
|
* // create a minimap camera in the top-right corner showing the full level
|
|
38
38
|
* const minimap = new Camera2d(0, 0, 180, 100);
|
|
39
39
|
* minimap.name = "minimap";
|
|
40
|
-
* minimap.screenX =
|
|
40
|
+
* minimap.screenX = app.viewport.width - 190;
|
|
41
41
|
* minimap.screenY = 10;
|
|
42
42
|
* minimap.autoResize = false;
|
|
43
43
|
* minimap.setBounds(0, 0, levelWidth, levelHeight);
|
|
@@ -230,11 +230,11 @@ export default class Camera2d extends Renderable {
|
|
|
230
230
|
* set the camera to follow the specified renderable. <br>
|
|
231
231
|
* (this will put the camera center around the given target)
|
|
232
232
|
* @param target - renderable or position vector to follow
|
|
233
|
-
* @param [axis=
|
|
233
|
+
* @param [axis=app.viewport.AXIS.BOTH] - Which axis to follow (see {@link Camera2d.AXIS})
|
|
234
234
|
* @param [damping=1] - default damping value
|
|
235
235
|
* @example
|
|
236
236
|
* // set the camera to follow this renderable on both axis, and enable damping
|
|
237
|
-
*
|
|
237
|
+
* app.viewport.follow(this, app.viewport.AXIS.BOTH, 0.1);
|
|
238
238
|
*/
|
|
239
239
|
follow(target: Renderable | Vector2d | Vector3d, axis?: number, damping?: number): void;
|
|
240
240
|
/**
|
|
@@ -248,7 +248,7 @@ export default class Camera2d extends Renderable {
|
|
|
248
248
|
* @param y - vertical offset
|
|
249
249
|
* @example
|
|
250
250
|
* // Move the camera up by four pixels
|
|
251
|
-
*
|
|
251
|
+
* app.viewport.move(0, -4);
|
|
252
252
|
*/
|
|
253
253
|
move(x: number, y: number): void;
|
|
254
254
|
/**
|
|
@@ -267,12 +267,12 @@ export default class Camera2d extends Renderable {
|
|
|
267
267
|
* @param intensity - maximum offset that the screen can be moved
|
|
268
268
|
* while shaking
|
|
269
269
|
* @param duration - expressed in milliseconds
|
|
270
|
-
* @param [axis=
|
|
270
|
+
* @param [axis=app.viewport.AXIS.BOTH] - specify on which axis to apply the shake effect (see {@link Camera2d.AXIS})
|
|
271
271
|
* @param [onComplete] - callback once shaking effect is over
|
|
272
272
|
* @param [force] - if true this will override the current effect
|
|
273
273
|
* @example
|
|
274
274
|
* // shake it baby !
|
|
275
|
-
*
|
|
275
|
+
* app.viewport.shake(10, 500, app.viewport.AXIS.BOTH);
|
|
276
276
|
*/
|
|
277
277
|
shake(intensity: number, duration: number, axis?: number, onComplete?: () => void, force?: boolean): void;
|
|
278
278
|
/**
|
|
@@ -283,10 +283,10 @@ export default class Camera2d extends Renderable {
|
|
|
283
283
|
* @param [onComplete] - callback once effect is over
|
|
284
284
|
* @example
|
|
285
285
|
* // fade the camera to white upon dying, reload the level, and then fade out back
|
|
286
|
-
*
|
|
286
|
+
* app.viewport.fadeIn("#fff", 150, function() {
|
|
287
287
|
* me.audio.play("die", false);
|
|
288
288
|
* me.level.reload();
|
|
289
|
-
*
|
|
289
|
+
* app.viewport.fadeOut("#fff", 150);
|
|
290
290
|
* });
|
|
291
291
|
*/
|
|
292
292
|
fadeOut(color: Color | string, duration?: number, onComplete?: () => void): void;
|
|
@@ -298,7 +298,7 @@ export default class Camera2d extends Renderable {
|
|
|
298
298
|
* @param [onComplete] - callback once effect is over
|
|
299
299
|
* @example
|
|
300
300
|
* // flash the camera to white for 75ms
|
|
301
|
-
*
|
|
301
|
+
* app.viewport.fadeIn("#FFFFFF", 75);
|
|
302
302
|
*/
|
|
303
303
|
fadeIn(color: Color | string, duration?: number, onComplete?: () => void): void;
|
|
304
304
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"camera2d.d.ts","sourceRoot":"","sources":["../../src/camera/camera2d.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"camera2d.d.ts","sourceRoot":"","sources":["../../src/camera/camera2d.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG9C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAgB,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAc,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,SAAS,MAAM,8BAA8B,CA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hB;IAED;;;;;;;;;OASG;IACH,OAPW,MAAM,KACN,MAAM,UACN,MAAM,cACN,MAAM,YACN,MAAM,kBACN,OAAO,QA2DjB;IAED;;;;;;;OAOG;IACH,UANW,MAAM,MACN,MAAM,MACN,MAAM,MACN,MAAM,UACN,MAAM,QAyDhB;IAED;;;;;;;;;;;OAWG;IACH,WATW,MAAM,KACN,MAAM,WACN,MAAM,WACN,MAAM,YACN,MAAM,cACN,MAAM,YACN,MAAM,kBACN,OAAO,QA4EjB;IAED;;;;;;OAMG;IACH,sBALW,MAAM,OACN,MAAM,KACN,MAAM,KACN,MAAM,
|
|
1
|
+
{"version":3,"file":"path2d.d.ts","sourceRoot":"","sources":["../../src/geometries/path2d.js"],"names":[],"mappings":";AAKA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AACH;IACC,0BA0BC;IAzBA;;;OAGG;IACH,QAFU,KAAK,EAAE,CAED;IAEhB;;;;OAIG;IACH,eAHU,MAAM,CAGM;IAGtB,gBAAkB;IAGlB,kBAAiC;IAGjC,iBAAoB;IAOrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,sBALW,MAAM,QA+IhB;IAED;;OAEG;IACH,kBAQC;IAED;;;;OAIG;IACH,kBASC;IAED;;;OAGG;IACH,mBAFa,KAAK,EAAE,CAkCnB;IAED;;;;OAIG;IACH,UAHW,MAAM,KACN,MAAM,QAKhB;IAED;;;;OAIG;IACH,UAHW,MAAM,KACN,MAAM,QAmBhB;IAED;;;;;;;;;OASG;IACH,OAPW,MAAM,KACN,MAAM,UACN,MAAM,cACN,MAAM,YACN,MAAM,kBACN,OAAO,QA2DjB;IAED;;;;;;;OAOG;IACH,UANW,MAAM,MACN,MAAM,MACN,MAAM,MACN,MAAM,UACN,MAAM,QAyDhB;IAED;;;;;;;;;;;OAWG;IACH,WATW,MAAM,KACN,MAAM,WACN,MAAM,WACN,MAAM,YACN,MAAM,cACN,MAAM,YACN,MAAM,kBACN,OAAO,QA4EjB;IAED;;;;;;OAMG;IACH,sBALW,MAAM,OACN,MAAM,KACN,MAAM,KACN,MAAM,QA8BhB;IAED;;;;;;;;OAQG;IACH,oBAPW,MAAM,QACN,MAAM,QACN,MAAM,QACN,MAAM,KACN,MAAM,KACN,MAAM,QA0ChB;IAED;;;;;;OAMG;IACH,QALW,MAAM,KACN,MAAM,SACN,MAAM,UACN,MAAM,QAgBhB;IAED;;;;;;;OAOG;IACH,aANW,MAAM,KACN,MAAM,SACN,MAAM,UACN,MAAM,UACN,MAAM,QAoBhB;CACD;2BAnqBuB,YAAY"}
|
package/build/index.d.ts
CHANGED
|
@@ -1,28 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import "./polyfill/index.ts";
|
|
2
|
+
import Application from "./application/application.ts";
|
|
3
|
+
import Camera2d from "./camera/camera2d.ts";
|
|
4
|
+
import Pointer from "./input/pointer.ts";
|
|
5
|
+
import TMXHexagonalRenderer from "./level/tiled/renderer/TMXHexagonalRenderer.js";
|
|
6
|
+
import TMXIsometricRenderer from "./level/tiled/renderer/TMXIsometricRenderer.js";
|
|
7
|
+
import TMXOrthogonalRenderer from "./level/tiled/renderer/TMXOrthogonalRenderer.js";
|
|
8
|
+
import TMXRenderer from "./level/tiled/renderer/TMXRenderer.js";
|
|
9
|
+
import TMXStaggeredRenderer from "./level/tiled/renderer/TMXStaggeredRenderer.js";
|
|
10
|
+
import TMXLayer from "./level/tiled/TMXLayer.js";
|
|
11
|
+
import Tile from "./level/tiled/TMXTile.js";
|
|
12
|
+
import TMXTileMap from "./level/tiled/TMXTileMap.js";
|
|
13
|
+
import TMXTileset from "./level/tiled/TMXTileset.js";
|
|
14
|
+
import TMXTilesetGroup from "./level/tiled/TMXTilesetGroup.js";
|
|
15
|
+
import * as TMXUtils from "./level/tiled/TMXUtils.js";
|
|
16
|
+
import ParticleEmitter from "./particles/emitter.ts";
|
|
17
|
+
import Particle from "./particles/particle.ts";
|
|
18
|
+
import ParticleEmitterSettings from "./particles/settings.js";
|
|
19
|
+
import Body from "./physics/body.js";
|
|
20
|
+
import QuadTree from "./physics/quadtree.js";
|
|
21
|
+
import World from "./physics/world.js";
|
|
22
|
+
import { cache as plugins } from "./plugin/plugin.ts";
|
|
23
|
+
import Collectable from "./renderable/collectable.js";
|
|
24
|
+
import ColorLayer from "./renderable/colorlayer.js";
|
|
25
|
+
import Container from "./renderable/container.js";
|
|
26
|
+
import { Draggable } from "./renderable/draggable.js";
|
|
27
|
+
import { DropTarget } from "./renderable/dragndrop.js";
|
|
28
|
+
import Entity from "./renderable/entity/entity.js";
|
|
29
|
+
import ImageLayer from "./renderable/imagelayer.js";
|
|
30
|
+
import Light2d from "./renderable/light2d.js";
|
|
31
|
+
import NineSliceSprite from "./renderable/nineslicesprite.js";
|
|
32
|
+
import Renderable from "./renderable/renderable.js";
|
|
33
|
+
import Sprite from "./renderable/sprite.js";
|
|
34
|
+
import BitmapText from "./renderable/text/bitmaptext.js";
|
|
35
|
+
import BitmapTextData from "./renderable/text/bitmaptextdata.ts";
|
|
36
|
+
import Text from "./renderable/text/text.js";
|
|
37
|
+
import Trigger from "./renderable/trigger.js";
|
|
38
|
+
import UIBaseElement from "./renderable/ui/uibaseelement.ts";
|
|
39
|
+
import UISpriteElement from "./renderable/ui/uispriteelement.ts";
|
|
40
|
+
import UITextButton from "./renderable/ui/uitextbutton.ts";
|
|
41
|
+
import Stage from "./state/stage.js";
|
|
42
|
+
import state from "./state/state.ts";
|
|
43
|
+
import pool from "./system/legacy_pool.js";
|
|
44
|
+
import save from "./system/save.ts";
|
|
45
|
+
import timer from "./system/timer.ts";
|
|
46
|
+
import Tween from "./tweens/tween.ts";
|
|
47
|
+
import CanvasRenderer from "./video/canvas/canvas_renderer.js";
|
|
48
|
+
import { Gradient } from "./video/gradient.js";
|
|
49
|
+
import Renderer from "./video/renderer.js";
|
|
50
|
+
import RenderState from "./video/renderstate.js";
|
|
51
|
+
import CanvasRenderTarget from "./video/rendertarget/canvasrendertarget.js";
|
|
52
|
+
import { TextureAtlas } from "./video/texture/atlas.js";
|
|
53
|
+
import { Batcher } from "./video/webgl/batchers/batcher.js";
|
|
54
|
+
import PrimitiveBatcher from "./video/webgl/batchers/primitive_batcher.js";
|
|
55
|
+
import QuadBatcher from "./video/webgl/batchers/quad_batcher.js";
|
|
56
|
+
import GLShader from "./video/webgl/glshader.js";
|
|
57
|
+
import ShaderEffect from "./video/webgl/shadereffect.js";
|
|
58
|
+
import WebGLRenderer from "./video/webgl/webgl_renderer.js";
|
|
10
59
|
export * from "./application/scaleMethods.ts";
|
|
11
60
|
export * from "./application/settings.ts";
|
|
12
|
-
export * from "./version.ts";
|
|
13
|
-
export * from "./const.ts";
|
|
14
|
-
export * from "./lang/deprecated.js";
|
|
15
61
|
export * as audio from "./audio/audio.ts";
|
|
16
|
-
export *
|
|
17
|
-
export { level } from "./level/level.js";
|
|
18
|
-
export * as loader from "./loader/loader.js";
|
|
19
|
-
export * as math from "./math/math.ts";
|
|
20
|
-
export { collision } from "./physics/collision.js";
|
|
21
|
-
export * as plugin from "./plugin/plugin.ts";
|
|
22
|
-
export * as device from "./system/device.js";
|
|
23
|
-
export * as event from "./system/event.ts";
|
|
24
|
-
export * as utils from "./utils/utils.ts";
|
|
25
|
-
export * as video from "./video/video.js";
|
|
62
|
+
export * from "./const.ts";
|
|
26
63
|
export { Ellipse } from "./geometries/ellipse.ts";
|
|
27
64
|
export { Line } from "./geometries/line.ts";
|
|
28
65
|
export { ObservablePoint } from "./geometries/observablePoint.ts";
|
|
@@ -30,7 +67,13 @@ export { Point } from "./geometries/point.ts";
|
|
|
30
67
|
export { Polygon } from "./geometries/polygon.ts";
|
|
31
68
|
export { Rect } from "./geometries/rectangle.ts";
|
|
32
69
|
export { RoundRect } from "./geometries/roundrect.ts";
|
|
70
|
+
export * as input from "./input/input.ts";
|
|
71
|
+
export * from "./lang/deprecated.js";
|
|
72
|
+
export { level } from "./level/level.js";
|
|
73
|
+
export { registerTiledObjectClass, registerTiledObjectFactory, } from "./level/tiled/TMXObjectFactory.js";
|
|
74
|
+
export * as loader from "./loader/loader.js";
|
|
33
75
|
export { Color } from "./math/color.ts";
|
|
76
|
+
export * as math from "./math/math.ts";
|
|
34
77
|
export { Matrix2d } from "./math/matrix2d.ts";
|
|
35
78
|
export { Matrix3d } from "./math/matrix3d.ts";
|
|
36
79
|
export { ObservableVector2d } from "./math/observableVector2d.ts";
|
|
@@ -38,81 +81,28 @@ export { ObservableVector3d } from "./math/observableVector3d.ts";
|
|
|
38
81
|
export { Vector2d } from "./math/vector2d.ts";
|
|
39
82
|
export { Vector3d } from "./math/vector3d.ts";
|
|
40
83
|
export { Bounds } from "./physics/bounds.ts";
|
|
84
|
+
export { collision } from "./physics/collision.js";
|
|
85
|
+
export * as plugin from "./plugin/plugin.ts";
|
|
41
86
|
export { getPool } from "./pool.ts";
|
|
42
|
-
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
|
|
48
|
-
|
|
87
|
+
export * as device from "./system/device.js";
|
|
88
|
+
export * as event from "./system/event.ts";
|
|
89
|
+
export * as utils from "./utils/utils.ts";
|
|
90
|
+
export * from "./version.ts";
|
|
91
|
+
export * as video from "./video/video.js";
|
|
92
|
+
export { Application, Batcher, BitmapText, BitmapTextData, Body, Camera2d, CanvasRenderer, CanvasRenderTarget, Collectable, ColorLayer, Container, Draggable, DropTarget, Entity, // eslint-disable-line @typescript-eslint/no-deprecated
|
|
93
|
+
GLShader, Gradient, ImageLayer, Light2d, NineSliceSprite, Particle, ParticleEmitter, ParticleEmitterSettings, Pointer, PrimitiveBatcher, plugins, pool, QuadBatcher, QuadTree, Renderable, Renderer, RenderState, ShaderEffect, Sprite, Stage, save, state, Text, TextureAtlas, Tile, TMXHexagonalRenderer, TMXIsometricRenderer, TMXLayer, TMXOrthogonalRenderer, TMXRenderer, TMXStaggeredRenderer, TMXTileMap, TMXTileset, TMXTilesetGroup, TMXUtils, Trigger, Tween, timer, UIBaseElement, UISpriteElement, UITextButton, WebGLRenderer, World, };
|
|
49
94
|
/**
|
|
50
95
|
* disable melonJS auto-initialization
|
|
51
|
-
* @type {boolean}
|
|
52
96
|
* @see {@link boot}
|
|
53
97
|
*/
|
|
54
|
-
export let skipAutoInit: boolean;
|
|
98
|
+
export declare let skipAutoInit: boolean;
|
|
99
|
+
export { initialized } from "./system/bootstrap.ts";
|
|
100
|
+
export { game } from "./application/application.ts";
|
|
55
101
|
/**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
102
|
+
* initialize the melonJS library.
|
|
103
|
+
* this is automatically called unless skipAutoInit is set to true,
|
|
104
|
+
* to allow asynchronous loaders to work.
|
|
105
|
+
* @see {@link skipAutoInit}
|
|
59
106
|
*/
|
|
60
|
-
export
|
|
61
|
-
import { cache as plugins } from "./plugin/plugin.ts";
|
|
62
|
-
import save from "./system/save.ts";
|
|
63
|
-
import timer from "./system/timer.ts";
|
|
64
|
-
import pool from "./system/legacy_pool.js";
|
|
65
|
-
import state from "./state/state.ts";
|
|
66
|
-
import Tween from "./tweens/tween.ts";
|
|
67
|
-
import QuadTree from "./physics/quadtree.js";
|
|
68
|
-
import GLShader from "./video/webgl/glshader.js";
|
|
69
|
-
import ShaderEffect from "./video/webgl/shadereffect.js";
|
|
70
|
-
import { Batcher } from "./video/webgl/batchers/batcher.js";
|
|
71
|
-
import PrimitiveBatcher from "./video/webgl/batchers/primitive_batcher.js";
|
|
72
|
-
import QuadBatcher from "./video/webgl/batchers/quad_batcher.js";
|
|
73
|
-
import Renderer from "./video/renderer.js";
|
|
74
|
-
import RenderState from "./video/renderstate.js";
|
|
75
|
-
import WebGLRenderer from "./video/webgl/webgl_renderer.js";
|
|
76
|
-
import CanvasRenderer from "./video/canvas/canvas_renderer.js";
|
|
77
|
-
import CanvasRenderTarget from "./video/rendertarget/canvasrendertarget.js";
|
|
78
|
-
import { TextureAtlas } from "./video/texture/atlas.js";
|
|
79
|
-
import Renderable from "./renderable/renderable.js";
|
|
80
|
-
import Body from "./physics/body.js";
|
|
81
|
-
import Text from "./renderable/text/text.js";
|
|
82
|
-
import BitmapText from "./renderable/text/bitmaptext.js";
|
|
83
|
-
import BitmapTextData from "./renderable/text/bitmaptextdata.ts";
|
|
84
|
-
import ColorLayer from "./renderable/colorlayer.js";
|
|
85
|
-
import ImageLayer from "./renderable/imagelayer.js";
|
|
86
|
-
import Sprite from "./renderable/sprite.js";
|
|
87
|
-
import NineSliceSprite from "./renderable/nineslicesprite.js";
|
|
88
|
-
import UIBaseElement from "./renderable/ui/uibaseelement.ts";
|
|
89
|
-
import UITextButton from "./renderable/ui/uitextbutton.ts";
|
|
90
|
-
import UISpriteElement from "./renderable/ui/uispriteelement.ts";
|
|
91
|
-
import Collectable from "./renderable/collectable.js";
|
|
92
|
-
import Trigger from "./renderable/trigger.js";
|
|
93
|
-
import Light2d from "./renderable/light2d.js";
|
|
94
|
-
import { Draggable } from "./renderable/draggable.js";
|
|
95
|
-
import { DropTarget } from "./renderable/dragndrop.js";
|
|
96
|
-
import TMXRenderer from "./level/tiled/renderer/TMXRenderer.js";
|
|
97
|
-
import TMXOrthogonalRenderer from "./level/tiled/renderer/TMXOrthogonalRenderer.js";
|
|
98
|
-
import TMXIsometricRenderer from "./level/tiled/renderer/TMXIsometricRenderer.js";
|
|
99
|
-
import TMXHexagonalRenderer from "./level/tiled/renderer/TMXHexagonalRenderer.js";
|
|
100
|
-
import TMXStaggeredRenderer from "./level/tiled/renderer/TMXStaggeredRenderer.js";
|
|
101
|
-
import Tile from "./level/tiled/TMXTile.js";
|
|
102
|
-
import TMXTileset from "./level/tiled/TMXTileset.js";
|
|
103
|
-
import TMXTilesetGroup from "./level/tiled/TMXTilesetGroup.js";
|
|
104
|
-
import TMXTileMap from "./level/tiled/TMXTileMap.js";
|
|
105
|
-
import TMXLayer from "./level/tiled/TMXLayer.js";
|
|
106
|
-
import * as TMXUtils from "./level/tiled/TMXUtils.js";
|
|
107
|
-
import Pointer from "./input/pointer.ts";
|
|
108
|
-
import Stage from "./state/stage.js";
|
|
109
|
-
import Camera2d from "./camera/camera2d.ts";
|
|
110
|
-
import Container from "./renderable/container.js";
|
|
111
|
-
import World from "./physics/world.js";
|
|
112
|
-
import ParticleEmitter from "./particles/emitter.ts";
|
|
113
|
-
import ParticleEmitterSettings from "./particles/settings.js";
|
|
114
|
-
import Particle from "./particles/particle.ts";
|
|
115
|
-
import Entity from "./renderable/entity/entity.js";
|
|
116
|
-
import Application from "./application/application.ts";
|
|
117
|
-
export { plugins, save, timer, pool, state, Tween, QuadTree, GLShader, ShaderEffect, Batcher, PrimitiveBatcher, QuadBatcher, Renderer, RenderState, WebGLRenderer, CanvasRenderer, CanvasRenderTarget, TextureAtlas, Renderable, Body, Text, BitmapText, BitmapTextData, ColorLayer, ImageLayer, Sprite, NineSliceSprite, UIBaseElement, UITextButton, UISpriteElement, Collectable, Trigger, Light2d, Draggable, DropTarget, TMXRenderer, TMXOrthogonalRenderer, TMXIsometricRenderer, TMXHexagonalRenderer, TMXStaggeredRenderer, Tile, TMXTileset, TMXTilesetGroup, TMXTileMap, TMXLayer, TMXUtils, Pointer, Stage, Camera2d, Container, World, ParticleEmitter, ParticleEmitterSettings, Particle, Entity, Application };
|
|
107
|
+
export { boot } from "./system/bootstrap.ts";
|
|
118
108
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,CAAC;AAE7B,OAAO,WAA+B,MAAM,8BAA8B,CAAC;AAC3E,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,OAAO,MAAM,oBAAoB,C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