forked from interstellar_development/freettrpg
6b2159b840
Hopefully final refactoring, offloaded ui scripts to its own global .gd to prevent repetition.
13 lines
418 B
GDScript
13 lines
418 B
GDScript
extends Node
|
|
|
|
# Function called when "Play" is pressed
|
|
func _on_button_pressed():
|
|
get_tree().change_scene_to_file("res://scenes/map/map.tscn")
|
|
|
|
# Function called when "View" is pressed
|
|
func _on_button_2_pressed():
|
|
get_tree().change_scene_to_file("res://scenes/menu/view.tscn")
|
|
|
|
# Function called when "Create" is pressed
|
|
func _on_button_3_pressed():
|
|
get_tree().change_scene_to_file("res://scenes/menu/create.tscn")
|