Hi, I'm super new here, but I think I'm in the right place to ask? I've made a custom textbox for a game that I made sure to save as having a width of 720px, but when I've booted the game up, the textbox is just centered and clearly not the right width to fill the bottom part of the window. I've gone through the screens and gui menus, tried changing padding, xalign, yalign, etc to absolutely no success. Since tutorials for this sort of thing seem to only apply to legacy versions of Renpy now, I haven't had any luck trying to follow along with those. If someone could point me in the right direction, that would be incredibly helpful!
-Lumi
Custom textbox width issues?
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.
- erickcire95
- Regular
- Posts: 33
- Joined: Tue Dec 26, 2017 7:38 pm
- Contact:
Re: Custom textbox width issues?
What is exactly what you are looking for? Do you want the textbox to fill the window's width? If that's the case, then you are making it shorter than needed, your game's window is not 720 pixels width.
Open your gui.rpy file, around line 12 there is the "X" here is the number of pixels width of your game. that's the width you are looking for, not 720px.
So you'll have to re-make the textbox with the same width as your game window.
Open your gui.rpy file, around line 12 there is
Code: Select all
gui.init(X,Y)
So you'll have to re-make the textbox with the same width as your game window.
-
- Newbie
- Posts: 2
- Joined: Wed Jan 17, 2018 4:07 pm
- Tumblr: LumiNinja
- Deviantart: LuminousIceNinja
- Contact:
Re: Custom textbox width issues?
Thank you so much for the assistance! Got the width/height mixed up, problem solved!erickcire95 wrote: ↑Wed Jan 17, 2018 9:33 pm What is exactly what you are looking for? Do you want the textbox to fill the window's width? If that's the case, then you are making it shorter than needed, your game's window is not 720 pixels width.
Open your gui.rpy file, around line 12 there isthe "X" here is the number of pixels width of your game. that's the width you are looking for, not 720px.Code: Select all
gui.init(X,Y)
So you'll have to re-make the textbox with the same width as your game window.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]