PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

How do I generate png snapshots from gapidraw?

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
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
firestorm · 10 Dec 2002, 20:47 UTC — thanks!
it works a treat! thanks
firestorm