mirror of
https://github.com/wassname/phaser.git
synced 2026-08-18 12:20:33 +08:00
Promoted the Tilemap to a DisplayObject and vastly simplified the load process.
This commit is contained in:
+2
-1
@@ -351,7 +351,8 @@ Phaser.Game.prototype = {
|
||||
}
|
||||
else
|
||||
{
|
||||
// They must have requested WebGL and their browser supports it
|
||||
// They requested WebGL, and their browser supports it
|
||||
this.renderType = Phaser.WEBGL;
|
||||
this.renderer = new PIXI.WebGLRenderer(this.width, this.height, this.stage.canvas, this.transparent, this.antialias);
|
||||
this.canvas = this.renderer.view;
|
||||
this.context = null;
|
||||
|
||||
Reference in New Issue
Block a user