Facebook

Discussion and feedback on Construct 2

Post » Thu Oct 27, 2011 10:49 am

Guys,

Any new tutorial or tip for the new Facebooks functions ?

Cheers
"keep calm we have giant robots!"
B
21
S
5
G
4
Posts: 94
Reputation: 3,155

Post » Thu Oct 27, 2011 1:50 pm

Yup! Ashley has updated the how to make a facebook game tutorial with an overview of the plugin.
Image Image
Scirra Founder
B
124
S
37
G
25
Posts: 3,945
Reputation: 44,897

Post » Thu Oct 27, 2011 4:06 pm

I couldn't make a high-score board using the "request high-score board" option.. how do I do it exactly?

I created a text object then put it to receive the data from the high-score, but not only it shows my score as 0 but it only shows 1 name..
B
106
S
35
G
37
Posts: 796
Reputation: 25,211

Post » Thu Oct 27, 2011 4:11 pm

'On hi-score' triggers once for each score in the score board after a 'request hi-score board' action.

E.g. if you have 5 top scores, 'on hi-score' triggers 5 times. You have to append to a text object's text (or some other progressive way), otherwise if you just set the text object's text you'll overwrite each score and end up only showing one score.

Have you sumbitted a non-zero score before showing the hi-score board? It won't count as submitted until the 'on score submitted' trigger runs, so if you request hi-scores at the same time you submit a score your new score probably won't show up. Request the hi-score board in 'on score submitted' instead.

Also note only you and your friend's hi-scores show up - that's how facebook works. You won't see scores for anyone who's not friends with you on facebook.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Thu Oct 27, 2011 4:11 pm

Ashley told us on IRC that the high-score displayed was the high scores between you and your FB's friend playing the game.

Edit: Ninja'd by the Master ^^Kyatric2011-10-27 16:12:34
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Thu Oct 27, 2011 7:29 pm

Oooh, I think I get it.. I'll try it out, thanks!
B
106
S
35
G
37
Posts: 796
Reputation: 25,211


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 10 guests