Dropbox dead links - but a alternative isn't working?

Get help using Construct 2

Post » Mon Mar 20, 2017 4:28 am

To get it to work in preview mode with nwjs here is a strategy I've used.

global text appfolder="c:\myfolder"

Start of layout
[negated] is preview
--- set appfolder to nwjs.appfolder


Basically, if you're in preview just use a direct folder path, otherwise use the nwjs.appfolder expression.
B
92
S
32
G
109
Posts: 5,290
Reputation: 70,991

Post » Mon Mar 20, 2017 5:17 pm

That may be a good tip for certain projects, but I really can't get nwjs to read the file in preview mode.
So in preview, even if the path is correct, it just ignores the readfile command except when exported.
It works well in export mode though.
B
11
S
3
Posts: 51
Reputation: 1,251

Previous

Return to How do I....?

Who is online

Users browsing this forum: MassimoF, Microbex and 25 guests