Hi together,
I want to display my choice buttons side by side for the whole game but i didnt found anything in gui.rpy and screens.rpy. I can change position, size etc. and things like this...
Maybe somebody knows a solution?
thanks for your help!
I want to positioning choice buttons horizontally
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.
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.
-
- Newbie
- Posts: 6
- Joined: Tue Dec 19, 2017 8:15 am
- Contact:
- zankizuna
- Veteran
- Posts: 416
- Joined: Fri May 04, 2012 2:20 am
- Completed: Monochrome Valentine
- Projects: Softwar
- Deviantart: raseru09
- itch: ZanKizuna
- Location: Manilaaaaaaaa
- Contact:
Re: I want to positioning choice buttons horizontally
use hbox!
This shows two buttons in the middle.
Code: Select all
screen myscreen:
hbox:
xalign 0.5 yalign 0.5
textbutton "myfirstbutton.png" action Return()
textbutton "mysecondbutton.png" action Return()
- zankizuna
- Veteran
- Posts: 416
- Joined: Fri May 04, 2012 2:20 am
- Completed: Monochrome Valentine
- Projects: Softwar
- Deviantart: raseru09
- itch: ZanKizuna
- Location: Manilaaaaaaaa
- Contact:
Re: I want to positioning choice buttons horizontally
actually , go replace vbox in screens.rpy/screen choice, into hbox.
-
- Newbie
- Posts: 6
- Joined: Tue Dec 19, 2017 8:15 am
- Contact:
Re: I want to positioning choice buttons horizontally
Hello,
thank you for your answer, it works... (vbox = vertical, hbox = horizontal...)
have a nice day!!
thank you for your answer, it works... (vbox = vertical, hbox = horizontal...)
have a nice day!!
Who is online
Users browsing this forum: Ocelot