![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | trepaning |
func _on_Exit_pressed():
OS.shell_open("https://godotengine.org")
get_tree().quit()
the above is a button that, when pressed, opens a website in a browser, then closes the game EXE.
When in HTML5, this does not exit the game page, it simply opens another tab in the browser. What is used to redirect the HTML5 game page to another page?