1
0
Fork 0

Moved "AI playing" indicator on top of action bar

This commit is contained in:
Michaël Lemaire 2015-02-28 01:00:00 +01:00
parent 0ee65ca0cd
commit fbaa31f9d5
2 changed files with 4 additions and 1 deletions

View file

@ -85,8 +85,10 @@ module SpaceTac.View {
});
this.ship = ship;
this.game.tweens.create(this).to({"alpha": 1}, 400).start();
} else {
this.ship = null;
this.game.tweens.create(this).to({"alpha": 0.5}, 400).start();
}
this.updateActionPoints();

View file

@ -90,8 +90,9 @@ module SpaceTac.View {
this.card_playing = new ShipCard(this, 1060, 130);
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.scale.set(0.5, 0.5);
game.add.existing(this.icon_waiting);
game.tweens.create(this.icon_waiting).to({"angle": 360}, 3000).repeat(-1).start();