Ren'Py How to avoid frame flashing in Ren'Py games

finndem

Member
Aug 13, 2020
285
169
I'm pretty far off from having to worry about this, but it's something I've noticed occasionally when playing Ren'Py games: when moving from animation to animation, games sometimes flash the last still frame for a second before loading the second animation. Is there a way to avoid that happening, other than making one long animation so there's no transitional moment?
 

finndem

Member
Aug 13, 2020
285
169
Are you using movies or are you showing frame by frame(png sequence)?
Movies, I think. To be clear, this isn't my work--I'm seeing it in games I play. I want to eventually get to this point, but I haven't even started making animations yet, much less put them in games. Edit: Future-proofing is what I'm looking for. Readiness for when I get to this point.
 
Last edited:

Unknown White Raven

Newbie
Game Developer
Sep 3, 2024
38
51
Oh okay. From what I now this should solve it.
When declaring animations trailing each other do it like this:
Movie(play="my_movie1.webm",group = "1")
Movie(play="my_movie2.webm",group = "1")
the group argument allows the movies in the same group to be transitioned seamlessly.
We also had transition issues with movies and this solved it, but it would be better to try and see for yourself.
 
  • Like
Reactions: finndem