Is it possible to run the game completely offline, say from a USB drive? On both PC and Mobile? It has to be HTML5, not a native app.
I know you can't do this directly, but can I modify the exported .js or something to make it work?
Thanks.
Compile your project with Node Webkit.
Doesn't that make a .exe file? Unfortunately, I still need it to be a .html and run in a browser. It also should work on mobile...
I understand the reason it doesn't work is due to browser restrictions on reading files from disk. Can the images and sounds maybe somehow get embedded in the exported .js files?
Develop games in your browser. Powerful, performant & highly capable.
You need then to upload to a server.
I don't know an offline solution. Sorry.
That's what node-webkit is for, why do you still need to run it in a browser but offline?
It was on a client's request ( I am a freelance game dev ) but it sounds like they are ok with an executable as well, so I guess I can do that.
Ok. Offline apps and games only with Node.
EstudioCelula3 with a virtual server, you might be able to make that work (as browsers are limiting how local content is read)