[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.
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Wed Nov 27, 2013 2:23 pm

Thanks, I've updated the script reference for the next build.
Scirra Founder
B
397
S
236
G
88
Posts: 24,389
Reputation: 194,448


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests