Hi guys,
I tried to update nwjs, but the update breaks a lot of the game's features. For example, with the latest version the whole screen is blurred and if I press f4, the window does not go to fullscreen, but is blocked in the upper left corner of the screen.
Is updating NWJS and making it compatible with the engine that complicated?
Would it be difficult for programmers to take one of the latest NWJS versions and make it compatible, in order to increase the performance of RPG Maker MV?
I don't mean so much PIXI, as much as NWJS.
P.S. Does updating NWJS risk breaking plugins, like when updating PIXI? Or are the plugins saved, and you just need to make the new version of nwjs compatible with the engine?
I know updating PIXI can break plugin's using PIXI Sprites because some functions
are changed to make it better, so the plugins MUST be updated to use the latest version
of this (or modify to do so).
for NWJS, I'm not sure but I don't think it is plugin related in any way (can be wrong).
while it mostly is the screen and gameplay, if it does break the game or plugins,
than some plugins check the NWJS for a version, if it's higher, it will break, and might
have different functions as well, but I cannot tell.
Upgrading NWJS is safe as safe as upgrading your Chrome browser, because RPG Maker is designed with browser compatibility in mind where diversity cannot be avoided.
But of course, it can be different if some plugin force any specific version of NWJS which luckily is very rare.
I upgraded my NWJS for STEAM features and of course also updated my PIXI for my light plugin.
Have you overwrite package.json?
It may cause the NWJS cannot detect your game.
I upgrade it myself every time I saw new interesting features in NWJS and my game runs just fine.
Yes, I upgraded mine. Upgrading the NWJS.... was a process..... I had to do a lot of research, try, break it, break it again, fix it, break it, experiment, break it..... lol you get the point.
Eventually I got it right and got it all working..... actually this is a normal cycle in software development.
Short answer, I googled, a lot and experimented. Finally got it right. I think I looked up the version of NWJS I needed for the STEAM features. I believe when you get the STEAM code, it tells ya which version of NWJS you need. So I started there.
I know people with higher versions of NWJS. I got the version I needed to get all my cool STEAM network features working with RPG Maker.
I did it a while back for my game on STEAM, my first game.
I forgot exactly what I had to do, I just remember it was a process, it wasn't too easy, but also it wasnt so bad.
Once I figured it out, it was simple..... I thinkI remember there was one step that didnt do a great job of specifying exactly how to set it all up.
Perhaps Im also including adding STEAM Greenworks functionality. I had to add a separate Lib folder for STEAM in the outermost folder to get it working, etc.
I downloaded the non SDK which just missing debug feature and reduce the NWJS size.
The SDK will run just as fine as non SDK.
Yeah, I think I also included setting up STEAM Greenworks to work as well. That was the only reason why I bothered updating the NWJS. (And thats why I remember why setting it up was a pain)
Your version of STEAM Greenworks dictates which version of NWJS you need. (I believe)
I think the hardest part about that was figuring out where the new Lib folder goes, and testing and making sure it works with STEAM Works. (Achievements, SteamWork calls, checking for DLC, etc.)
It is very possible like others said. Each project has a different "max" version though, as some stuff can break in some projects and not others. In last released projects I was able to update to v. 0.32.4 without any issues. v. 0.33.5 didn't work though.
Keep in mind that if you're releasing on steam and plan on using the Greenworks.js API, your nwjs version needs to be compatible with your greenworks.js version (and vice-versa).