FIN
This commit is contained in:
parent
4615215323
commit
8badd4a23f
8 changed files with 61 additions and 10 deletions
|
@ -12,3 +12,7 @@ func exit_condition():
|
|||
|
||||
func _on_button_pressed():
|
||||
condition = true
|
||||
|
||||
|
||||
func _on_button2_pressed():
|
||||
condition = true
|
||||
|
|
|
@ -50,6 +50,10 @@ func load_scene():
|
|||
for scene in _ads_scene:
|
||||
ads_scene.push_back(load(scene))
|
||||
|
||||
func _input(event):
|
||||
if event.is_action_pressed("ui_cancel"):
|
||||
pass # todo one day ahah ^^
|
||||
# $Rules.set_visible(true)
|
||||
|
||||
func _ready():
|
||||
load_scene()
|
||||
|
@ -65,5 +69,6 @@ func win():
|
|||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(_delta):
|
||||
if win():
|
||||
pass
|
||||
print("mettre écran victoire")
|
||||
for n in 15:
|
||||
new_ads()
|
||||
# get_tree().change_scene_to_file("res://scenes/game/victoire.tscn")
|
||||
|
|
Reference in a new issue