If I integrate this API in a game, what happens if I upload the swf file into another website?
[Kongregate API] High Scores page 2 (locked)
|
|
|
|
|
With flash 8… nothing will happen. It ignores all “errors” like calling an API that doesn’t exist. |
|
|
That is correct, the objects on _root will simply not exist and flash will ignore the calls. |
|
|
if i dont get the high score list ingame, will the highscore thing still pop up in the chat box? |
|
|
Yes, the chat high scores are supported automatically, all you have to do is report. The list is just there for if you want to use it. |
|
|
Is there any way to get the game ID from kongregateServices? For example I want to open the hiscore URL without hardcoding the ID: |
|
|
hmmm |
|
|
Is there any way to support a low score list? Meaning, a game like golf, where the lowest score is better than a higher score? I need to be able to do that for my next game, if I’m to use this API. |
|
|
Nemmy, the statistics API supports “MIN” statistics which would work for that purpose. If you name your statistics something like “HighScore-x” where x is the game mode (normal, hard, easy, etc), you should then be able to use the high scores API to read the list of “low scores”. If you’d like more help with this, send me an email at ben@kongregate.com |
|
|
i don’t mean to hijack but i can’t find this |
|
|
Okay, I think I understand. Thanks, Ben. |
|
|
Sorry the stupid question but since I never submitted a game here I have to make it. Where will the high score list be displayed. Is it at a Kongregate page or we will have to create a field in our games to that? I’ve also having problems with internet connection here so I can’t see how the score are being displayed in other games. |
|
|
I was on the 2nd step of uploading a game. but when i browsed and clicked on my game, I couldnt upload it. |
|
|
Campos – The high scores list will automatically be available in chat and on the site. Displaying the list in game is optional. |
|
|
kovek, I think this is it Basically he recommends storing a reversibly modified version of the value(s) you wish to protect. This prevents people searching through ram for known values. |
|
|
what this topic is yufsly |
|
|
I get the first part of submitting the score. But what does the second part: [code] } Why do we need that, don’t you just need me to send the score? |
|
|
What if you want to show the high scores in-game, like in the classic arcades? |
|
|
Hi! It woks fine and I get a score of 1000. But if I use this code: I can’t get any result. The points_var is were I store the player`s score. Shouldn’t this work? What am I doing wrong? |
|
|
Use points_var instead of being very “grammar-ish”. So it’ll be “root.kongregateScores.submit(pointsvar)” |
|
|
I think I used that way but I’m not sure. |
|
|
ArchBob: You do not need the second part, that is only if you want to show the scores in your game, which is totally optional. Janck: Showing the high scores in-game is explained in the documentation with a short example (which archbob quoted). Campos: Make sure that root.pointsvar is defined and is a number (not a string or some other type). If it is undefined or some other type, the submit will fail. |
|
|
any news on when will be available for AS3 or if there is any way to use it with AS3? |
|
|
I need to quote people more when I reply to them… Archbob was asking why that code was even necessary. I answered with another question. |
|
|
Ahh, Janck, thanks for clarifying. I’m constantly paranoid that my documentation is not good enough/bordering on godawful ;) Ekaguaranga – AS3 library is in the works, I’m happy to say. |
Loading