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.
init -1:
image anim:
"images/one.png"
pause 0.2
"images/two.png"
pause 0.2
"images/three.png"
pause 0.2
repeat 2
screen doit:
add anim xpos 100
# The game starts here.
label start:
show anim
show doit
"Hello"
return
The result is what you see in the attached image.
The white arrow image is my animated image, and shows up if I use show anim directly. When show doit happens, the blank outline of Eileen shows up, but I wanted my animated image to show up at the specified position.
Can I not add in an animated image through a screen? Or is something wrong with how I set up my code?
Okay, it's my bad. Sorry! I was missing the keyword show screen doit. Although it's kinda odd that Eileen just shows up if I didn't have the screen keyword, it kinda threw me off.
sparkleface wrote: ↑Mon Dec 25, 2017 6:47 pm
Okay, it's my bad. Sorry! I was missing the keyword show screen doit. Although it's kinda odd that Eileen just shows up if I didn't have the screen keyword, it kinda threw me off.
As far as i know, the Eileen image shows up when the image, which is shown, doenst exists or cant be found.