Cannot show animated image using screen?
Posted: Mon Dec 25, 2017 12:58 pm
I have this:
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?
Code: Select all
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 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?