Closed dudash closed 4 years ago
@rluders it should be already
lgtm
Tested locally both a regular macOS build and a HTML5 build. Works good as a regular app, both to start the game and Quit. In the html5 build if you hit Quit it doesn't appear to do anything but then when you go to Play PodEscape you simply get a blank screen. I'm guessing some resources have been released that would be required.
Not sure if the correct action in a html5 build when 'Quit' is clicked is to close the tab, which is potentially not possible, or to detect that you are in a html5 build and disable the button.
@rluders @dudash What do you think?
@RoddieKieley nice catch about the quit button when the project is exported to HTML. It would be really nice if we could detect if the game was exported to HTML and remove the button in this case. But I have no idea how to do it, or even if its possible.
Maybe this could help: https://docs.godotengine.org/en/3.2/classes/class_os.html
Yeah, looks like we could use OS.get_name()
. Or just pull the Quit button out completely. Is our target platform going to be HTML?
@RoddieKieley OK, Quit button is now hidden in HTML5 mode - that was easy. :)
Some really basic menus and game manager integration (currently just score tracking)
Still needs a prettier theme, still needs more options (thinking - config settings and game over).
Addresses #16 and #7