Fix para la carga de variables de fill

This commit is contained in:
Diego De la Viuda Llorente committed 2026-10-27 10:02:09 +01:00
1 parent 4850d79149
commit 735192bc01
1 file changed
+4 -4
+4 -4
View File
@@ -788,12 +788,12 @@ func _draw() -> void:
# Ground pound: show the real damage radius throughout the fall, then make # Ground pound: show the real damage radius throughout the fall, then make
# it stronger for a few frames at the exact impact moment. # it stronger for a few frames at the exact impact moment.
if ground_pound_active or ground_pound_debug_timer > 0.0: if ground_pound_active or ground_pound_debug_timer > 0.0:
var fill_alpha: float = 0.14 if ground_pound_active else 0.28 var pound_fill_alpha: float = 0.14 if ground_pound_active else 0.28
var outline_alpha: float = 0.60 if ground_pound_active else 0.95 var pound_outline_alpha: float = 0.60 if ground_pound_active else 0.95
draw_circle( draw_circle(
ground_pound_hitbox.position, ground_pound_hitbox.position,
ground_pound_radius, ground_pound_radius,
Color(1.0, 0.18, 0.05, fill_alpha) Color(1.0, 0.18, 0.05, pound_fill_alpha)
) )
draw_arc( draw_arc(
ground_pound_hitbox.position, ground_pound_hitbox.position,
@@ -801,7 +801,7 @@ func _draw() -> void:
0.0, 0.0,
TAU, TAU,
48, 48,
Color(1.0, 0.18, 0.05, outline_alpha), Color(1.0, 0.18, 0.05, pound_outline_alpha),
2.0 2.0
) )