blob: d04aad707f3198b5a6d806e18df259cfc476441e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
extends MarginContainer
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
func _on_Play_button_up():
if get_tree().change_scene("res://game/game.tscn") != OK:
print("There was an error trying to load the scene...")
pass # Replace with function body.
func _on_Credits_button_up():
pass # Replace with function body.
func _on_Quit_button_up():
get_tree().quit()
pass # Replace with function body.
|