[PLUGIN] Clay.io (leaderboards & achievements)

Post your completed addons to share with the community

Post » Thu Feb 21, 2013 7:53 pm

thank you mmoDust, that's just what i need to know.
B
6
Posts: 25
Reputation: 539

Post » Thu Feb 21, 2013 8:04 pm

[QUOTE=mmoDust]if you do not log in the socres will be posted as Anonymous.[/QUOTE]
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 :]
B
20
S
5
G
8
Posts: 325
Reputation: 6,473

Post » Sun Feb 24, 2013 5:14 am

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).



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!
B
24
S
8
G
4
Posts: 208
Reputation: 6,152

Post » Sun Feb 24, 2013 10:01 am

I like.
B
9
S
2
Posts: 100
Reputation: 1,335

Post » Sun Feb 24, 2013 4:14 pm

@austin That looks pretty cool!
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Wed Feb 27, 2013 1:06 am

@Austin.

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?
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Wed Feb 27, 2013 8:07 am

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.
B
24
S
8
G
4
Posts: 208
Reputation: 6,152

Post » Sun Mar 03, 2013 11:21 am

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

Set "Init Function" to: clay_init('GAMEKEY')
B
39
S
12
G
8
Posts: 580
Reputation: 7,108

Post » Sun Mar 03, 2013 11:08 pm

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!
B
24
S
8
G
4
Posts: 208
Reputation: 6,152

Post » Mon Mar 04, 2013 9:28 am

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?
B
39
S
12
G
8
Posts: 580
Reputation: 7,108

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: xoros and 0 guests