What NW.js to use?

Discussion and feedback on Construct 2

Post » Thu Jun 23, 2016 9:46 am

As the title states. I've heard 10.5 had memory leaks and the most stable right now is 14.0 (which is also compatible with @MadSpy Steam API plugin. But the newest version is 15.0. And when in most cases "newer" is better - we all know that things with NW.js... are a bit different, to say the least, and often than not - newer NW.js bring more bugs than fixes. So my question is for people who are(or wear) extensively testing 14.0, 14.5 and 15.0. What are the difference? What's your opinion? Which one is the most stable to use right now? Which one has the best performance?
B
29
S
8
G
7
Posts: 643
Reputation: 6,482

Post » Thu Jun 23, 2016 11:16 am

You might want to get a look on this topic:
best-working-c2-nw-js-greenworks-versions_t175469
B
135
S
33
G
17
Posts: 1,559
Reputation: 20,732

Post » Thu Jun 23, 2016 12:09 pm

glerikud wrote:You might want to get a look on this topic:
best-working-c2-nw-js-greenworks-versions_t175469

Oh I am not asking about greenworks plugin as I am pretty sure it will never be finished. So my choice is to discard Achievements and Steam API all together or use @MadSpy plugin.

What is my biggest focus is performance and how bugfree new NW.js are.
B
29
S
8
G
7
Posts: 643
Reputation: 6,482

Post » Fri Jun 24, 2016 3:15 am

NW 0.13 and 0.14 are both excellent from my testing. Did not test 0.15 yet!
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Fri Jun 24, 2016 6:50 am

Silverforce wrote:NW 0.13 and 0.14 are both excellent from my testing. Did not test 0.15 yet!

Well I finally upgraded from 10.5 to 14.0 and I must say... wow. Damn how smooth it is. I am taking 15-20 FPS gain.
B
29
S
8
G
7
Posts: 643
Reputation: 6,482

Post » Fri Jun 24, 2016 7:06 am

nw11.5 was really bad with a lot of fps drops
nw12.0 was correct for small/middle-range project but had jank/fps drop on large and huge projects
nw13 is good, nw14 is excellent but if you plan a steam release, F12 opens devtool while you take the screenshot (could be solved if you replace scirra files by nw.js files from nwjs.io)
nw15 tested only on small project.. run smooth but high CPU usage with x64 export on AMD CPU

Note: on laptop with embedded ATI radeon HD, you can have few graphic issues (especially with steam overlay)
Image Image
B
25
S
14
G
139
Posts: 876
Reputation: 72,510

Post » Fri Jun 24, 2016 7:21 am

what about 14.5 @MadSpy ? and holy cow - hardcoded dev tool shorcut? O.o And this is EXACTLY why I am always worried to upgrade with Nodekit...
Anyway, I just found a workaround for that nasty F12 without the need of any file switching/swaping.
Make an event with Keyboard object
IF F12 pressed ->Request attention.
Image
No dev tool will open. Your welcome hah! :D
B
29
S
8
G
7
Posts: 643
Reputation: 6,482

Post » Fri Jun 24, 2016 7:39 am

@MadSpy

Off-topic but of real interest for the dev community...

Do you think you can make a plugin that forces iOS devices to set the refresh rate to 30 hz instead of default 60?

I am reading and it seems possible:

http://stackoverflow.com/questions/2128 ... pplication

https://developer.apple.com/library/pre ... eRate.html

Big games running at 60 hz really kills battery life on mobile devices, there's just no need for it as 30 fps is very playable.

@irbis

0.13 and 0.14 had some nice performance gains, my testing find around 20-25% better CPU usage for the same 60 fps delivered. However, it also fixes the stutter/jank and memory leak, which you will encounter on 10.5 if you play your game over a long period of time. The bigger your game, the faster you run into these issues.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Fri Jun 24, 2016 7:42 am

Silverforce wrote:@MadSpy

Off-topic but of real interest for the dev community...

Do you think you can make a plugin that forces iOS devices to set the refresh rate to 30 hz instead of default 60?

I am reading and it seems possible:

http://stackoverflow.com/questions/2128 ... pplication

https://developer.apple.com/library/pre ... eRate.html

Big games running at 60 hz really kills battery life on mobile devices, there's just no need for it as 30 fps is very playable.

@irbis

0.13 and 0.14 had some nice performance gains, my testing find around 20-25% better CPU usage for the same 60 fps delivered. However, it also fixes the stutter/jank and memory leak, which you will encounter on 10.5 if you play your game over a long period of time. The bigger your game, the faster you run into these issues.

So what is the actual difference between 14.0 and 14.5? There is any?
B
29
S
8
G
7
Posts: 643
Reputation: 6,482

Post » Fri Jun 24, 2016 7:20 pm

@irbis ,
nw14.x is based on chromium v50.x and nw15 on chromiumv51.x
they have the same bugfix and improvements (alt+enter crash fix (0.14.5), "on cancel" trigger added for dialog popup (0.14.2)...)
(source https://github.com/nwjs/nw.js/blob/nw15/CHANGELOG.md )

@Silverforce ,
I can take a look
Image Image
B
25
S
14
G
139
Posts: 876
Reputation: 72,510

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests