Node-Webkit question

Discussion and feedback on Construct 2

Post » Wed Oct 15, 2014 12:25 am

why when i run my game it creates 3 instances of Node-Webkit??

and why one of those takes so much CPU?? :/

By the way, my game takes 0.5% of cpu accroding to C2 expressions "cpu usage"
what the heck is the other 2?
You do not have the required permissions to view the files attached to this post.
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Wed Oct 15, 2014 6:10 am

Like 20 different testers / early access peeps have hit me up about this too and I have no idea how to answer them. I just tell them it's normal. :) Interested in this too.
Made Cosmochoria - www.cosmochoria.com
Currently working on Slayaway Camp - www.slayawaycamp.com
B
27
S
8
G
3
Posts: 384
Reputation: 5,020

Post » Wed Oct 15, 2014 6:26 am

Apparently Chrome is a multi-process browser so this is normal. I dunno why, or if it matters :P
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,699

Post » Wed Oct 15, 2014 11:03 am

http://www.google.com/googlebooks/chrome/small_00.html

Pages 3 and 4 I think can help a little in understanding that.

Tl;dr : each rendering engine, each tab, each "insert name here" have its own process, so if one crashes, the others stays up, and also they are sandboxed for a better security (at least in chrome)
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
54
S
22
G
18
Posts: 2,123
Reputation: 17,150

Post » Wed Oct 15, 2014 11:13 am

@Aphrodite, so its neccesary? oh well
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Wed Oct 15, 2014 1:23 pm

Yes, it's normal, because Chromium is a multi-process browser. Google Chrome does the same thing. I think those will be a content process, a UI process, and a GPU process.
Scirra Founder
B
402
S
238
G
89
Posts: 24,637
Reputation: 196,071

Post » Thu Oct 16, 2014 3:38 am

@Ashley

ok thanks a lot for clarifiying my doubts :)
B
23
S
6
G
3
Posts: 316
Reputation: 3,461


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests