Change the font of only the title

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
elitehydra79
Newbie
Posts: 2
Joined: Mon Jul 16, 2018 2:32 pm
Contact:

Change the font of only the title

#1 Post by elitehydra79 » Mon Jul 16, 2018 2:41 pm

I am fairly new to renpy and I have a problem..
I want to change the font of only the title that comes on the menu screen in bottom left corner but I am unable to do so...
Help me pleasee :D

User avatar
Per K Grok
Regular
Posts: 155
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls
Projects: Defenders of Adacan
Deviantart: pekj
itch: per-k-grok
Location: Sverige
Contact:

Re: Change the font of only the title

#2 Post by Per K Grok » Tue Jul 17, 2018 12:00 am

elitehydra79 wrote:
Mon Jul 16, 2018 2:41 pm
I am fairly new to renpy and I have a problem..
I want to change the font of only the title that comes on the menu screen in bottom left corner but I am unable to do so...
Help me pleasee :D
One way is to add

define gui.title_text_font = "NameOfYourNewFont.ttf"

in the Fonts and Font Size section in the gui.rpy

-----------
An other way is to set the line

define gui.show_name = True

in the basic section in options.rpy to False

define gui.show_name = False

This removes the title from the menu scene.

You can then add the title in your preferred font in a graphic editor to the

main_menu.png in the gui.folder


With this way you don't need to add a font to the game that you only are going to use this one time only, but it is more work if you later want to change anything in the title.
Image Visual Story Telling, DeviantArt Group for animations, comics, games and illustrations https://www.deviantart.com/acgi

elitehydra79
Newbie
Posts: 2
Joined: Mon Jul 16, 2018 2:32 pm
Contact:

Re: Change the font of only the title

#3 Post by elitehydra79 » Wed Jul 18, 2018 11:39 am

Thank you so much...worked like a charm.

Post Reply

Who is online

Users browsing this forum: No registered users