How do I add share button

Get help using Construct 2

Post » Sat Jan 31, 2015 10:02 am

So basically I want the game to take a screenshot of the gameover screen and when you press the share button something like this happens(photo)
You do not have the required permissions to view the files attached to this post.
B
14
S
3
G
1
Posts: 69
Reputation: 950

Post » Sat Jan 31, 2015 3:41 pm

There are a lot of ideas, to how to share, to how to do something..

Try to see this:
scirra.com/tutorials/927/twitter-share-tweet-button-browser-object
and this:
scirra.com/tutorials/908/facebook-share-button-php

Maybe you solve your "problem"! : -)

Cheers
B
52
S
32
G
13
Posts: 241
Reputation: 11,831

Post » Sat Jan 31, 2015 3:52 pm

@odiusfly, thank you but this is not quite what I needed, I needed one button that could share across all aps(twitter, fb , whatsapp, instagram, etc.). But thank you anyways.
B
14
S
3
G
1
Posts: 69
Reputation: 950

Post » Sun Feb 01, 2015 11:03 pm

Look, to do this, you can make something by yourself.. I don't think, to there is some automatic "share box window", plugin whatever.


My opinion:

Inside construct, create first your button, for example: "sharebox", somewhere in corner, center, any position you want.
Then create a "box window" (design it before) with all graphics+buttons, and put this at center for example..
Now, create your code for any buttons separately and when you press the "sharebox" button, the "box window" will open with all share buttons together, to press any button you want.

I think this is the conceivable way.

Cheers.. : -)
B
52
S
32
G
13
Posts: 241
Reputation: 11,831

Post » Sun Feb 01, 2015 11:09 pm

The screenshot is from an android game somewhere on store? Maybe this "share box" is automatically inside the engine which use this game.
Maybe there is a plugin in construct 2, maybe not! : -)
B
52
S
32
G
13
Posts: 241
Reputation: 11,831

Post » Thu Jul 16, 2015 11:57 pm

@roteam
use cranberry share plugin
and the action app share
that's all
B
45
S
16
G
8
Posts: 792
Reputation: 8,306


Return to How do I....?

Who is online

Users browsing this forum: Lordshiva1948 and 47 guests