GardensOfKadesh / Homeworld

Gardens of Kadesh: A WebAssembly port of Homeworld.
Other
60 stars 11 forks source link

Fullscreen support #19

Open rea987 opened 2 years ago

rea987 commented 2 years ago

As it is mentioned here I am unable to find a way to run Gardens of Kadesh in fullscreen mode. Is there a way to switch to fullsceen? If not, will it be implemented?

rbrune commented 2 years ago

For now I recommend using the fullscreen mode of the browser you are running. E.g. F11 in Chrome. Ideally do it from the main menu such that any issues related to resolution change when done while running a game are avoided.

ThibaultLemaire commented 2 years ago

I haven't tested with Chrome, but in Firefox F11 does not work (probably captured by SDL). You have to F11 in an other tab, then switch back to the Gardens of Kadesh tab. But mouse not being captured, the top bar keeps popping up when you touch the top of the screen.

Also, as discussed on the Discord, F11 doesn't work with native builds.