TransitionAnimation image positions
Posted: Tue Jan 22, 2008 12:49 am
...I lied, I had another problem after all. .-.
Okay, so I'm using TransitionAnimation, and I want to create the effect of a sword slash. I have this as the script:
But when I run it, something strange happens with the images. The images display, and the transitions run properly, but the image placement is... a little weird. They display a little bit upwards of their proper position, maybe about 50px up; then when the transition begins to run, they go back down to the center. All three images do this. Positioning them with something like this:
doesn't work; it still does the same thing.
The images are all 1024x768 in size, and I'm positive they're lined up correctly when I look at them in an image editor. The Ren'Py screen they're appearing on is 1024x600, but that shouldn't be a problem, should it...?
Okay, so I'm using TransitionAnimation, and I want to create the effect of a sword slash. I have this as the script:
Code: Select all
$ shortflash = Fade(.13, 0, .13, color="#ffffff")
$ shortdissolve = Dissolve(0.15)
image rightslash1 = anim.TransitionAnimation("rightslash1.png", 0.1, shortflash,
"rightslash2.png", 0.2, shortdissolve,
"rightslash3.png", 0.1, shortdissolve,
"#000000")
Code: Select all
$ center = Position(xpos=0.5, xanchor='center', ypos=0.5,
yanchor='center')
The images are all 1024x768 in size, and I'm positive they're lined up correctly when I look at them in an image editor. The Ren'Py screen they're appearing on is 1024x600, but that shouldn't be a problem, should it...?