1
0
Fork 0

Larger arena ship sprites

This commit is contained in:
Michaël Lemaire 2017-04-16 17:03:18 +02:00
parent b8cf3a5218
commit a431f54d94
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -37,7 +37,7 @@ module TS.SpaceTac.UI {
this.sprite = new Phaser.Button(this.game, 0, 0, "ship-" + ship.model + "-sprite");
this.sprite.rotation = ship.arena_angle;
this.sprite.anchor.set(0.5, 0.5);
this.sprite.scale.set(48 / this.sprite.width);
this.sprite.scale.set(64 / this.sprite.width);
this.addChild(this.sprite);
// Add ship sprite