Taking videos

Blitz3D Forums/Blitz3D Programming/Taking videos

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well then...instead of taking just one screenshot, make your program to take a screenshot each frame, and save it directly to the file....

just wondering if that wouldn't take a lot of the computers CPU?

I use this just for recording little clips for presentations in the intro...

i'll give you some hints that you can follow....

CopyRect 0, 0, GraphicsWidth(), GraphicsHeight(), 0, 0, BackBuffer(), ImageBuffer( Image )

Remember that it may be frontbuffer() instead of backbuffer(). depends in what you're using.

Then you can save the image to the file.

The next thing you'll need is to make a code that can recognize each image from the file, and draw them on your screen...you'll need millisecs() command to control the time for the next image to be drawn

Like: period = Millisecs()

if millisecs() > period + 500 then
-> Draw the next image



and that's it.....easy to talk but with hard work you'll do it :P