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
60
S
37
G
16
Posts: 239
Reputation: 14,059

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
60
S
37
G
16
Posts: 239
Reputation: 14,059

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
60
S
37
G
16
Posts: 239
Reputation: 14,059

Post » Thu Jul 16, 2015 11:57 pm

@roteam
use cranberry share plugin
and the action app share
that's all
B
50
S
17
G
8
Posts: 816
Reputation: 8,579

Post » Sat Jan 06, 2018 3:06 pm

As a newbie I will use CocoonShare. The learning continues...
B
10
S
2
Posts: 3
Reputation: 530

Post » Wed Jan 10, 2018 3:08 pm

FYI, I got my plugin to work and put the app on google play!
B
10
S
2
Posts: 3
Reputation: 530

Post » Wed Jan 10, 2018 6:13 pm

@SiddiqTech

Hi can you tell me how you add " Share Button" in your C3 project... Please show me screenshot or write for me the lines :)
B
7
S
1
Posts: 7
Reputation: 406


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], LukeW and 8 guests