Moved "AI playing" indicator on top of action bar
This commit is contained in:
parent
0ee65ca0cd
commit
fbaa31f9d5
|
@ -85,8 +85,10 @@ module SpaceTac.View {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.ship = ship;
|
this.ship = ship;
|
||||||
|
this.game.tweens.create(this).to({"alpha": 1}, 400).start();
|
||||||
} else {
|
} else {
|
||||||
this.ship = null;
|
this.ship = null;
|
||||||
|
this.game.tweens.create(this).to({"alpha": 0.5}, 400).start();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.updateActionPoints();
|
this.updateActionPoints();
|
||||||
|
|
|
@ -90,8 +90,9 @@ module SpaceTac.View {
|
||||||
this.card_playing = new ShipCard(this, 1060, 130);
|
this.card_playing = new ShipCard(this, 1060, 130);
|
||||||
this.card_hovered = new ShipCard(this, 1060, 430);
|
this.card_hovered = new ShipCard(this, 1060, 430);
|
||||||
|
|
||||||
this.icon_waiting = new Phaser.Image(this.game, 640, 360, "battle-waiting", 0);
|
this.icon_waiting = new Phaser.Image(this.game, 640, 50, "battle-waiting", 0);
|
||||||
this.icon_waiting.anchor.set(0.5, 0.5);
|
this.icon_waiting.anchor.set(0.5, 0.5);
|
||||||
|
this.icon_waiting.scale.set(0.5, 0.5);
|
||||||
game.add.existing(this.icon_waiting);
|
game.add.existing(this.icon_waiting);
|
||||||
game.tweens.create(this.icon_waiting).to({"angle": 360}, 3000).repeat(-1).start();
|
game.tweens.create(this.icon_waiting).to({"angle": 360}, 3000).repeat(-1).start();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue