[Request] Change to index.html for Kongregate

Discussion and feedback on Construct 2

Post » Wed Nov 27, 2013 2:33 am

I have just managed to export my first game to Kongregate. The 2 tutorials I found proved very useful but they didn't contain everything to do with how to use the Stats API (for high scores etc).

As discussed on this thread here there is an error in the exported index.html file that doesn't enable the stats api to function (when exporting for Kongregate, of course).

The fix is easy to do manually but it would be very convenient (for the aged and forgetful among us) if this could be done automatically by C2. This line:

<script src="//www.kongregate.com/javascripts/kongregate_api.js"></script>

needs to be replaced by this one:

<script src="https://ssl.kongcdn.com/javascripts/kongregate_api.js"></script>

Thank you @lukedirago for saving me from many hours of sadness!!

Would the community support this request? Thanks.
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
73
S
19
G
66
Posts: 2,198
Reputation: 42,183

Post » Wed Nov 27, 2013 2:23 pm

Thanks, I've updated the script reference for the next build.
Scirra Founder
B
387
S
229
G
87
Posts: 24,245
Reputation: 192,160


Return to Construct 2 General

Who is online

Users browsing this forum: Cliffu and 2 guests