You use a lot of animations in your game, but you seem to have forgotten to use 'start_image' in the movie, when it is not used, glitches occur during transitions, I always find this annoying, and considering the amount of animations in your game...
Anyway, you can read about it in the Renpy documentation,
You must be registered to see the links
, but here is an example of how it is used:
image video001 = Movie(size=(1920, 1080), xpos=0, ypos=0, xanchor=0, yanchor=0, play="images/video001.webm",
start_image="images/video001_start.jpg",
image="images/video001.
jpg")
Summary:
- start_image:
- An image that is displayed when playback has started, but the first frame has not yet been decoded.
- image:
- An image that is displayed when play has been given, but the file it refers to does not exist. (For example, this can be used to create a slimmed-down mobile version that does not use movie sprites.) Users can also choose to fall back to this image as a preference if video is too taxing for their system. The image will also be used if the video plays, and then the movie ends, unless group is given.
I didn't check your code, I just assumed that you don't use 'start_image' because of what I saw in your game, and if that's the case, I hope you test this and see the huge difference this adjustment makes.