Upgrade tactical unit sprites to premium detail
This commit is contained in:
@@ -3200,7 +3200,7 @@ export class BattleScene extends Phaser.Scene {
|
||||
|
||||
private drawUnits() {
|
||||
battleUnits.forEach((unit) => {
|
||||
const sizeRatio = unit.faction === 'ally' ? 1.22 : 1.16;
|
||||
const sizeRatio = unit.faction === 'ally' ? 1.32 : 1.24;
|
||||
const textureBase = this.unitTextureKey(unit);
|
||||
const centerX = this.tileCenterX(unit.x);
|
||||
const centerY = this.tileCenterY(unit.y);
|
||||
@@ -3214,7 +3214,7 @@ export class BattleScene extends Phaser.Scene {
|
||||
sprite.setInteractive({ useHandCursor: unit.faction === 'ally' });
|
||||
sprite.on('pointerdown', () => this.selectUnit(unit));
|
||||
|
||||
const label = this.add.text(sprite.x, sprite.y + this.layout.tileSize * 0.52, unit.name, {
|
||||
const label = this.add.text(sprite.x, sprite.y + this.layout.tileSize * 0.58, unit.name, {
|
||||
fontFamily: '"Malgun Gothic", "Noto Sans KR", sans-serif',
|
||||
fontSize: '11px',
|
||||
color: unit.faction === 'ally' ? '#e7edf7' : '#ffebe7',
|
||||
|
||||
Reference in New Issue
Block a user