mirror of
https://github.com/wassname/phaser.git
synced 2026-07-18 12:30:44 +08:00
Added Full Screen support and tested it. Also added in the BitmapText game object and custom XML loader. Game now sends a pause and resume signal, which the TweenManager listens to and handles correctly.
This commit is contained in:
@@ -144,9 +144,12 @@ Phaser.StageScaleMode.prototype = {
|
||||
}
|
||||
else if (element['webkitRequestFullScreen'])
|
||||
{
|
||||
element['webkitRequestFullScreen']();
|
||||
element['webkitRequestFullScreen'](Element.ALLOW_KEYBOARD_INPUT);
|
||||
}
|
||||
|
||||
this.game.stage.canvas.style['width'] = '100%';
|
||||
this.game.stage.canvas.style['height'] = '100%';
|
||||
|
||||
},
|
||||
|
||||
stopFullScreen: function () {
|
||||
|
||||
Reference in New Issue
Block a user