Anri/AdBlockNot
Archived
1
0
Fork 0
This commit is contained in:
Mylloon 2024-01-28 19:43:27 +01:00
parent 4615215323
commit 8badd4a23f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
8 changed files with 61 additions and 10 deletions

View file

@ -12,3 +12,7 @@ func exit_condition():
func _on_button_pressed():
condition = true
func _on_button2_pressed():
condition = true

View file

@ -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")