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.
-
Mirrodin
- Regular
- Posts: 104
- Joined: Sun Mar 19, 2017 2:56 pm
-
Contact:
#1
Post
by Mirrodin » Tue Apr 03, 2018 12:50 pm
Hi guys,
It's about changing the xpos of the text in the dialogue bar in game (actually for fight session)
This is the one which I need to change
Code: Select all
define gui.textbox_yalign = 1.0
define gui.dialogue_xpos = 250
define gui.dialogue_ypos = 20
But when I use, this (in label):
My code is ignored, what is the right way to do this ?
Thanks
-
Mirrodin
- Regular
- Posts: 104
- Joined: Sun Mar 19, 2017 2:56 pm
-
Contact:
#2
Post
by Mirrodin » Tue Apr 03, 2018 4:19 pm
A brief answer for me later :
define top = Character(None, what_yalign=0)
-
Qlara
- Regular
- Posts: 80
- Joined: Fri Nov 28, 2014 10:22 am
- Completed: Carmilla
- Skype: kantonija
- itch: visualgothic
- Location: Berlin
-
Contact:
#3
Post
by Qlara » Tue Apr 03, 2018 5:43 pm
try this:
Code: Select all
define top = Character(None, what_xpos=300) # plug desired values in for 300