This site is no longer active and is available for archival purposes only. Registration and login is disabled.

How do I generate png snapshots from gapidraw?


How do I generate png snapshots from gapidraw?

Postby firestorm » Dec 10, 2002 @ 2:06am

hi, I was wondering if somebody could help me.I have written a game in gapidraw. I would like to create an animated gif of some moments of the game. How can I at run time catch snapshots of the screen and write png/etc on the fly?

Thank you for your help..
firestorm
firestorm
 


Postby ppcStudios » Dec 10, 2002 @ 3:51pm

I did about what you are asking in pocketPachisi by using CGapiSurface::SaveSurface on each action phase in the game (dice roll, pawn movement, etc). This saves the surface as bitmap. After that its a simple process of loading them into an animated gif.

-- GR
User avatar
ppcStudios
pm Insider
 
Posts: 744
Joined: Aug 23, 2002 @ 3:53pm
Location: Canfield, Ohio


thanks!

Postby firestorm » Dec 10, 2002 @ 9:47pm

firestorm
 


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron