'Open File' dialogue

Get help using Construct 2

Post » Fri Jan 10, 2014 10:17 am

Hey guys,

I want to give my players the option to build their own levels. The idea is simple, and I'm actually building a data array which has all the data of the level.

At the end of the build (or in the middle), I want the player to be able to save the array as .JSON file on his computer (no problem here), so that the next time he enters, he will be able to upload the file and continue from the same point where he left off.

It is important that it will be on an external file that he can save on a DOK or email somewhere, because I would like to allow the user to upload the file to (and from) a diffrent computer, or to send his progress to another user.

The problem is that the option of opening an 'Open File' dialogue is nowherer to be found...

Can anyone help me?
Please.

(Thanks in advance!)

SES SES2014-01-10 10:18:41
B
8
S
3
Posts: 22
Reputation: 744

Post » Fri Jan 10, 2014 11:22 am

Try the node-webkit plugin. (It will only work when exported to node-webkit though.)
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351


Return to How do I....?

Who is online

Users browsing this forum: Christmas, Yahoo [Bot] and 8 guests