Kongregate - API High Scores

Get help using Construct 2

Post » Wed Mar 13, 2013 1:33 am

Hello.

It has been quite a while since I have made a post.

I have a rather straight forward question, how do I introduce Kongregate's API to make high scores and Trophies for my game that will eventually be uploaded to Kongregate.

I cant find a tutorial or any examples upon this. Does anyone know what direction to point me in?

Thanks
B
14
S
5
Posts: 345
Reputation: 2,427

Post » Wed Mar 13, 2013 3:05 pm

I know that there is a Kongregate plugin. But there is no documentation on it in the manual.
B
14
S
5
Posts: 345
Reputation: 2,427

Post » Thu Mar 14, 2013 1:02 am

Bump - no reply.

I still cant find any documentation on integrating high scores with Kongregate.
B
14
S
5
Posts: 345
Reputation: 2,427

Post » Thu Mar 14, 2013 1:22 am

Did you search in the tutorial section ?
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Thu Mar 14, 2013 1:50 am

[QUOTE=Whiteclaws] Did you search in the tutorial section ?[/QUOTE]

I have. It has nothing with API in it. Just uploading it to Kongregate. Sadly.
B
14
S
5
Posts: 345
Reputation: 2,427

Post » Thu Mar 14, 2013 2:44 am

You can upload an updated version.

When you are uploading your game, or in your case when you edit your game, there is a section where you can setup "statistics" for your game. You setup as many as you wish your game to send there and what type of statistic they are, and then in your game you make sure you have the Kongregate API object, and for each statistic when you are ready to send them (at the end of the game, every 10 seconds, or whatever you want to do) you use the action submit statistic and give it the name you put in the Kongregate side along with whatever the stat is (i.e. total kills, score, etc). That's all there is to it. Screen shots from GSSMPTX:2EB:


theubie2013-03-14 02:45:55
B
26
S
8
G
3
Posts: 210
Reputation: 5,973

Post » Thu Mar 14, 2013 2:53 am

Oh my, nice!

Never thought it was that simple.

So with all of the above credentials, I can make a public high scores for everyone to view?
B
14
S
5
Posts: 345
Reputation: 2,427

Post » Thu Jan 09, 2014 7:59 am

This was very helpful thank you! I was just wondering though, how do you get to the add statistics page?

Thank you
B
9
S
1
Posts: 48
Reputation: 675

Post » Sat Jan 11, 2014 12:33 am

Go to your game (after uploading) or in the game uploader (during uploading). There is an option towards the end to add statistics. Name it exactly as you have it labeled in Construct 2
B
5
Posts: 15
Reputation: 310

Post » Sat Jan 11, 2014 5:13 am

Bookmarking this one. There should be more formal information on this matter. Also, on Newgrounds. That would be awesome!
B
25
S
9
G
3
Posts: 487
Reputation: 3,825

Next

Return to How do I....?

Who is online

Users browsing this forum: Draconinho, totoe and 9 guests