Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (dr_panther, Ayumi, 7th_zorro), 877 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
snap shot of actual screen. #463676
12/21/16 11:03
12/21/16 11:03
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
What would be the best way to make a screenshot during game of
a part of the screen and save it as an actual picture ? So not a full screenshot but a given part of it ?

any example will be helpfull or a hint in the right direction.


Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: snap shot of actual screen. [Re: Realspawn] #463679
12/21/16 11:38
12/21/16 11:38
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Hi,

What I did was using bmap_for_screen and than bmap_blitpart and bmap_save laugh

(also you can just use (re)set(obj, show); to hide or show panels / interface elements right before/after taking the screenshot, like many other games do)

Last edited by Reconnoiter; 12/21/16 11:41.
Re: snap shot of actual screen. [Re: Reconnoiter] #463680
12/21/16 11:47
12/21/16 11:47
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands

function grab_screen() {

file_for_screen("shot.png",123);
}

this is all needed to create an actuall screen shot so i guess it should have some coordinates to take only part grin


Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: snap shot of actual screen. [Re: Realspawn] #463681
12/21/16 12:33
12/21/16 12:33
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
No I dont think that it is possible with file_for_screen, besides bmap_for_screen allows you to immediately alter the bmap/image instead of needing to open it again which is needed when going the file_for_screen route iirc.

Re: snap shot of actual screen. [Re: Reconnoiter] #463701
12/22/16 00:28
12/22/16 00:28
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline OP

Expert
Realspawn  Offline OP

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
your right I gues i have to study this some more its the last thing
i need to finish a small application laugh


Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1