• Advertisement
Sign in to follow this  

using SDL to record window

This topic is 3592 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, has anyone tried to record the window in SDL? What im trying to do is to record the images displayed on the surface(window) being displayed so i can play it back at a later date. Thank you

Share this post


Link to post
Share on other sites
Advertisement
Are you using an event/messaging system as it is trivial to have a playback feature with these types of systems as you just record the events and replay them.

Share this post


Link to post
Share on other sites
I agree with dmail. I would try to save the game state at the beginning of where you want to begin recording and record all of the events that happened and when. Then you can re-simulate the game events to create playback.

Trying to save the graphical output at each step would be too resource heavy.

Share this post


Link to post
Share on other sites
Thanks for yr reply.
the program i was trying to do is to record the live images coming from the camera so i dont think i can use the event messaging method

Share this post


Link to post
Share on other sites
Are you just trying to record a video of your game running, or are you trying to implement an instant replay feature?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement