Hi...
...in my game I do something like:
if Input.is_action_just_released("ui_toggleFullscreen"):
OS.window_fullscreen = !OS.window_fullscreen
get_node("NEDB-PD-SUBCaptions").add_infoMessage("Toggle FullScreen " + ("on" if OS.window_fullscreen else "off"))
...which works perfectly well in Linux and Windows exports but does nothing in HTML5...
The DOCs states https://docs.godotengine.org/en/3.0/getting_started/workflow/export/exporting_for_web.html#full-screen-and-mouse-capture some hints, but I lack the ability to imagine what to do...
Could someone provide some guidance please...???
Do I have to implement this independently of my game in a purely HTML5/JavaScript wrapping thingy or do I have to use the JavaScript Singleton in case OS.get_name == "HTML5" to inject some user Click Events to the Browser or didn't I get the idea in general...???
Please advise...
THX & cheers...