Update FloatingTextManager colors and integrate floating text display in LeverComponent; replace enemy sprite in basic_enemy scene

This commit is contained in:
2025-09-11 04:42:59 +02:00
parent 6e2bdcdf95
commit 98b3202361
5 changed files with 46 additions and 6 deletions

View File

@@ -9,9 +9,9 @@ public partial class FloatingTextManager : Node
[Export] public PackedScene FloatingTextScene { get; set; }
[ExportGroup("Colors")]
[Export] public Color DamageColor { get; set; } = new Color("#ff4b4b"); // Red
[Export] public Color HealColor { get; set; } = new Color("#4bff65"); // Green
[Export] public Color CoinColor { get; set; } = new Color("#ffd700"); // Gold
[Export] public Color DamageColor { get; set; } = new Color("#b21030"); // Red
[Export] public Color HealColor { get; set; } = new Color("#71f341"); // Green
[Export] public Color CoinColor { get; set; } = new Color("#ebd320"); // Gold
[Export] public Color MessageColor { get; set; } = new Color("#ffffff"); // White
public void ShowDamage(float amount, Vector2 position)