godot-webrtc-mplayer-testing/scripts/screens/main_menu.gd
Daniel Flanagan d2abbb69f2 WIP
2021-12-08 23:39:56 -06:00

18 lines
347 B
GDScript

extends Node
func _ready():
if Global.check_onetime_flag("multiplayer"):
_on_multiplayer_pressed()
func _on_Singleplayer_pressed():
Global.start_singleplayer_game()
func _on_multiplayer_pressed():
Global.lobby_browser()
func _on_JoinLobbyButton_pressed():
Global.quit()
func _on_LinkButton_pressed():
OS.shell_open("https://lyte.dev")