[PLUGIN] Clay.io (leaderboards & achievements)

From the Asset Store
Easy Leaderboard is a simple 3-column (position, name, score) leaderboard with a customizable appearance
  • - the "Successful Payment" condition will be triggered and some expressions will be set with info about the payment. See clay.io/docs/construct2 (Payment section)

  • The popup does not use the full screen size on my Nexus 4 using CocoonJS :(

    If I test it in browser it works normally

    <img src="http://s7.directupload.net/images/130728/k2ckep3h.png" border="0" />

  • Hi,

    I've just discovered Clay.io today. Amazing!!! I was gutted I could not implement facebook into my Android app I am making in C2 but it meant I looked and saw the Clay.io plugin. Very impressed with the site / plugin so far. ALthough I also get a scaling issue. Sometimes the scoreboard comes up half the screen, sometimes less. Seems a bit random on how well it will show? Is there anyway to change th

    <img src="https://dl.dropboxusercontent.com/u/63142990/Screenshot_2013-07-30-20-58-48.png" border="0" />

  • I've been testing with the new 1.4 cocoonjs launcher for android and ios and I have:

    • Clayio.LoggedIn == 1

    but

    • Clayio.PlayerUsername == Anonymous

    I have it setup in my game so that if Clayio.LoggedIn == 1 then it should show a logout button (that prompts the logout screen) and since LoggedIn == 1 all the time it only shows the logout button but when I click it the logout dialog is an empty dialog (normally it would have a logout button).

    Could you have a look at the LoggedIn expression austin?

  • Also I just read the Ludei change log for their new launcher version 1.4.1 http://wiki.ludei.com/cocoonjs:releases#v_141, and it said that:

    • Fixed problem with width and height css attributes

    I wild guess would be that maybe those css problems lead to the scaling issues that Mayfly described?

  • Didn't solve the problem :(

    PS: Can I define when the clay.io sign in window should pop up?

    Because my app has an intro and the window does already pop up in the intro :(

  • Clayio > Dev > your game > setting > API Settings > Uncheck "Always show Clay.io login box on load when a player isn't logged in"

    Now if you make action that needs login(like posting score), the window'll pop up.

  • Hi guys, I've released my first game on clay.io, but im having problems with the cocoon export

    when i export the app doesnt have any clay.io interface in it. I have added the .js files into the zip and changed the index, any further things i could try?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi All,

    Is there any Demo for in app purchase?? How to purchase item in debug mode for testing??

  • Wow, it has been way too long since I last looked here. If it's ever urgent, just email me - austinjkx@clay.io

    Mayfly gigadroid Is that issue fixed in the latest version? clay.io/docs/construct2

    Technically logged in as "Anonymous" is still considered logged in on our end. Use Clayio.clearance == 'clay' instead :)

    Smit08 See the bottom of clay.io/docs/debug for how to purchase in debug mode with fake credentials. Try clay.io/plugins/scirra/payments-example.capx for payments in action (there's some other junk in the capx too - just ignore)

  • Thank you austin..It worked for me....:)

  • If i want to show highscore table, table is loading one sec and then hidden, then i need to show highscore table again and then i can see. only if i show table 2 times it does work...

  • Odd. When is the high score table being shown? Is there a place I can try this out?

  • austin, I'm running into the same type of issue 3division was having testing on chrome and get the following message:

    Javascript Error!

    Uncaught TypeError: undefined is not a function

    localhost:50000/Clay_plugin.js, line 565 (col undefined)

    This is either a bug in Construct 2 or a problem in a third parti plugin or behavior - please report it to the developer!"

    ---

    I downloaded the latest version of the clay.io plugin but get the same issue.

    can you point me in the right direction?

    Thanks

  • austin, I'm running into the same type of issue 3division was having testing on chrome and get the following message:

    Javascript Error!

    Uncaught TypeError: undefined is not a function

    localhost:50000/Clay_plugin.js, line 565 (col undefined)

    This is either a bug in Construct 2 or a problem in a third parti plugin or behavior - please report it to the developer!"

    ---

    I downloaded the latest version of the clay.io plugin but get the same issue.

    can you point me in the right direction?

    Thanks

    I have same problem, when i use layout starts - > show leaderboard

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