How do I allow people to tweet their high scores

Get help using Construct 2

Post » Sat Sep 05, 2015 2:03 pm

Is there a way for people to tweet their high scores?
B
11
S
2
Posts: 93
Reputation: 841

Post » Sat Sep 05, 2015 2:17 pm

@glacierstudios

Add the Browser object

Add a Sprite to act as a button, then on mouseclick or touch of the sprite add the Action: Browser->Open URL in a new window

Set URL to:
"https://twitter.com/intent/tweet?text=Just got a high score " & HighScore

where HighScore is the variable where you store your high score


For more options with Twitter e.g. Follow, look here: https://dev.twitter.com/web/intents
Find all the Construct 2 games that were on Steam Greenlight here
B
35
S
9
G
7
Posts: 467
Reputation: 6,864

Post » Sat Sep 05, 2015 9:37 pm

Thank You
B
11
S
2
Posts: 93
Reputation: 841


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests