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
30
S
6
G
1
Posts: 39
Reputation: 1,646

Post » Wed Apr 05, 2017 5:31 pm

@Mubot
I put an updated link in my post
B
100
S
38
G
134
Posts: 5,551
Reputation: 85,315

Previous

Return to How do I....?

Who is online

Users browsing this forum: Invidel and 4 guests