2023-10-05 18:02:23 +00:00
|
|
|
extends Control
|
|
|
|
|
2023-10-28 14:51:33 +00:00
|
|
|
const scene_player_path : String = "res://scenes/interface/page_player.tscn"
|
2023-10-05 18:02:23 +00:00
|
|
|
const scene_return_path : String = "res://scenes/interface/page_login.tscn"
|
|
|
|
|
|
|
|
func _ready():
|
2023-10-28 14:51:33 +00:00
|
|
|
ResourceLoader.load_threaded_request(scene_return_path)
|
2023-10-05 18:02:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
func _on_button_pressed():
|
2023-10-28 14:51:33 +00:00
|
|
|
get_tree().change_scene_to_file(scene_player_path)
|
2023-10-05 18:02:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
func _on_return_pressed():
|
2023-10-28 14:51:33 +00:00
|
|
|
get_tree().change_scene_to_file(scene_return_path)
|