[SOLVED] Change 'About' Screen font?

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
User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

[SOLVED] Change 'About' Screen font?

#1 Post by rusicaria »

Hello!

Is it possible to change the font on the about screen, without having to change the font for the start buttons etc?
Last edited by rusicaria on Thu May 06, 2021 4:43 pm, edited 1 time in total.

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2384
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Change 'About' Screen font?

#2 Post by Ocelot »

Yes, just... set another font in about screen. Easiest way is to add font style statement in the about_label_text and about_text styles is screens.rpy
< < insert Rick Cook quote here > >

User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

Re: Change 'About' Screen font?

#3 Post by rusicaria »

Ocelot wrote: Thu May 06, 2021 3:10 pm Yes, just... set another font in about screen. Easiest way is to add font style statement in the about_label_text and about_text styles is screens.rpy
Hello again! Do you mean change it from the gui_label/gui_label_text? I tried adding 'font' below 'size' but nothing changed.

Code: Select all

style about_label is gui_label
style about_label_text is gui_label_text
style about_text is gui_text

style about_label_text:
    size 20
    font "hurtm.ttf"

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2384
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Change 'About' Screen font?

#4 Post by Ocelot »

That should have changed first line of the about screen with your game name, as defined in config.name, because this is the only label in the screen, other lines are simply text.

You would need to change about_text for the rest.
< < insert Rick Cook quote here > >

User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

Re: Change 'About' Screen font?

#5 Post by rusicaria »

Ocelot wrote: Thu May 06, 2021 4:02 pm That should have changed first line of the about screen with your game name, as defined in config.name, because this is the only label in the screen, other lines are simply text.

You would need to change about_text for the rest.
How do I do that?

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2384
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Change 'About' Screen font?

#6 Post by Ocelot »

The same way you changed font for about_label_text:

Code: Select all

style about_text:
    font "hurtm.ttf"
< < insert Rick Cook quote here > >

User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

Re: Change 'About' Screen font?

#7 Post by rusicaria »

Ocelot wrote: Thu May 06, 2021 4:36 pm The same way you changed font for about_label_text:

Code: Select all

style about_text:
    font "hurtm.ttf"
Thank youu!

Post Reply

Who is online

Users browsing this forum: No registered users