When to take a screen snap shot?

Blitz3D Forums/Blitz3D Programming/When to take a screen snap shot?

Jager(Posted 2004) [#1]
Ok, I'm creating AVI file from group of screen snap shots but cannot get the timing correct. Say, if I'm running at 30 FPS, when should I grab a snapshot using the millisec() function? or maybe I should be using another?

Thanks


eBusiness(Posted 2004) [#2]
You should grab an image for every frame, decide how many times you will run the engine logics per frame, more for less frames a sec. I assume you don't need to catch the frames realtime, so turn on all the funky rendeering options.


Gun Ecstasy(Posted 2004) [#3]
I'm pretty sure that you take a shot every 33.333333333333333333333333333333 milliseconds. ;)


WolRon(Posted 2004) [#4]
If the AVI is not being collected from realtime footage, then just discard the Millisecs() timer all-together and just update your game logic by 33.333 milliseconds delta time (and like eBusiness said, turn on all of the effects).