What happens on exe load?

Discussion and feedback on Construct 2

Post » Wed Sep 25, 2013 3:29 am

Wondering what is actually happening between when you double click the .exe file generated by Node Webkit export and when the window shows up on screen. This feels like it is taking longer and longer as my game grows (30+ seconds where the app is active on task manager before the window shows up). I'm wondering if there's anyway for me to optimize this! Thanks in advance for any help.
B
9
S
3
Posts: 58
Reputation: 1,566

Post » Wed Sep 25, 2013 10:08 am

I think it keeps the window hidden until the progress bar that you would see in a browser completes. I'll make it show the window sooner so the user can see the progress bar rather than wondering why nothing's appeared. I think you can already use a loader layout to show the window sooner as well.
Scirra Founder
B
400
S
237
G
89
Posts: 24,550
Reputation: 195,537

Post » Wed Sep 25, 2013 10:43 pm

Hmm okay, already using a loader layout (I thought the percentages were going up almost instantly from 0% to 100% since it's loading locally but maybe that's what's causing the slow window appearance). Thanks a lot for looking into this Ashley!
B
9
S
3
Posts: 58
Reputation: 1,566

Post » Thu Sep 26, 2013 1:32 pm

I just checked and it actually should already show the window right away, including any progress bar or loader layout that has been set. Does it really take ages before even the loader layout appears?
Scirra Founder
B
400
S
237
G
89
Posts: 24,550
Reputation: 195,537

Post » Thu Sep 26, 2013 3:04 pm

Takes about ~17 seconds to open my game on my computer (my win32 exe folder is 84 mg).alspal2013-09-26 15:05:30
B
151
S
75
G
20
Posts: 1,793
Reputation: 22,749

Post » Thu Sep 26, 2013 7:12 pm

Yes, you double click the exe and nothing shows up for some time (the task instantly appears in task manager at around 26MB and uses around 12% of my CPU and when the window shows up, a second process starts with the same name that is around 350MB and all the CPU time goes to 0% on the smallerprocess and is hovering at 1% for the larger process).

It used to be a few seconds long and has progressively gotten slower as the game has grown.
B
9
S
3
Posts: 58
Reputation: 1,566


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests