Hivetek / Planetoid

A spiritual successor to Nade Planet.
GNU General Public License v2.0
1 stars 0 forks source link

Allow both self-hosting and server-hosting of game files #8

Open PeterSR opened 9 years ago

PeterSR commented 9 years ago

I have realised that this is not possible because of how the loader currently works. Now the loader will request a json file containing a list of folders. It will then request to the server a filelist of each folder and using the filelist it will request each individual file. Due to security reasons JavaScript is not allowed to look at local files, unless in some circumstances, and it cannot list files in folder. Therefore until JavaScript in the browser gets a full-blown File API like in NodeJS, we cannot do much.

Possible fixes: