summon circle fades out over 0.3s after flash

main
Artur David 2026-06-18 10:51:41 +02:00
parent a106adb0b8
commit f00a0718d2
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ func _unleash() -> void:
func _flash() -> void:
camera.shake(0.4, 8.0)
var circle_tween = create_tween()
circle_tween.set_pause_mode(Tween.TWEEN_PAUSE_PROCESS)
circle_tween.tween_property(summon_circle, "modulate:a", 0.0, 0.3)
var layer = CanvasLayer.new()
layer.layer = 100
add_child(layer)