Page 1 of 1

Show and renpy.show positioned differently

Posted: Sat Apr 16, 2022 1:14 pm
by nananame
I'm doing a very simple test and can't figure out why this is...
If I have:

Code: Select all

show rightchar:
    xpos 1200
    ypos 350
The character shows up at one location.
If I replace that code with:

Code: Select all

$renpy.show ('rightchar', at_list=[Position(xpos=1200,ypos=350)])
The character shows up much higher and to the left.

Question is - why?
Is this expected behaviour? Is there something I should do to make it act the same?
Or should I just expect the same discrepancy and compensate for it?

Re: Show and renpy.show positioned differently

Posted: Sat Apr 16, 2022 1:21 pm
by nananame
Facepalm!
I figured it out...the anchor is set differently. So to fix it, I simply need to add xanchor and yanchor 1.