Open seisatsu opened 3 years ago
PyGame Movie is actually defunct. This should be implemented some other way.
It is probably easiest to implement this by using OverlayManager to swap through a directory full of frame images at a certain FPS with the help of TickManager. Audio can be played alongside if necessary. This can be wrapped as its own function which handles the setup.
All of the existing methods for playing a proper video file in Python are really bad actually.
An FFMPEG-based script for converting a video file into frames, audio, and a proper function call can be shipped with the engine as a utility.
Pygame supports mpeg1 video. Support overlaying a video onto the screen.