Phaser.StageScaleMode has been renamed to ScaleManager and moved from the system folder to the core folder. It's still available under game.scale.

If your game references the old Phaser.StageScaleMode consts like SHOW_ALL you need to update them to Phaser.ScaleManager, i.e. Phaser.ScaleManager.SHOW_ALL.
All of the Project Templates have been updated to reflect the above change.
This commit is contained in:
photonstorm
2014-02-25 14:46:48 +00:00
parent fdde4cb7e6
commit 13c99f3491
22 changed files with 321 additions and 112 deletions
+3 -2
View File
@@ -13,7 +13,8 @@ BasicGame.Game = function (game) {
this.sound; // the sound manager - add a sound, play one, set-up markers, etc
this.stage; // the game stage
this.time; // the clock
this.tweens; // the tween manager
this.tweens; // the tween manager
this.state; // the state manager
this.world; // the game world
this.particles; // the particle manager
this.physics; // the physics manager
@@ -44,7 +45,7 @@ BasicGame.Game.prototype = {
// Stop music, delete sprites, purge caches, free resources, all that good stuff.
// Then let's go back to the main menu.
this.game.state.start('MainMenu');
this.state.start('MainMenu');
}