Fix para la carga de variables de fill #29
+4
-4
@@ -788,12 +788,12 @@ func _draw() -> void:
|
||||
# Ground pound: show the real damage radius throughout the fall, then make
|
||||
# it stronger for a few frames at the exact impact moment.
|
||||
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 outline_alpha: float = 0.60 if ground_pound_active else 0.95
|
||||
var pound_fill_alpha: float = 0.14 if ground_pound_active else 0.28
|
||||
var pound_outline_alpha: float = 0.60 if ground_pound_active else 0.95
|
||||
draw_circle(
|
||||
ground_pound_hitbox.position,
|
||||
ground_pound_radius,
|
||||
Color(1.0, 0.18, 0.05, fill_alpha)
|
||||
Color(1.0, 0.18, 0.05, pound_fill_alpha)
|
||||
)
|
||||
draw_arc(
|
||||
ground_pound_hitbox.position,
|
||||
@@ -801,7 +801,7 @@ func _draw() -> void:
|
||||
0.0,
|
||||
TAU,
|
||||
48,
|
||||
Color(1.0, 0.18, 0.05, outline_alpha),
|
||||
Color(1.0, 0.18, 0.05, pound_outline_alpha),
|
||||
2.0
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user