So I have a camera fly-by and I would like to save the frames from the Game Engine to make a movie.
I have this code from Mike Pans old mountain fly-by scene, but it does not seem to work in 2.65. Or maybe I am doing something wrong, but.
Should this work?
import Rasterizer cont = GameLogic.getCurrentController() obj = cont.getOwner() sep = "" num = str(obj.counter) filename = sep.join([num,".BMP"]) Rasterizer.makeScreenshot(filename) obj.counter += 1