La gestion de la mort est en place, je peut mourir en paix
This commit is contained in:
parent
303f40c3cc
commit
5766858c9b
8 changed files with 6008 additions and 7 deletions
|
@ -8,6 +8,7 @@ var first_room = preload("res://scenes/Room.tscn").instantiate()
|
|||
|
||||
func _ready():
|
||||
menu_parametres.exit_parametres.connect(on_exit_parametres)
|
||||
first_room.daddy.connect(on_daddy)
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
|
@ -45,3 +46,9 @@ func _on_play_button_pressed():
|
|||
|
||||
func _on_musique_fond_finished() -> void:
|
||||
musique_fond.play()
|
||||
|
||||
func on_daddy () -> void :
|
||||
musique_fond.playing = true
|
||||
menu_principal.visible = true
|
||||
first_room = preload("res://scenes/Room.tscn").instantiate()
|
||||
first_room.daddy.connect(on_daddy)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue