its game over WIP

This commit is contained in:
Maurane
2026-02-27 16:29:12 +01:00
parent df36a08d81
commit d4a533bf17
20 changed files with 379 additions and 148 deletions
+22
View File
@@ -0,0 +1,22 @@
extends ColorRect
@onready var animation = $FadingMaskAnimation
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
hide()
#Handles fading transitions
func fade_in():
modulate.a = 0.0
show()
animation.play("fade_in")
func fade_out():
animation.play("fade_out")
await animation.animation_finished
hide()