Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
I have a repeating animation which is leaving the first frame permanently behind the image. It is such a simple piece of code that I am quite stumped as to what might be causing it.
thomas_oak wrote: ↑Thu Nov 07, 2019 8:45 pm
I have a repeating animation which is leaving the first frame permanently behind the image. It is such a simple piece of code that I am quite stumped as to what might be causing it.
2.0 is a fairly slow dissolve. Do you still get strange behavior if you don't have a dissolve involved?
A random bit of graphic being stuck in many engines happens because you haven't properly cleared the background first. Is 'black' correctly defined?
(Don't take my suggestions as super expert coder advice, I spend most of my time writing text and forget half the code when I'm not actively working on it, so while I can usually figure things out if I have the actual code right in front of me to tinker with, I can still miss the obvious when I'm staring at a code snippet!)
After four hours of going mad with this, I finally worked out what was causing it. And I feel stupid. I had postworked all 33 frames to remove blemishes and was working close up. I didn't realise I had frame 1 as a layer behind all the images. So I was frantically trying to find out why it was happening and it was actually there in the images themselves. What a waste of time.