Every time I define a custom position, or transform for a sprite, each time the sprite is shown it's in a different place.
For example:
Code: Select all
init:
define cen = Position(ypos=900, xalign = 0.5)
Code: Select all
show lune_ at cen
transform cent:
ypos 900
xalign 0.5
And had the same problem. I'll test it with multiple sprites, and they'll all be in the correct position, and then the next time they're shown in the script with that same code, they'll be on the other side of the screen, or very low, or very high. It's so odd, does anyone have any idea what I'm doing wrong?
Literally if I put:
Code: Select all
show lune_ at cen
"..."
hide lune_
show lune_ at cen