Hi there...
I'm trying to implement a FullScreen toggle in my Godot 3.0 game, which is working perfectly well on Linux- and Windows exports...
Looks like this...
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"))
In my Linux / Windows export it expectedly states "Toggle Fullscreen on" / "Toggle FullScreen off" respectively...
However in the HTML5 export it doesn't...
No matter how often I trigger ui_toggleFullscreen it always responds "*Toggle FullScreen off*"
I'm trying to understand this (https://docs.godotengine.org/en/3.0/getting_started/workflow/export/exporting_for_web.html#full-screen-and-mouse-capture) description I found while RTFM but obviously I'm not smart enough to get the concept... : - / ...
Could anybody try to make me understand...please...???
THX and cheers...