Partial Screenshot

Get help using Construct 2

Post » Tue Feb 07, 2017 11:01 am

Thank you
B
9
S
3
Posts: 146
Reputation: 1,150

Post » Wed Apr 05, 2017 5:15 pm

R0J0hound wrote:The catch is with any fullscreen scaling the image will still be the size of the screen.

If you use the paster or canvas object you can do this instead:
https://dl.dropboxusercontent.com/u/542 ... aster.capx

1. A snapshot is done
2. The image is loaded into a Sprite that covers the view.
3. That Sprite is pasted to a paster object that is positioned to the spot you want and with the image resolution you want.
4. The paster.imgUrl expression will give a base64 URL just like the canvassnapshot expression to save the result.


@R0J0hound
the link for this example isnt working.... any chance ya might have it laying around?

im looking to screen shot a specific part of screen, not the whole thing ....

thanks!
B
27
S
5
G
1
Posts: 33
Reputation: 1,447

Post » Wed Apr 05, 2017 5:31 pm

@Mubot
I put an updated link in my post
B
92
S
32
G
110
Posts: 5,295
Reputation: 71,501

Previous

Return to How do I....?

Who is online

Users browsing this forum: Armench, dop2000, Jackriduk, kiki4construct and 23 guests