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
91
S
31
G
103
Posts: 5,235
Reputation: 67,756

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
10
S
3
Posts: 51
Reputation: 1,226

Previous

Return to How do I....?

Who is online

Users browsing this forum: newt and 10 guests