ile-de-test/script/interface/page_login.gd

24 lines
715 B
GDScript3
Raw Permalink Normal View History

2023-10-05 18:02:23 +00:00
extends Control
const scene_server_path : String = "res://scenes/interface/page_server.tscn"
const scene_settings_path : String = "res://scenes/interface/page_settings.tscn"
2023-10-05 18:02:23 +00:00
func _ready():
ResourceLoader.load_threaded_request(scene_server_path)
ResourceLoader.load_threaded_request(scene_settings_path)
2023-10-05 18:02:23 +00:00
func _on_login_pressed():
get_tree().change_scene_to_file(scene_server_path)
2023-10-23 15:21:27 +00:00
func _on_settings_pressed():
get_tree().change_scene_to_file(scene_settings_path)
2023-10-05 18:02:23 +00:00
func _on_quit_button_down():
get_tree().quit()
func _on_button_help_pressed():
OS.shell_open("https://khaganat.net")
2023-10-05 18:02:23 +00:00
func _on_button_forgetPass_pressed():
OS.shell_open("https://chat.jabberfr.org/converse.js/khaganat@chat.khaganat.net")