melonjs 10.5.0 → 10.5.1
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/dist/melonjs.js +9 -10
- package/dist/melonjs.min.js +2 -2
- package/dist/melonjs.module.d.ts +14 -58
- package/dist/melonjs.module.js +9 -10
- package/package.json +1 -1
- package/src/renderable/dragndrop.js +2 -2
- package/src/renderable/renderable.js +2 -3
- package/src/video/video.js +1 -1
package/dist/melonjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* melonJS Game Engine - v10.5.
|
|
2
|
+
* melonJS Game Engine - v10.5.1
|
|
3
3
|
* http://www.melonjs.org
|
|
4
4
|
* melonjs is licensed under the MIT License.
|
|
5
5
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -13665,7 +13665,7 @@
|
|
|
13665
13665
|
* @param {number} dt time since the last update in milliseconds.
|
|
13666
13666
|
* @returns {boolean} true if the renderable is dirty
|
|
13667
13667
|
*/
|
|
13668
|
-
Renderable.prototype.update = function update (
|
|
13668
|
+
Renderable.prototype.update = function update (dt) { // eslint-disable-line no-unused-vars
|
|
13669
13669
|
return this.isDirty;
|
|
13670
13670
|
};
|
|
13671
13671
|
|
|
@@ -13813,7 +13813,7 @@
|
|
|
13813
13813
|
* @protected
|
|
13814
13814
|
* @param {CanvasRenderer|WebGLRenderer} renderer a renderer object
|
|
13815
13815
|
*/
|
|
13816
|
-
Renderable.prototype.draw = function draw (
|
|
13816
|
+
Renderable.prototype.draw = function draw (renderer) { // eslint-disable-line no-unused-vars
|
|
13817
13817
|
// empty one !
|
|
13818
13818
|
};
|
|
13819
13819
|
|
|
@@ -13827,7 +13827,6 @@
|
|
|
13827
13827
|
* @param {CanvasRenderer|WebGLRenderer} renderer a renderer object
|
|
13828
13828
|
*/
|
|
13829
13829
|
Renderable.prototype.postDraw = function postDraw (renderer) {
|
|
13830
|
-
|
|
13831
13830
|
// remove the previously applied tint
|
|
13832
13831
|
renderer.clearTint();
|
|
13833
13832
|
|
|
@@ -31222,7 +31221,7 @@
|
|
|
31222
31221
|
|
|
31223
31222
|
// default scaled size value
|
|
31224
31223
|
settings.zoomX = width * scaleRatio.x;
|
|
31225
|
-
settings.zoomY =
|
|
31224
|
+
settings.zoomY = height * scaleRatio.y;
|
|
31226
31225
|
|
|
31227
31226
|
//add a channel for the onresize/onorientationchange event
|
|
31228
31227
|
window.addEventListener(
|
|
@@ -31900,10 +31899,10 @@
|
|
|
31900
31899
|
* this can be overridden by the plugin
|
|
31901
31900
|
* @public
|
|
31902
31901
|
* @type {string}
|
|
31903
|
-
* @default "10.5.
|
|
31902
|
+
* @default "10.5.1"
|
|
31904
31903
|
* @name plugin.Base#version
|
|
31905
31904
|
*/
|
|
31906
|
-
this.version = "10.5.
|
|
31905
|
+
this.version = "10.5.1";
|
|
31907
31906
|
};
|
|
31908
31907
|
|
|
31909
31908
|
/**
|
|
@@ -35029,7 +35028,7 @@
|
|
|
35029
35028
|
* @name destroy
|
|
35030
35029
|
* @memberof Draggable
|
|
35031
35030
|
* @function
|
|
35032
|
-
* @
|
|
35031
|
+
* @ignore
|
|
35033
35032
|
*/
|
|
35034
35033
|
Draggable.prototype.destroy = function destroy () {
|
|
35035
35034
|
off(POINTERMOVE, this.dragMove);
|
|
@@ -35140,7 +35139,7 @@
|
|
|
35140
35139
|
* @name destroy
|
|
35141
35140
|
* @memberof DropTarget
|
|
35142
35141
|
* @function
|
|
35143
|
-
* @
|
|
35142
|
+
* @ignore
|
|
35144
35143
|
*/
|
|
35145
35144
|
DropTarget.prototype.destroy = function destroy () {
|
|
35146
35145
|
off(DRAGEND, this.checkOnMe);
|
|
@@ -36342,7 +36341,7 @@
|
|
|
36342
36341
|
* @name version
|
|
36343
36342
|
* @type {string}
|
|
36344
36343
|
*/
|
|
36345
|
-
var version = "10.5.
|
|
36344
|
+
var version = "10.5.1";
|
|
36346
36345
|
|
|
36347
36346
|
|
|
36348
36347
|
/**
|