Added respawn logic ... and with it also a complete rehaul of how managing scene instances work to make it work

This commit is contained in:
2026-03-01 15:40:56 +01:00
parent 51ee5029e9
commit 6d8e8e3734
14 changed files with 194 additions and 36 deletions

View File

@@ -0,0 +1,11 @@
extends CanvasLayer
@onready var color_rect: ColorRect = $ColorRect
func _ready() -> void:
color_rect.color.a = 0
func fade(target_alpha: float, duration: float):
var tween = create_tween()
tween.tween_property(color_rect, "color:a", target_alpha, duration)
return tween