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.
-
firecat
- Miko-Class Veteran
- Posts: 540
- Joined: Sat Oct 25, 2014 6:20 pm
- Completed: The Unknowns Saga series
- Projects: The Unknown Saga series
- Tumblr: bigattck
- Deviantart: bigattck
- Skype: bigattck firecat
- Soundcloud: bigattck-firecat
-
Contact:
#2
Post
by firecat » Wed Apr 22, 2015 8:58 am
-
Riverbird
- Newbie
- Posts: 21
- Joined: Wed Feb 11, 2015 2:41 pm
- Deviantart: RiverbirdAlpha
-
Contact:
#3
Post
by Riverbird » Wed Apr 22, 2015 11:24 am
The bit of the documentation you want is here:
http://www.renpy.org/doc/html/style_pro ... properties
XPos and YPos are coordinates in pixels from the top left of the screen, to the ANCHOR of the image.
XAnchor and YAnchor set the coordinates of the anchor from the top left of the image.
If you set YAnchor to the height of the image, then the Ypos to the (screen height - height of the text box), you'll have her in the right place. (Assuming the textbox is of fixed size.)
You can also set these numbers proportionately by using non-integer values: setting yanchor to 1.0 makes it at the bottom of the image, 0.5 would be half way down and so forth.
Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot]