I'm blanking really bad on this one.
I'm editing the pre-made screens. Two things I'm trying to accomplish.
1. I'd like to center the "About" screen's contents.
2. I want to remove the screen's title. (So for About, I want to remove the word About in the top-left corner.)
I feel like I'm overlooking something really simple.
I've provided an image as well.
Thanks in advance
Editing About Screen
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.
- Per K Grok
- Miko-Class Veteran
- Posts: 882
- Joined: Fri May 18, 2018 1:02 am
- Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
- itch: per-k-grok
- Location: Sverige
- Contact:
Re: Editing About Screen
Find the following code in screens.rpy
Code: Select all
screen about():
tag menu
## This use statement includes the game_menu screen inside this one. The
## vbox child is then included inside the viewport inside the game_menu
## screen.
use game_menu(_("About"), scroll="viewport"):
style_prefix "about"
vbox:
1. under 'vbox:', add 'xpos 200' (or what ever number give you a good result)
2. remove 'About' from 'use game_menu(_("About"), scroll="viewport"):'
- Westeford
- Regular
- Posts: 151
- Joined: Mon Jun 19, 2017 4:43 pm
- Completed: 12 Hours to Die
- Projects: Project Premonition
- itch: westeford
- Location: United States
- Contact:
Re: Editing About Screen
Thank you for your reply. My second problem is resolved. The solution to my first problem can work, but is there a way to put it in the absolute center? (I'm kinda picky about that kind of thing.) Nevertheless, thank you for your help.Per K Grok wrote: ↑Sat Aug 11, 2018 5:16 pm1. under 'vbox:', add 'xpos 200' (or what ever number give you a good result)
2. remove 'About' from 'use game_menu(_("About"), scroll="viewport"):'
- MaydohMaydoh
- Regular
- Posts: 165
- Joined: Mon Jul 09, 2018 5:49 am
- Projects: Fuwa Fuwa Panic
- Tumblr: maydohmaydoh
- Location: The Satellite of Love
- Contact:
Re: Editing About Screen
Using at truecenter instead of xpos 200 will place it in the middle of the screen.
You could also use align (0.5, 0.5) so you can adjust the positioning slightly if needed.
You could also use align (0.5, 0.5) so you can adjust the positioning slightly if needed.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]