index.html outside of game directory

Get help using Construct 2

Post » Sat Sep 06, 2014 3:26 pm

I need to put index.html file outside of game directory. Any ideas how to make this running?
B
3
Posts: 2
Reputation: 179

Post » Sat Sep 06, 2014 6:39 pm

I don't think it is possible. Perhaps use a way to redirect from your main index to your game index?
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Sun Sep 07, 2014 10:13 am

I have just solved it. It requires editing of c2runtime.js file. I have linked all my paths to game directory.
B
3
Posts: 2
Reputation: 179

Post » Wed Sep 10, 2014 9:53 pm

If you got the time can you please explain how you did this or what you changed in C2runtime i cannot figure out how,
B
16
S
2
Posts: 34
Reputation: 914

Post » Fri Jan 02, 2015 9:48 pm

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.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests