Open StarWitch opened 3 years ago
1 and 2 may be a high-DPI UI scaling specific problem. Have you tried it on a low-DPI/unscaled display? I couldn't reproduce it without scaling on both Chromium and Firefox (Linux, Wayland); haven't tried scaling yet.
Fullscreen seems to work fine for me in Chromium, but has a really weird tri-state behavior in Firefox. It feels like the game and the browser both try to interpret the F11 key and conflict with eachother.
It might be worth disabling that for WebGL and letting the browser itself handle fullscreen.
Might be a good idea, but requires writing some JS to detect fullscreen and size the canvas appropriately & inform the game. Not high on my priority list for now, so patches welcome.
The Emscripten build is mostly looking good, but there's a couple of issues I've noticed with the resolution setting:
Screenshots are of Safari on macOS (with the "experimental" WebGL 2.0 extension enabled), but the behaviour is the same on iPadOS, and also with Firefox on macOS. I also tested with Firefox on Ubuntu and it seemed to have the same behaviour.
Again, these are pretty minor issues, and the game plays fine otherwise (even on iPad!).