I'm trying to implement a scrolling credits screen at the end of my game and tried to keep it as simple as possible. So what I've done is creating an image in photoshop with a transparent background and put all the credits on there (easy to change and edit stuff if needed).
Then I thought I'd go with this simple code line at the end of the game:
Code: Select all
label credits:
$ credits_speed = 25
scene black
show credits at Move((0.5, 1.0), (0.5, -1.0), credits_speed,
xanchor=0.5, yanchor=0)
with Pause(credits_speed+10)
What now happens is, the credits image starts to scroll fine and after the 25 seconds set in 'credits_speed' it stops, which of course is what it should do.
BUT: Let's say I change that value to 60 seconds, what happens is, it just scrolls much slower and stops at exactly the same spot as with 25 seconds, which is in the middle of the credits. So no matter what value I use for the time, it always stops at the exact same spot.
What am I doing wrong here? Is there something I'm missing to tell renpy to keep on scrolling up to a certain point?
Oh and on a side note: The image size of the credits file is 1920x6480, just in case there is a maximum renpy can handle, which I don't think there is.
So if any of you knows what I'm missing here, any help would be greatly appreciated.