0

So I have some basic code for a game that I decided to work on. I made a couple of functions and such for the game to work. I have run across a problem.

I would like to create the menu(and most of the game) with a video as a background(on a loop) and solid images ontop.

I'm wondering if the solution is to blit the frame first, then blit the images on top of the frames, but I am not sure how it will play out.

I decided to ask the community, as if it didn't work(or if there's an easier way), then I'm back to square one.

  • you would have to read video frame-by-frame (image-by-image) and then you can blit frame as any other image. Problem can be to read video. It may need i.e. module `cv2` or `ffmpeg`. – furas Feb 25 '22 at 16:50
  • Please provide enough code so others can better understand or reproduce the problem. – Community Feb 26 '22 at 05:47

0 Answers0