HTML File System API

Discussion and feedback on Construct 2

Post » Thu Oct 18, 2012 1:47 am

Just sat here wondering if C2 will include the HMTL 5 File System API that allows the browser to read/write files and directories. I know we have a method of saving game info using cookies etc, but it's not as good as really accessing files. Having this in the long term would be great (although only Chrome supports it atm I think). Have you fellas (Ashley or Tom) had a look at it?

http://www.html5rocks.com/en/tutorials/file/filesystem/vandinz2012-10-18 01:48:07
B
19
S
5
G
4
Posts: 208
Reputation: 3,960

Post » Thu Oct 18, 2012 11:54 am

It's an interesting API, but currently only available in Chrome and I don't think standardisation has finished yet so it could change and break with new Chrome releases.

Also, it only works in a sandboxed file system - as if each website had its own empty drive. You can't just read and write files to disk like native apps can. Basically it's like unlimited WebStorage, which could be useful, but is a lot of work to really justify it right now.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

Post » Thu Oct 18, 2012 12:00 pm

FileSaver plugin by @Pode
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Thu Oct 18, 2012 3:09 pm

One for the future though I think. HTML 5 is in it's infancy atm so there's going to be a lot 'for the future'. It's good to know things like this are on their way though, making HTML5 a more viable platform day by day.

Thanks for the link Rex, I'll take a look at that. :)
B
19
S
5
G
4
Posts: 208
Reputation: 3,960

Post » Thu Oct 18, 2012 11:17 pm

That is a damn shame. Seems it will still be a while before we can fully use external files, if ever :\
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024


Return to Construct 2 General

Who is online

Users browsing this forum: Avengium, DonpatchXD, Prominent and 17 guests