Specifically, I have 2 character sprites (different characters) that I am trying to make appear with a little bit of an up/down movement. Character A's sprite is 455 x 575 while Character B's sprite is 455 x 600. My VN has a resolution of 800 x 600 (Yes I am working in the stoneages haha :'D).
Here's my code for their animations:
Code: Select all
transform centersadbobalign:
xalign 0.5
yalign 0.0
linear 0.3 yalign 0.5
linear 0.2 yalign 1.0
However, changing the code to:
Code: Select all
transform centersadbobpos:
xalign 0.5
ypos 0
linear 0.3 ypos 300
linear 0.2 ypos 600
I also noticed that adding a zoom for the transform centersadbobalign allows the transform to work on Character B's sprite.
Im assuming that the issue is that Character B's sprite is the same height as the game window, since it's fixed if I zoom in/out, but I dont understand why? Why is it that if I change it to ypos (moving the same amount of pixels I would in the other transform) it works, but yalign doesnt?
(I'm also using Renpy 6.99.6.727)