Recently, I wanted to have a displayable character image move across the screen while changing size.
"No problem!" says I, "while FactorZoom is the suggested method for dealing with character images, the plain zoom function explicitly supports non-opaque elements, I bet it can do it!"
It took a bit of noodling, and adjusting my preconceptions- ("Ohh... I see! the first tuple is really just 'the side of the area into which the crops of the second and third are scaled in time")
(I'm aware this is a back-assward way t accomplish the desired effect, but I only have to do it ONCE, and... I don't think any other current renpy function does it.)
'cept it's being obstinate. When opaque=True, it scales and animates politely as can be. But when opaque=False, the zoom... does not move, as if both the second and third tuples were identical. (or, probably more accurately, as if it were failing to tween from second to third.)
This is my current test code, using a 400x155 image.
Code: Select all
show sam1 at Zoom ((400,400),(0,0,400,155),(0,0,200,100),8.0,opaque=False)
As for me? I'm going back to a simple Move- the scaling effect was a semi-subtle one, I can live without it.