@vpmedia/phaser 1.52.0 → 1.53.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @vpmedia/phaser
2
2
 
3
- [![npm version](https://badge.fury.io/js/@vpmedia%2Fphaser.svg?v=1.52.0)](https://badge.fury.io/js/@vpmedia%2Fphaser)
3
+ [![npm version](https://badge.fury.io/js/@vpmedia%2Fphaser.svg?v=1.53.0)](https://badge.fury.io/js/@vpmedia%2Fphaser)
4
4
  [![Node.js CI](https://github.com/vpmedia/phaser/actions/workflows/ci.yml/badge.svg)](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.52.0",
3
+ "version": "1.53.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",
@@ -136,11 +136,10 @@ export class Game {
136
136
  * TBD.
137
137
  */
138
138
  initRenderer() {
139
- this.logger.info('initRenderer');
140
- this.createRendererCanvas();
141
139
  let isWebGlReady = false;
142
140
  if (this.config.renderType === RENDER_AUTO || this.config.renderType === RENDER_WEBGL) {
143
141
  try {
142
+ this.createRendererCanvas();
144
143
  this.logger.info('initWebGLRenderer');
145
144
  this.renderer = new WebGLRenderer(this);
146
145
  this.context = null;