[PLUGIN] Clay.io (leaderboards & achievements)

From the Asset Store
Implement a customizable array-based achievement system with the fully-commented template.
  • thank you mmoDust, that's just what i need to know.

  • if you do not log in the socres will be posted as Anonymous.

    I don't know if you meant log in to the game or clay.io, but just to clarify it's possible to specify any name with the score when posted, whether the player is logged or not :]

  • Good to see you guys helping each other out - that really helps me out with my workload :)

    I've updated the plugin to introduce a new loading splash. You can turn it on by enabling the Clay.io plugin property: "Use Clay.io Loader". I think it looks a bit better than the standard loader, but it also benefits Clay.io some since it links to the marketplace (we're trying to grow the consumer side to have much more traffic).

    <img src="http://new.tinygrab.com/a160021eef41ccf64d682b81c2a1363f6b1ccf78e3.png" border="0" />

    The orange HTML5 logo will be your game's logo if you have that set in the C2 properties.

    Let me know what you think!

  • I like.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • austin That looks pretty cool!

  • I'm trying to show the login as soon as clay.io is loaded.

    clay.io ready -> show login but it doesn't work, if I associate it with a mouse/touch event it works, why?

    Also, what happens if you report an achievement/leaderboard if the user is logged off? And if the user is offline?

  • Clay.io show login is called regardless when the page is loaded (if you're not already logged in), so no need to call it on the ready condition.

    If the user is logged off, it's stored based on their IP address, and if they sign up later it will be associated with their account.

    Offline mode is a work in progress.

  • Hi - I don't understand this line in the Clay.io documentation:

    Set "Init Function" to: clay_init('GAMEKEY')

  • Whoops, that was some leftover text from when I updated the Construct 2 documentation to be more like our GameMaker plugin documentation - you don't need that step, thanks for pointing it out!

  • Thanks, just wondering is it possible to have multiple leaderboards, what I'm after is global, local and friends (facebook). Is this somthing that Clay.io can pull off?

  • Yep, you can use the same leaderboard ID for all 3, and just using different settings when you call the action.

  • is Clay.io having issues? I've been trying to create an account for a while now and keep getting a "maximum request" error.

  • I'm going to reply to myself :)

    I did get past the account creation, I was able to get an account setup, a game added, an API key created. I think the issue was chrome was blocking popups so i just wasn't being notified.

  • What is the CSS for the Clay.io styles? I want to make something similar.

  • good to hear it's resolved.

    InvaderX, could you elaborate?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)