Fix: AlienTimer bug, change heart image

This commit is contained in:
2018-09-07 10:32:48 +09:00
parent 0858981690
commit 7573ac032d
6 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -49,7 +49,6 @@ class Alien extends Phaser.Sprite {
return;
if(this.isOnWaitingRoom) {
this.isOnWaitingRoom = false;
this.goOnstage();
return;
} else {
@@ -96,6 +95,7 @@ class Alien extends Phaser.Sprite {
}
goOnstage() {
this.isOnWaitingRoom = false;
this.goRandomPosition();
if(typeof this.onGoOnstageFunction !== "undefined")
+1 -1
View File
@@ -96,4 +96,4 @@ AlienTimer.DEFAULT_TEXT_FONT = {
};
AlienTimer.DEFAULT_TIME_GAP_SEC = 10;
AlienTimer.MOVE_UP_AMOUNT_PX = 60;
AlienTimer.MOVE_UP_AMOUNT_PX = 48;
+2 -2
View File
@@ -4,7 +4,7 @@
class Game {
create() {
this.game.stage.backgroundColor = '#4d4d4d';
this.game.stage.backgroundColor = "#000000"; // '#4d4d4d';
sessionStorageManager.isNewBestRecrd = false;
@@ -47,7 +47,7 @@ class Game {
// waiting room
this.game.add.graphics()
.beginFill(0xffffff, 0.1)
.beginFill(0xffffff, 0.3)
.drawRect(0, 100, game.world.width, 100);