popravki
This commit is contained in:
@@ -17,6 +17,7 @@ class LootChest {
|
||||
// Create chest sprite (using existing chest texture)
|
||||
this.sprite = this.scene.add.sprite(x, y, 'chest');
|
||||
this.sprite.setOrigin(0.5, 1);
|
||||
this.sprite.setScale(0.1); // Tiny size!
|
||||
this.sprite.setDepth(this.scene.iso.getDepth(this.gridX, this.gridY, this.scene.iso.LAYER_OBJECTS));
|
||||
|
||||
// Golden glow for unopened chests
|
||||
|
||||
@@ -21,6 +21,7 @@ class ZombieSpawner {
|
||||
// Spawner sprite (dark portal/grave)
|
||||
this.sprite = this.scene.add.sprite(x, y, 'gravestone');
|
||||
this.sprite.setOrigin(0.5, 1);
|
||||
this.sprite.setScale(0.1); // Tiny size!
|
||||
this.sprite.setDepth(this.scene.iso.getDepth(this.gridX, this.gridY, this.scene.iso.LAYER_OBJECTS));
|
||||
this.sprite.setTint(0x440044); // Purple tint for spawner
|
||||
|
||||
|
||||
Reference in New Issue
Block a user