How do I take and post a screenshot?

Get help using Construct 2

Post » Sat Mar 28, 2015 9:20 pm

Is there anyway, that I could make a button that would take a screenshot, which is then posted as an image on twitter? Something like what Crossy Road does or RPG Clicker.

I'd like to do that as a method of players sharing their scores, as there are multiple values. I've looked through the events but can't seem to find anything.

Thanks everyone!
B
37
S
5
G
1
Posts: 155
Reputation: 2,140

Post » Sat Mar 28, 2015 9:27 pm

https://www.scirra.com/manual/125/system-actions

Specifically:

Snapshot canvas
Take a screenshot of the current display. This triggers On canvas snapshot when the snapshot is ready, and the resulting image can be accessed with the CanvasSnapshot system expression. This can then be loaded in to a sprite or tiled background, sent to a server, or opened with the Browser object in a new tab.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
126
S
29
G
73
Posts: 5,098
Reputation: 52,016

Post » Sun Mar 29, 2015 4:23 am

Wicked, thanks a lot!
B
37
S
5
G
1
Posts: 155
Reputation: 2,140

Post » Wed Apr 29, 2015 12:16 pm

Once you have the screenshot, how did you post it on Facebook/Twitter?
B
23
S
7
G
1
Posts: 186
Reputation: 2,691


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, RetroSpock and 13 guests