Fixed window focus issue
This commit is contained in:
parent
ccab5fe8fc
commit
dd4593ec3a
1
TODO
1
TODO
|
@ -8,7 +8,6 @@
|
|||
* Character sheet: tooltip to show the sources of attributes
|
||||
* Menu: end appear animation when a button is clicked
|
||||
* Menu: allow to delete cloud saves
|
||||
* Menu: fix background stars aggregating at right side when the game is not focused
|
||||
* Add permanent effects to ship models to ease balancing
|
||||
* Find incentives to move from starting position
|
||||
* Fix targetting not resetting when using action shortcuts
|
||||
|
|
|
@ -45,7 +45,10 @@ module TS.SpaceTac.UI {
|
|||
}
|
||||
|
||||
create() {
|
||||
// Phaser config
|
||||
this.game.stage.backgroundColor = 0x000000;
|
||||
this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
|
||||
this.input.maxPointers = 1;
|
||||
|
||||
// View layers
|
||||
this.layers = this.add.group();
|
||||
|
|
|
@ -8,12 +8,10 @@ module TS.SpaceTac.UI {
|
|||
create() {
|
||||
this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
|
||||
this.game.stage.backgroundColor = 0x000000;
|
||||
this.input.maxPointers = 1;
|
||||
|
||||
this.add.image(678, 426, "preload-background");
|
||||
|
||||
this.input.maxPointers = 1;
|
||||
this.stage.disableVisibilityChange = true;
|
||||
|
||||
this.game.state.start("preload");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue