TinyViking's Forum Posts

  • 2 posts
  • [Update]

    I've been using a kongregate_shell.html file as is suggested on kongregate. With the Export for Kongregate option within Construct, this is unnecessary. If you export for Kongregate, use the index.html file for the iframe link in Kongregate.

    Here's the reason why:

    When you run the game through the kongregate_shell.html file, the api connects to kongregate_shell.html. Then, when your game attempts to connect to the Kongregate API, an error occurs because a connection has already been established. The first request then gets precedence and your game can never make use of the API meaning statistics, shoutbox, etc. will not get sent to Kongregate.

    Here's another problem:

    When run directly from index.html, kongregate_api.js still only connects occasionally. I think it has something to do with calling the API through iframes but I'm not sure. I'm still working out this issue. If anyone knows how to fix this, please post a reply.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • After a lot of debugging, I've narrowed down the problem to the Kongregate plugin within the game client. The Submit Statistic function is never actually attempting to submit the integers to Kongregate.

    I've set up Statistics on Kongregate and have made sure that all of the names match up. I'm sure the problem is that the in game Submit Statistic function isn't working properly. Anyone know what might be wrong?

  • 2 posts