Under rating threshold (hideshow)
I just want to note that the Javascript API will not work if you load it from a standalone page, your game *must* be embedded in the Kongregate game page for the API to work. We pass along some URL params that the Javascript API requires in order to function correctly.
Under rating threshold (hideshow)
@BenV: To clarify, can you load the Javascript API from the page Kongregate game page, then pass those values via post to a secondary page where the SWF is embedded? I need the Kongregate API to determine the user ID, but am querying my database in PHP before the SWF is loaded.
Under rating threshold (hideshow)
I am creating my own game, but I can't test API for my game if it has work? If I want test, I should upload my own game and can be removed?
Under rating threshold (hideshow)
I'm not sure what I'm doing wrong - It's quite late so my brain has stopped working properly! My game is a HTML5 game that I have submitted using the "upload iframe" option. The API connects fine and shows a message saying it has submitted high scores, but nothing actually gets sent over the network and no high scores are appearing on the page for my game. If I check the console in debug mode I can a line like this:
[00:11:00.204] "[Konduit] [Game->Service]: stat.submit: {"stats":[{"value":0,"name":"HighScores"}],"req.id":1}"
But there is no response (Service->Game). Anyone know where I might be going wrong? Thanks!