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:
Richard Davey
2013-09-10 23:51:35 +01:00
parent e41e35fd09
commit e2eddc8b24
15 changed files with 2580 additions and 214 deletions
+4 -1
View File
@@ -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 () {