[PLUGIN] Clay.io (leaderboards & achievements)

Post your completed addons to share with the community

Post » Sat Jul 27, 2013 12:02 am

@KazaaMafia - the "Successful Payment" condition will be triggered and some expressions will be set with info about the payment. See http://clay.io/docs/construct2 (Payment section)
B
24
S
8
G
4
Posts: 208
Reputation: 6,152

Post » Sun Jul 28, 2013 6:17 am

The popup does not use the full screen size on my Nexus 4 using CocoonJS :(
If I test it in browser it works normally
B
3
Posts: 5
Reputation: 335

Post » Tue Jul 30, 2013 9:02 pm

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

B
32
S
9
Posts: 156
Reputation: 3,521

Post » Wed Jul 31, 2013 7:30 am

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?
B
39
S
9
G
4
Posts: 162
Reputation: 6,494

Post » Wed Jul 31, 2013 7:35 am

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?
B
39
S
9
G
4
Posts: 162
Reputation: 6,494

Post » Wed Jul 31, 2013 12:56 pm

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 :(gigadroid2013-07-31 12:58:36
B
3
Posts: 5
Reputation: 335

Post » Thu Aug 01, 2013 1:37 am

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.
B
23
S
8
G
1
Posts: 172
Reputation: 2,778

Post » Wed Aug 07, 2013 11:18 am

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?
B
5
S
1
Posts: 4
Reputation: 331

Post » Sun Aug 11, 2013 6:27 pm

Hi All,
Is there any Demo for in app purchase?? How to purchase item in debug mode for testing??
B
14
S
2
G
4
Posts: 43
Reputation: 3,170

Post » Wed Aug 21, 2013 9:12 am

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

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

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

@Smit08 See the bottom of http://clay.io/docs/debug for how to purchase in debug mode with fake credentials. Try http://clay.io/plugins/scirra/payments-example.capx for payments in action (there's some other junk in the capx too - just ignore)
B
24
S
8
G
4
Posts: 208
Reputation: 6,152

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests