This repository has been archived on 2023-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
Boups/Scenes/Screen_Menu.gd

26 lines
482 B
GDScript3
Raw Normal View History

2023-02-25 14:02:57 +01:00
extends Control
2023-02-25 14:17:42 +01:00
2023-02-25 14:02:57 +01:00
# Called when the node enters the scene tree for the first time.
func _ready():
2023-02-25 14:25:51 +01:00
pass # Replace with function body.
2023-02-25 14:02:57 +01:00
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
func _on_PlayButton_pressed():
2023-02-25 14:25:51 +01:00
print("ici")
get_tree().change_scene("res://Scenes/Node2D.tscn")
2023-02-25 14:17:42 +01:00
2023-02-25 14:02:57 +01:00
func _on_Help_Button_pressed():
2023-02-25 14:25:51 +01:00
print("help")
2023-02-25 14:17:42 +01:00
2023-02-25 14:02:57 +01:00
func _on_Quit_Button_pressed():
2023-02-25 14:25:51 +01:00
get_tree().quit()
# Replace with function body.