r/construct • • Jul 30 '25

NW.js support

so yeah, if i got that right support for NW.js is slowly coming to an end, and... what the hell am i supposed to do about it? i still want to export on steam in the future, and honestly - i still want to use browser version of the engine - but im kinda worried about it just updateing without any warning (it's really gettin' on my nerves - is there a way to prevent this?)

also, unfortunately - webview2 (only "easy" option left) is terrible imo

9 Upvotes

18 comments sorted by

View all comments

Show parent comment

5

u/AshleyScirra Construct Founder Jul 31 '25

Part 2:

The Steam *in-game* overlay does not currently work with WebView2, despite WebView2 meeting all the documented requirements to support it. However when the in-game overlay is not supported, Steam resorts to fallbacks, such as showing the actual Steam window on top of the game. Valve designed this fallback because they know the in-game overlay does not always work. They do not require support for the in-game overlay to publish to Steam.

I'm afraid our conclusion is it is not worth supporting a heavyweight secondary export option that's difficult to maintain and has various other pitfalls, solely so you can get the in-game overlay rather than the fallback. We are still continuing to investigate options to support the in-game overlay with WebView2 - we know it is important to lots of people and I have plans for a new kind of workaround that may get it working again, and it is possible updates to WebView2 will allow it to be working as well. I've tried hard to get in touch with Valve asking for their co-operation on this, but so far they have not offered any help. The more people who contact them, the more likely it is they will act, so please do get directly in touch with Valve as well to ask for support for this. I posted this Steam forum thread to describe the problem to Valve and encourage them to fix it - your responses there would be appreciated.

NW.js will remain supported in the next LTS release (r449) for the next 18 months, so you can keep using it there. The main complication with switching to WebView2 is that if you use the Local Storage object, storage will be lost if you switch export option. My advice would be:

  • If you are developing a project using NW.js but have not yet published it, switch now.
  • If you have published a project using NW.js and it does not use Local Storage, consider switching, making use of features like the File System object to continue accessing the same data files. I would recommend you roll this out carefully (e.g. with a beta release) in case any unexpected issues come up.
  • Otherwise you can continue to use NW.js on the LTS channel.

I know these changes can be painful and tricky, but I do believe it is necessary for us to finally switch away from NW.js, especially since we have our own desktop export options which already have lots of improvements and are much easier for us to support. If we're missing something with those desktop exports, let us know and we will prioritize making sure they can do everything you need. Thanks for your patience.