Insert a code component and put it beneath all of your stimulus components. In the Every frame
tab, put this:
# store an image of every upcoming screen refresh:
win.getMovieFrame(buffer='back')
In the End routine
tab, put something like this:
# combine all of those frames in a single movie file:
win.saveMovieFrames(fileName='some file.mp4')
You probably want to comment out those lines when collecting data, as it could cause delays. i.e. just use this once to produce your demo movie, and then disable it when running actual subjects in your experiment
Regards,
Michael