How to Update NW.js to Dramatically improve Game Performance!

ShiningPhoibe

Veteran
Veteran
Joined
May 12, 2020
Messages
166
Reaction score
68
First Language
French
Primarily Uses
RMMZ
Hello.
I'm considering doing this for my MZ game. What version of Pixi would you recommend? I checked the file and it says v5.2.4. Should I leave Pixi alone?
 

Yilou

Veteran
Veteran
Joined
Apr 3, 2020
Messages
93
Reaction score
13
First Language
Russian
Primarily Uses
RMMV
Just to follow up, this version of nwjs seems to do something slightly different with the windows. If I call Graphics._switchFullScreen() or Graphics._requestFullScreen() in a plugin, when I start the game, it briefly flashes into full screen, then goes back to window. If I call those functions through a script call before the title screen (luckily I have pre-title events), the calls work just fine and the game starts in fullscreen seamlessly. (And F4 works fine either way.)

My guess is that the old nwjs used to set the window dimensions first and then process plugins, while this one loads the plugins before it sets the window, so the later call is resetting the plugin calls. But, just a guess.

In any case, if you were using those calls in a plugin to start in fullscreen, you might have to use them as a script call in-game (e.g. pre-title event)... or, this could be something with my set up only. I didn't actually test a blank project. YMMV.
I have the same problem, how can I call the call script before the title screen?
 

Frostorm

[]D[][]V[][]D
Veteran
Joined
Feb 22, 2016
Messages
2,743
Reaction score
2,297
First Language
English
Primarily Uses
RMMV
So what's the latest version of NWJS that people have gotten to work flawlessly?

Edit: Nvm, I just upgraded from v0.57.1 to v0.64.1!
 
Last edited:

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,698
Reaction score
2,248
First Language
Dutch
Primarily Uses
RMMV
I tried both, but it doesn't seem to work as I get drawImage error on boot.
I dont know why though, so I have no clue what I do wrong as I followed
the tutorial video 100% correctly.

the title scene works, new game does not, even on a clean project.
 

Frostorm

[]D[][]V[][]D
Veteran
Joined
Feb 22, 2016
Messages
2,743
Reaction score
2,297
First Language
English
Primarily Uses
RMMV
I tried both, but it doesn't seem to work as I get drawImage error on boot.
I dont know why though, so I have no clue what I do wrong as I followed
the tutorial video 100% correctly.

the title scene works, new game does not, even on a clean project.
If you'd like, I can upload a copy of my nwjs-win & nwjs-win-test folders onto Dropbox or Google Drive.
 

Raizen

Veteran
Veteran
Joined
Oct 24, 2012
Messages
425
Reaction score
752
First Language
Portuguese
Primarily Uses
RMMV
Hello.
I'm considering doing this for my MZ game. What version of Pixi would you recommend? I checked the file and it says v5.2.4. Should I leave Pixi alone?
Everything you can update, you do update, it shouldn't be an issue, but usually it can havesome improvements on the game :)
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,698
Reaction score
2,248
First Language
Dutch
Primarily Uses
RMMV
@Frostorm what version do you use? if its 49.2 or another, it's good to
test anyway.

DM the link and I can try out.
 

Frostorm

[]D[][]V[][]D
Veteran
Joined
Feb 22, 2016
Messages
2,743
Reaction score
2,297
First Language
English
Primarily Uses
RMMV
@Frostorm what version do you use?
I'm using v0.64.1 (64-bit). @ShadowDragon reports that 32-bit doesn't work. I imagine it's cuz I only downloaded the 64-bit SDK? Not sure, but for anyone that wants it, I have uploaded my nwjs-win & nwjs-win-test folders onto Google Drive. Simply replace your nwjs-win & nwjs-win-test folders, but remember to create a backup just in case.
 

masterlobo

Veteran
Veteran
Joined
Mar 14, 2012
Messages
298
Reaction score
434
First Language
English
Primarily Uses
RMMV
Two questions...
1. Any concerns with using a 32bit version of nwjs? People are asking me for 32-bit support for my game.

2. Is there any 32bit version of nwjs known to integrate with Steamworks?
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,698
Reaction score
2,248
First Language
Dutch
Primarily Uses
RMMV
@masterlobo
my MV version is installed on x84 folder for some reason,
and have 64bit version of windows.

32bit version is something I dont get to work somehow.
but so far I know, 64bit version should work on a 32bit version as well.
specially vice versa.
 

Latest Threads

Latest Profile Posts

The black rose maiden! :kaopride:
vmTLAk8.jpg

Character: Aki Izayoi from Yugioh 5Ds.
Took some trial and error, but I managed to create "visuals" for underground dig path regions.
Couldn't sleep at all so I started working on the topmost deck. I've had to make several deviations from the Imperator/Berengaria's deck-plans to accommodate MV's movement, but 100% accuracy was never my intention.
Still no name for the poor ship...:kaodes:
Screenshot-2022-06-25-053308.png
ScreenShot_6_24_2022_9_20_7.png
Here's Mike when you get a preemptive strike in battle. There's another one for when an enemy sneaks up on you too.

Forum statistics

Threads
123,034
Messages
1,153,593
Members
161,381
Latest member
hvrhrt
Top