💄 Optimize stuff

This commit is contained in:
2025-08-31 19:30:16 +08:00
parent f2c243ecf6
commit 2c5e0459ad
3 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ public partial class EnemyPortalTile : BaseTile
[Export] public bool Active = true;
private Timer _spawnTimer;
private int _currentEnemyCount = 0;
private int _currentEnemyCount;
public override void _Ready()
{
@@ -38,7 +38,7 @@ public partial class EnemyPortalTile : BaseTile
Texture = sprite.Texture,
Scale = sprite.Scale * 1.05f, // Slightly larger than the original
Modulate = new Color(0, 0, 0, 0.5f), // Slightly more transparent
Position = new Vector2(0, 12), // Closer to the sprite (reduced from 30)
Position = new Vector2(0, 6), // Closer to the sprite (reduced from 30)
ZIndex = -1
};
AddChild(shadow);