Jump to content

Cocoonjs - leaderboards and achievements

Binary Moon

Recommended Posts

So the first thing you do is set everything up in the Play Store, every Achievement and Leaderboard you add has it's own unique ID that you should use for the services.


Here a piece of code I used for one of our Projects.



In your app you first have to make sure your user get's logged in, otherwise nothing will happen there, after that you just call the correct methods.


ps; you obviously need to include the cocoon library in your project

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...