Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Quad, 1 invisible), 3,095 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Something between file_for_screen and bmap_for_screen #206231
05/12/08 08:52
05/12/08 08:52
Joined: May 2006
Posts: 133
ME
Mysterious Offline OP
Member
Mysterious  Offline OP
Member

Joined: May 2006
Posts: 133
ME
Hi there

I want to take a screen shot in my game but I want to manage the result image before I save it to the hard disk,

I used "file_for_screen" in first place but I have to call wait(1) before I can handle the result image...
so
it goes like this:
file_for_screen(whatsoever)
wait(1)
bmap_create

so after all I use two "slow" function and a wait() between them that make the game halt for a second....

I need a function that return a BMAP in first place so I can manage the image and after I finished I can save the image when the player press save game

.................
I tried to use the bmap_for_screen but it only work with 16bit (I need 32bit) and BMP or PCX (I need PNG)

so after this long description of the problem... which I hope that I made it clear

is there anyway to grab an image of the screen that I can save it later as 32bit PNG....

sorry for my bad English
any help is appreciated

Mysterious \:\)

Re: Something between file_for_screen and bmap_for_screen [Re: Mysterious] #206416
05/13/08 12:19
05/13/08 12:19
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
use a render target for one frame.

Re: Something between file_for_screen and bmap_for_screen [Re: Joey] #206583
05/14/08 13:18
05/14/08 13:18
Joined: May 2006
Posts: 133
ME
Mysterious Offline OP
Member
Mysterious  Offline OP
Member

Joined: May 2006
Posts: 133
ME
Ok, may you provide a simple example of how to use it?

thanks


Moderated by  HeelX, Spirit 

Gamestudio download | 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