Export with NW.js won't work

Discussion and feedback on Construct 2

Post » Sat Sep 12, 2015 11:55 am

First of all it says that script can't be minified because I need to install java but I have both x64 and x86 versions of the latest jdk installed.
When export is complete it reminds me that it was not minified but should play anyway. When I try to start the game nothing happens. When I open the taskmanager I find 4 instances of the "gametitle".exe doing nothing.

Is this a problem with windows 10 or is NW.js broken?

Any help to fix this would be greatly appreciated!

Thanks
B
35
S
10
G
7
Posts: 276
Reputation: 7,402

Post » Sat Sep 12, 2015 1:58 pm

I presume you have tried to uninstall then reinstall java - into the default locations - and the same for c2...?

The nw.js problem could be this bug (edit - or this bug)perhaps. Do you get an error in preview in nw.js?
Learning other engines, but C2 still rocks. Image Image Image Image
B
81
S
22
G
96
Posts: 2,467
Reputation: 58,351

Post » Sat Sep 12, 2015 2:25 pm

To add - your minify problem could possibly be this one (if it used to work before r213): minify bug.
Learning other engines, but C2 still rocks. Image Image Image Image
B
81
S
22
G
96
Posts: 2,467
Reputation: 58,351

Post » Sat Sep 12, 2015 2:38 pm

Went back to latest stable, now it works again :)
B
35
S
10
G
7
Posts: 276
Reputation: 7,402

Post » Tue Sep 15, 2015 1:41 am

Same problem for me, how can i go back to latest stable? i edited the project heavily and now i can't run it with 212.2

EDIT: found this: https://www.scirra.com/tutorials/442/ho ... onstruct-2
B
67
S
23
G
4
Posts: 365
Reputation: 6,721

Post » Tue Sep 15, 2015 10:44 pm

Danwood wrote:Same problem for me, how can i go back to latest stable? i edited the project heavily and now i can't run it with 212.2

EDIT: found this: https://www.scirra.com/tutorials/442/ho ... onstruct-2


Yes that's what I did but keep in mind that it wont work with projects saved as a single file.
B
35
S
10
G
7
Posts: 276
Reputation: 7,402

Post » Tue Sep 15, 2015 10:49 pm

MonDieu wrote:Yes that's what I did but keep in mind that it wont work with projects saved as a single file.


It does, a .capx is just a .zip file with the regular project structure inside (can be unzipped with anything, for example the regular windows explorer).
That said.. the method itself is of course only to be used in life threatening situations. You never know if something fundamental has changed. So always either save versions of your files manually or use a versioning tool like SVN/git/whatever.
B
84
S
29
G
32
Posts: 489
Reputation: 20,061


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest