Basic Plugin for integrating Kongregate's Leaderboard. This plugin supports C2 and C3 runtimes so you can add it to any of your projects. Check out my other HTML5 helpful plugins.
Nicely done!
Thank you! I will create a stable version trying to cover all of the features of Kongregate Client Side API and downloading the version so you guys are able to minify it.
Just in case you are interested, I just uploaded a new version of the plugin with C2 & C3 support as well as minification. Happy new year!
Thank you! I'm glad it's still in use.
This user has a Construct 3 license!winstreak's avatar winstreak 1 points 3 years ago
I currently use your Plugin. Works on some browsers and others it does not. I know IE was working fine, Chrome Crashes. I get this error:
c3runtime.js:2 ReferenceError: window is not defined
at new g_aO.g_HY.g_aBm.Instance (c3runtime.js:2)
at Function.g_aO.g_ej (c3runtime.js:2)
at g_aO.Instance.g_ajy (c3runtime.js:2)
at g_aO.g_aiv.g_ajm (c3runtime.js:2)
at new g_aO.g_aiv (c3runtime.js:2)
at Function.g_sf (c3runtime.js:2)
at g_aO.g_apk.g_arB (c3runtime.js:2)
at g_aO.g_apk.g_akv (c3runtime.js:2)
at async a (workermain.js:1)
Any ideas on a fix?
Thanks for using it! This is happening because you have the worker mode enabled, this plugin currently doesn't support Web Worker. I'll try to upload an update as soon as I have more time.
If you still have problems, you can reach me on twitter: twitter.com/sotano42
How do I Make the Leaderboard with your plug in. Do you have a video or something else that will help me, Thanks
I haven't made a tutorial but is fairly easy following Kongregate's instructions:
docs.kongregate.com/docs/concepts-statistics
Then use the action "Submit Score" passing the leaderboard name as a string and the score you want to post. As simple as those two steps are.
docs.kongregate.com/v1.0/reference
If you need more information, you can open a thread on the forum and tag me in to help you up.
Does the plugin still work?
Thanks, I'll use it in future projects. Happy new year to you too!
Yes, it does. Are you having issues? it only supports C2 Runtime.
It works, thanks for response. I was using statistics id instead of name. I have another problem now - "Referenceerror: kongregate is not defined" when someone tries to use the game in iframe outside kongregate. It also sometimes happens while previewing in Construct.
Hey, thanks for the plugin! I'm 99,9% sure that I am the one who has done something wrong but I just wanted to double check that this plugin is still working? When I upload my game to Kongregate and preview it I can see the Highscore tab but when I publish the game, the tab disappears?
Well, the plugin actually has nothing to do with Kongregate's tab managing, that's something the portal handles. The plugin should be posting the scores but I'm not aware if Kong changed anything regarding their leaderboard display conditions. Anyway, is out of the scope of the plugin. I also have a Google Analytics plugin for HTML5 games that may interest you too to track all your visits and even notify events. You can check it out here: bit.ly/2LQAsVH
yes very interested in this plugin for C3 runtime and would love a serious discussion to see how Kredits might be able to work.
Hey Thanks! Will try to implement all of the features of it in a further release, as soon as I'm free to go back and work on it will upload an update.
that's awesome to hear. my dream is to be able to make a web based RPG so saving some basic profile information and to be able to have some basic IAP would be amazing.
Not showing up on addons?
if you are using C3 runtime it won't show up. It only has support for C2 at this moment. :)