godot-webrtc-mplayer-testing/scripts/screens/main.gd
2021-12-07 16:19:54 -06:00

15 lines
264 B
GDScript

extends Node
func _on_Singleplayer_pressed():
Global.start_singleplayer_game()
func _on_CreateLobbyButton_pressed():
Global.lobby_browser()
func _on_JoinLobbyButton_pressed():
Global.quit()
func _on_LinkButton_pressed():
OS.shell_open("https://lyte.dev")