noshg3/Start.gd

30 lines
629 B
GDScript

extends Node2D
# 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_Information_pressed():
get_tree().change_scene("res://info.tscn")
func _on_Estartos_pressed():
get_tree().change_scene("res://PlayScratt.tscn")
func _on_Back_pressed():
get_tree().change_scene("res://main_menu.tscn")
func _on_PlayPlay_pressed():
get_tree().change_scene("res://level_juan.tscn")