Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
nananame
- Regular
- Posts: 72
- Joined: Fri Oct 13, 2017 1:40 pm
-
Contact:
#1
Post
by nananame » Sat Apr 16, 2022 1:14 pm
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?
-
nananame
- Regular
- Posts: 72
- Joined: Fri Oct 13, 2017 1:40 pm
-
Contact:
#2
Post
by nananame » Sat Apr 16, 2022 1:21 pm
Facepalm!
I figured it out...the anchor is set differently. So to fix it, I simply need to add xanchor and yanchor 1.
Users browsing this forum: Google [Bot], TioNick