[PLUGIN] Clay.io (leaderboards & achievements)

Post your completed addons to share with the community

Post » Mon May 12, 2014 11:22 pm

@BluePhaze, I emailed him at the beginning of May (asked about the option of disabling the clay.io plugin to enable gamejolt export without the clay login faff) and he replied within a couple of hours. I haven't seen any reply from him here for a while and I get the impression he doesn't frequent the forums any more.
...busy learning Unity - real lights etc!
(but c2 is easily the quickest way to make 2d html5 games)!
B
60
S
15
G
51
Posts: 2,086
Reputation: 33,692

Post » Mon May 19, 2014 12:43 pm

oh, so I'm not the only one having problem with clay.io plugin. I just asked this on clay.io community and then go here to see if I'm the only idiot having problem with clay.io leaderboard.

do anyone have an alternative to clay.io we can use while waiting for this problem is solved?
B
40
S
12
G
2
Posts: 167
Reputation: 5,061

Post » Tue May 20, 2014 4:12 pm

@robert420 @austin
I have not been able to find this 'when modals open' on my C2 events. Am I missing something?
Also does anyone know if there is a way to stop Clay.io automatically opening the login page?
On my latest builds as soon as you open the app it prompts a login rather than letting you goto options and sign in?
Cheers
B
32
S
9
Posts: 156
Reputation: 3,521

Post » Tue May 20, 2014 8:44 pm

@Mayfly, I asked Austin that very question a few weeks ago because I didn't want my game in NG to use the Clay login. He told me there was no way to isolate the plugin so all I did was set up my events so they would not break and then delete the clay plugin before exporting the game - then press the undo button. Worked OK if a little less than ideal.
...busy learning Unity - real lights etc!
(but c2 is easily the quickest way to make 2d html5 games)!
B
60
S
15
G
51
Posts: 2,086
Reputation: 33,692

Post » Wed Jun 04, 2014 11:57 am

Clay plugin bug report. On W8.1 I receive a JavaScript error when the game starts in IE11; it works correctly inside Chrome and Firefox.

clay javascript failure.png
You do not have the required permissions to view the files attached to this post.
...busy learning Unity - real lights etc!
(but c2 is easily the quickest way to make 2d html5 games)!
B
60
S
15
G
51
Posts: 2,086
Reputation: 33,692

Post » Sun Jun 08, 2014 8:16 pm

Doesn't C2 come with Clay packed with it? Doesn't seem like them to per-install a plugin that no longer works. or maybe they don't anymore I haven't checked each update. I'm really not sure how it works I'm just looking for the best way to make an online leader board and it sounds like clay is no longer it.

Someone please let me know thanks.
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
23
S
9
G
1
Posts: 326
Reputation: 3,349

Post » Mon Jun 09, 2014 3:30 pm

Clay keeps getting less and less functional for me, is there anyone trying to fix it?
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Thu Jun 12, 2014 8:45 pm

I got everything working but the Facebook add friends function and the tweet function. I did manage to get all the set up to actually add it to Facebook but I'm just getting a blank white page. No errors and I can see the Clay.io icon at the bottom but my page is not visible.

I'm not sure if it's C2, Clay or both...

Let's keep each other post with any fixes,

Thanks
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
23
S
9
G
1
Posts: 326
Reputation: 3,349

Post » Sat Jun 21, 2014 10:55 pm

Launching my game with the clay.io plugin enabled, I get the following javascript error (I'm using Node Webkit):

TypeError: Object #<Object> has no method 'fetch'
at Object.n.exports.checkForUpdates (http://clay.io/api/api.js:45:174)
at Object.n.exports.store (http://clay.io/api/api.js:45:110)
at c.d (http://clay.io/api/api.js:219:363)
at c.emit [as $emit] (http://cdn.clay.io/socket.io.js:8:4894)
at c.onPacket (http://cdn.clay.io/socket.io.js:8:20419)
at d.onPacket (http://cdn.clay.io/socket.io.js:8:16787)
at c.onPacket (http://cdn.clay.io/socket.io.js:8:10730)
at c.onData (http://cdn.clay.io/socket.io.js:8:10467)
at WebSocket.websocket.onmessage (http://cdn.clay.io/socket.io.js:8:21443)

Anyone got a solution for this?

I only need clay.io for achievements.

EDIT: I can't even access the script stored at http://clay.io/api/api.js, so it could be that. Which makes me wonder: What about being offline? Surely, an unreachable script shouldn't crash the whole game.
B
6
S
2
Posts: 206
Reputation: 1,685

Post » Wed Jun 25, 2014 8:20 am

I'm having some trouble with the Leaderboards. I can submit high scores and see them on my Clay.io account, but they won't load up on my game. When I open the page to test it out, I get this message:
-----
Javascript error!
TypeError: Clay.Leaderboard is not a constructor
http://localhost:50000/Clay_plugin.js, line 689 (col undefined)

This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.
-----
I'm not very experienced with coding so I'm not sure if I'm doing something wrong, or if it's a legitimate bug.
B
3
Posts: 1
Reputation: 305

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: gamecorpstudio and 1 guest