I need to put index.html file outside of game directory. Any ideas how to make this running?
I don't think it is possible. Perhaps use a way to redirect from your main index to your game index?
Develop games in your browser. Powerful, performant & highly capable.
I have just solved it. It requires editing of c2runtime.js file. I have linked all my paths to game directory.
If you got the time can you please explain how you did this or what you changed in C2runtime i cannot figure out how,
You have to change all of the resource directories for images and sounds. I run my C2 without any index.html file at all, but I had to tailor the resource URLs to the server during export.