Open DaveSmart opened 9 years ago
Gles.js currently does not support scaling the Canvas element. This requires rendering to an off-screen texture which is then rendered scaled to the screen. In case no scaling is needed, direct rendering provides a performance enhancement which is significant in some cases. If you use upscaling to improve performance however, then canvas scaling is probably the best solution. I think canvas scaling should be an optional feature.
Which version of Phaser work with glesjs ?
At first i try with pixi ( latest version ) - but that is don't run. After i try pixi v1.5.3 pixi.dev.js from your old example, and that is work fine.
The following code in Phaser does not work. The standard Phaser tutorials look tiny in the bottom left corner of a mobile phone or tablet and need to be scalable to fill the whole screen.
game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; game.scale.setScreenSize( true );