Greetings!
I've been wondering about how to make a game a little more user-friendly in terms of visuals.
I know that generally we can change the game window size, edit the font for the whole game in the rpy file, and other basic features but what about something like:
- Choosing between two or three set fonts (buttons in a menu).
- Or a slider to adjust the opacity of the text box?
- Or even a way to change the colour of the text to grey or black for better viewing against the box?
Though, keep in mind this would be from the preferences screen and changes would (hopefully if possible) take place either right away or upon exiting the screen. (Or if not, then restarting the game.)
I'm hoping this is possible, but if so, how would one start? Any help would be appreciated!
Apologies if this has been asked before. ;w; )
AvalonMelody
[Solved] Creating Preference Screen Options (change game font, adjust opacity, change text colour)
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.
- AvalonMelody
- Regular
- Posts: 44
- Joined: Thu May 29, 2014 2:14 am
- Contact:
[Solved] Creating Preference Screen Options (change game font, adjust opacity, change text colour)
Last edited by AvalonMelody on Fri Feb 08, 2019 5:51 am, edited 1 time in total.
- Obscura
- Eileen-Class Veteran
- Posts: 1431
- Joined: Fri Mar 09, 2012 6:58 pm
- Projects: Coming Out On Top
- Location: United States
- Contact:
Re: Creating Preference Screen Options (change game font, adjust opacity, change text colour)
At least in terms of font preferences, you can register different styles, then allow the user to switch styles in the preferences menu using buttons.
https://www.renpy.org/doc/html/style.ht ... preference
https://www.renpy.org/doc/html/style.ht ... preference
Re: Creating Preference Screen Options (change game font, adjust opacity, change text colour)
Size text https://pastebin.com/PD4XLBAk
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Re: Creating Preference Screen Options (change game font, adjust opacity, change text colour)
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
- AvalonMelody
- Regular
- Posts: 44
- Joined: Thu May 29, 2014 2:14 am
- Contact:
Re: Creating Preference Screen Options (change game font, adjust opacity, change text colour)
Thanks so much to both of you! I really appreciate it. ^v^ )/
Who is online
Users browsing this forum: Semrush [Bot]