@vpmedia/phaser 1.44.0 → 1.45.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 -1
- package/package.json +1 -1
- package/src/phaser/core/game.js +2 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @vpmedia/phaser
|
|
2
2
|
|
|
3
|
-
[](https://badge.fury.io/js/@vpmedia%2Fphaser)
|
|
4
4
|
[](https://github.com/vpmedia/phaser/actions/workflows/ci.yml)
|
|
5
5
|
|
|
6
6
|
@vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vpmedia/phaser",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.45.0",
|
|
4
4
|
"description": "@vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2",
|
|
5
5
|
"author": "Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)",
|
|
6
6
|
"license": "MIT",
|
package/src/phaser/core/game.js
CHANGED
|
@@ -149,6 +149,8 @@ export class Game {
|
|
|
149
149
|
'document.readyState': document.readyState,
|
|
150
150
|
'document.hidden': document.hidden,
|
|
151
151
|
'document.visibilityState': document.visibilityState,
|
|
152
|
+
'canvas.width': this.canvas.width,
|
|
153
|
+
'canvas.height': this.canvas.height,
|
|
152
154
|
};
|
|
153
155
|
if (window.PhaserRegistry?.GL_PROGRAM_INFO_LOG) {
|
|
154
156
|
tags.gl_program_log = window.PhaserRegistry.GL_PROGRAM_INFO_LOG;
|