How do I Preview in a Window?

Get help using Construct 2

Post » Tue Apr 21, 2015 8:21 pm

I've not used C2 in about a year (maybe more?), but I'm a bit confused as to why the NW.js default setting for previewing is simply loading my project in Chrome as seems to be the default-default. Also, when I looked in the big-faq "How do I" and found something about exporting as .exe, I saw something that appeared to be a step behind where C2 was when I first bought it. What's going on with the Windows-side of C2? I know I've been gone since NW.js was still NodeWebkit, but have things really taken that sharp of a turn?

Edit: I now see that the thread linked from the big list is old (though not sure why it's still referenced), so apologies for that, but the other issue remains a pain point.
B
20
S
5
Posts: 10
Reputation: 1,172

Post » Tue Apr 21, 2015 8:27 pm

nope it's the same.. NW.js is nodewebkit.

node is basically a copy of chrome and exports to an exe.

if you select Nw.js it will do a preview in Node not Chrome... 'default' is your system's default browser.
B
100
S
33
G
16
Posts: 1,204
Reputation: 16,865

Post » Tue Apr 21, 2015 8:33 pm

Yes, and as I'm saying, selecting "NW.js" as the "Default preview browser" is running my project in Chrome.

Image
Last edited by Nekoyoubi on Tue Apr 21, 2015 8:44 pm, edited 1 time in total.
B
20
S
5
Posts: 10
Reputation: 1,172

Post » Tue Apr 21, 2015 8:44 pm

Aha! Figured it out. The "Default preview browser" is merely for setting the preview browser for layouts going forward. Existing layouts (I was running samples to remind myself how to work with C2) are a property on the layout itself. Thanks for your help!

Image
B
20
S
5
Posts: 10
Reputation: 1,172


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], dop2000, max2612 and 7 guests