La gestion de la mort est en place, je peut mourir en paix

This commit is contained in:
E213872U 2025-01-25 02:18:26 +01:00
parent 303f40c3cc
commit 5766858c9b
8 changed files with 6008 additions and 7 deletions

View file

@ -12,6 +12,8 @@ extends Control
@onready var life : int = 10
signal mort ()
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass
@ -30,7 +32,7 @@ func update_life (pv : int) -> void :
match pv :
0 :
coeur1.hide()
#Rajouter ici la gestion de la mort
mort.emit()
1 :
coeur1.texture = load("res://ressources/images/half_heart.svg")
2 :