Topic: Game Programming /
Problems with the scoring API
Hello. I’m a first time developer, and I’m having problems with the API. My game is nothing big, just one of those button clicking games, but I thought I’d add a High Score feature that records how many times you’ve clicked the button. I’m just trying to get familiar with the API. Anyway, the problem is that while the API appears to connect and submit the numClicks variable just fine in Flash, the “High Scores” tab isn’t appearing on the game’s page on Kongregate. I was just wondering if it takes some time for Kongregate to set up the high scores for the game, or if I might be doing something wrong that I’m not seeing.
Here is what I get in the output area of Flash:
When the game loads:
Alert: Kongregate API shadow services loaded due to local testing. API will load when the game is uploaded.
Kongregate API: IKongregateServices.connect()
When clicking the button:
Kongregate API: IStatServices.submitStat(Number of Clicks,1)
Thanks in advance for the help. Also, I apologize if this is in the wrong section.
|