When I run the preview, everything works fine; the game goes fullscreen upon user action. However, once exported, it remains in windowed mode, regardless of the scaling mode I use. Thank you for your help."
No problems when i export with NW.js. But the problem with NW.js is that although I can take advantage of full screen, I can't get the addons to work to enable achievements (unlike with WebView2)
Develop games in your browser. Powerful, performant & highly capable.
The Browser object 'Request fullscreen' action works in Windows WebView2 exports as well, without the user input restriction, so you can use it in 'On start of layout'.