Skip to content

Commit

Permalink
15.12 dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
obiot committed Sep 23, 2023
1 parent ac45bac commit db1f876
Show file tree
Hide file tree
Showing 508 changed files with 1,648 additions and 895 deletions.
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/_virtual/_commonjsHelpers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/_virtual/earcut.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/_virtual/howler.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/_virtual/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/application/application.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
4 changes: 2 additions & 2 deletions dist/melonjs.mjs/application/header.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down Expand Up @@ -28,7 +28,7 @@ function consoleHeader(app) {
);

console.log( "resolution: " + "requested " + app.settings.width + "x" + app.settings.height +
", got " + app.renderer.getWidth() + "x" + app.renderer.getHeight()
", got " + app.renderer.width + "x" + app.renderer.height
);
}

Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/application/resize.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/application/settings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/audio/audio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/camera/camera2d.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/const.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/geometries/ellipse.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/geometries/line.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/geometries/path2d.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/geometries/point.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/geometries/poly.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/geometries/rectangle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/geometries/roundrect.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
4 changes: 2 additions & 2 deletions dist/melonjs.mjs/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down Expand Up @@ -112,7 +112,7 @@ import { initKeyboardEvent } from './input/keyboard.js';
* @name version
* @type {string}
*/
const version = "15.11.0";
const version = "15.12.0";

/**
* a flag indicating that melonJS is fully initialized
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/input/gamepad.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/input/input.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/input/keyboard.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/input/pointer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/input/pointerevent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/lang/console.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
31 changes: 30 additions & 1 deletion dist/melonjs.mjs/lang/deprecated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down Expand Up @@ -119,4 +119,33 @@ class GUI_Object extends UISpriteElement {
}
}


/**
* return the width of the system Canvas
* @public
* @name getWidth
* @class
* @memberof Renderer#
* @deprecated since 15.12.0
* @see width
*/
Renderer.prototype.getWidth = function() {
warning("getWidth", "width", "15.12.0");
return this.width;
};

/**
* return the height of the system Canvas
* @public
* @name getHeight
* @class
* @memberof Renderer#
* @deprecated since 15.12.0
* @see height
*/
Renderer.prototype.getHeight = function() {
warning("getHeight", "height", "15.12.0");
return this.height;
};

export { DraggableEntity, DroptargetEntity, GUI_Object };
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/level.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/TMXGroup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/TMXLayer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/TMXObject.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/TMXTile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/TMXTileMap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/TMXTileset.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/TMXTilesetGroup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/TMXUtils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/constants.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/renderer/TMXRenderer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/level/tiled/renderer/autodetect.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/loader/cache.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
2 changes: 1 addition & 1 deletion dist/melonjs.mjs/loader/loader.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down
12 changes: 6 additions & 6 deletions dist/melonjs.mjs/loader/loadingscreen.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* melonJS Game Engine - v15.11.0
* melonJS Game Engine - v15.12.0
* http://www.melonjs.org
* melonjs is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
Expand Down Expand Up @@ -50,7 +50,7 @@ class ProgressBar extends Renderable {
draw(renderer, viewport) {
// draw the progress bar
renderer.setColor("black");
renderer.fillRect(this.pos.x, viewport.centerY, renderer.getWidth(), this.barHeight / 2);
renderer.fillRect(this.pos.x, viewport.centerY, renderer.width, this.barHeight / 2);

renderer.setColor("#55aa00");
renderer.fillRect(this.pos.x, viewport.centerY, this.progress, this.barHeight / 2);
Expand Down Expand Up @@ -86,17 +86,17 @@ class DefaultLoadingScreen extends Stage {
// progress bar
game.world.addChild(new ProgressBar(
0,
renderer.getHeight() / 2,
renderer.getWidth(),
renderer.height / 2,
renderer.width,
barHeight
), 1);

// load the melonJS logo
load({name: "melonjs_logo", type: "image", src: logo_url}, () => {
// melonJS logo
game.world.addChild(new Sprite(
renderer.getWidth() / 2,
renderer.getHeight() / 2, {
renderer.width / 2,
renderer.height / 2, {
image : "melonjs_logo",
framewidth : 256,
frameheight : 256
Expand Down
Loading

0 comments on commit db1f876

Please sign in to comment.