I am still working in renpy 7.3.5, so apologies if this behavior has changed since then (I'd be glad to know about that fact, then!).
simplified example:
"girl" is an image which is normally intended to by shown at a zoom factor of 0.5, so that we have enough resolution reserve to zoom in.
Code: Select all
transform distance:
zoom 0.25
transform full:
zoom 0.5
label test:
show girl at left, distance
"You see a girl in the distance."
show girl at left, full
"You walk to her."
show girl at left, full
"You start talking to her."
Now I thought I'd give it a bit of movement for walking towards her:
Code: Select all
transform distance:
zoom 0.25
transform full:
zoom 0.5
label test:
show girl at left, distance
"You see a girl in the distance."
show girl at left, distance:
zoom 1.0
linear 2.0 zoom 2.0
show girl at left, full
"You walk to her."
Well actually no, it does not: the last "show girl at left, full" resets the character image to 1/4 of it's intended size of 0.5, the zoom level appears now to be 0.125!
Why don't the transforms applied to the image reset when the last "show girl at left,full" occurs? Can I reset them manually? Is my zoom in effect correct at all? Could I make it more elegant and define a transform for it instead?
Edit:
Damnit, even doing a simple "show girl at left, full with dissolve" uses the wrong zoom level (4 times as big instead)...
Should I not set the zoom level with transforms at all? Other transforms set yanchor and ypos in addition to zoom, so bundling that in a single transform seemed elegant to me. If not in a transform, where to set zoom instead?
I certainly don't want to write
Code: Select all
show girl at left:
zoom 0.5
Ideas?