clayio and playername

Get help using Construct 2

Post » Thu May 23, 2013 7:11 pm

Hi,
I have trouble saving playername, I followed Asteroids in less than 100 events and used the playername code to try to save the name, but it doesn't seem to work? And what do I do when I post to clay.io global text variable or webstorage?
B
7
S
1
G
3
Posts: 27
Reputation: 2,169

Post » Fri May 24, 2013 2:25 pm

What do you need to save the playername for? Are you sure you're logged on?

What are you trying to post?
B
25
S
5
G
3
Posts: 446
Reputation: 5,633

Post » Fri May 24, 2013 3:00 pm

Hi,
trying to save playername so I can post score to clay.io without the clay.io popup, on website game the popup is ok, but it seems a bit slow on android.
B
7
S
1
G
3
Posts: 27
Reputation: 2,169

Post » Fri May 24, 2013 10:35 pm

I've had no probs with Clay.io but I did just use the standard leaderboards. How are you trying to post? What's the code you're currently using?
B
25
S
5
G
3
Posts: 446
Reputation: 5,633

Post » Mon May 27, 2013 6:28 pm

I got it working. Error was in global variable, it was number instead of text.

Thank you
B
7
S
1
G
3
Posts: 27
Reputation: 2,169

Post » Mon May 27, 2013 6:31 pm

I let user write name in textbox and use that name to post score to clay.io, when user wants to submit score, so it doesn't open the clay.io login box everytime the app is started. Although I'll add login button to the game too, so user's can login/create account in clay.io if they want to.
B
7
S
1
G
3
Posts: 27
Reputation: 2,169


Return to How do I....?

Who is online

Users browsing this forum: h1k3, Unconnected and 0 guests