I'm working on a linear visual novel based on the Iliad, and in theory, my menu design was absolutely awesome...
But then I realized that gold and tan blend in with each other.
I would like to apply an outline to the title (only the title), to make it stand out a little more from the background, but I'm not sure how exactly to do it.
[SOLVED] How do I apply an outline to the game title?
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.
- IchihashiMaiden
- Newbie
- Posts: 15
- Joined: Fri Dec 08, 2017 2:00 am
- Projects: Be A Good Boy (Otome) ; Iliad (VN)
- itch: IchihashiMaiden
- Contact:
[SOLVED] How do I apply an outline to the game title?
Last edited by IchihashiMaiden on Sat Dec 09, 2017 5:46 pm, edited 1 time in total.
I have no idea what I'm doing.
(Character in icon belongs to nomnomnami on itch.io)
(Character in icon belongs to nomnomnami on itch.io)
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: How do I apply an outline to the game title?
The easy way... add the following to gui.rpy:
the alternate way... find screen main_menu in screens.rpy (better if only want title outlined):
Code: Select all
define gui.main_menu_text_outlines = [ (2, "#333", 0, 0) ]
Code: Select all
screen main_menu():
## This ensures that any other menu screen is replaced.
tag menu
style_prefix "main_menu"
add gui.main_menu_background
## This empty frame darkens the main menu.
frame:
pass
## The use statement includes another screen inside this one. The actual
## contents of the main menu are in the navigation screen.
use navigation
if gui.show_name:
vbox:
text "[config.name!t]":
style "main_menu_title"
outlines [ (2, "#333", 0, 0) ]
text "[config.version]":
style "main_menu_version"
outlines [ (2, "#333", 0, 0) ]
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
- IchihashiMaiden
- Newbie
- Posts: 15
- Joined: Fri Dec 08, 2017 2:00 am
- Projects: Be A Good Boy (Otome) ; Iliad (VN)
- itch: IchihashiMaiden
- Contact:
Re: How do I apply an outline to the game title?
You're a life saver, thank you!
I have no idea what I'm doing.
(Character in icon belongs to nomnomnami on itch.io)
(Character in icon belongs to nomnomnami on itch.io)
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Ocelot