Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey, can you port the window size and position settings of c3 browser ? I ported my game to webview2, and the nwjs plugin doesn't work. I noticed that the c3 browser plugin can adjust the window size and position.

I’m impressed that you managed to export a Construct 2 project to WebView2. However, you need to note that Construct 3 projects have a completely different architecture, which means it has more features that Construct 2 doesn’t have. Unfortunately, I won’t be able to help you because Construct 2 doesn’t have official support for exporting to WebView2, and the architecture of projects made with it doesn’t allow you to change the size or position of the window (as far as I know).

(+1)

OK, thank you. But in fact, in C3, you can directly use the browser plug-in function to control the window size and position of webview2. The method of porting to webview2 is just to overwrite the HTML file of webview2 exported by C3 with the HTML file exported by C2.

That’s interesting! The WebView2 wrapper is very lightweight compared to NWjs, and it’s quite suprising that it works with Construct 2 projects even if it’s from a Construct 3 exported project.

Yes and the performance is 5-10% better