Main Menu Text Size Help

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
artistvisionarylover
Newbie
Posts: 4
Joined: Mon Sep 16, 2013 7:27 pm
Contact:

Main Menu Text Size Help

#1 Post by artistvisionarylover »

I am not sure where to put this as I am new to the boards, but I am trying to make my game 1920x1080 and I run into the issue that the main menu is too small. Is there a quick way anyone knows how to enlarge the menu?

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Main Menu Text Size Help

#2 Post by Asceai »

style mm_button_text size 50
(or some other number)

This only applies to the main menu- you can find the names of other styles by moving the mouse over the text and pressing Shift+I. For example, if you want to resize the text in the menu on the save / load / preferences screen, you can mouse over it, press Shift+I and then see that the text has the style gm_nav_button_text, so you could do something like this:
style gm_nav_button_text size 40

artistvisionarylover
Newbie
Posts: 4
Joined: Mon Sep 16, 2013 7:27 pm
Contact:

Re: Main Menu Text Size Help

#3 Post by artistvisionarylover »

i am going to sound like such a newb, but where do I paste that?

User avatar
Taleweaver
Writing Maniac
Posts: 3428
Joined: Tue Nov 11, 2003 8:51 am
Completed: Metropolitan Blues, The Loyal Kinsman, Daemonophilia, The Dreaming, The Thirteenth Year, Adrift, Bionic Heart 2, Secrets of the Wolf, The Photographer
Projects: The Pilgrim's Path, Elspeth's Garden, Secret Adventure Game!
Organization: Tall Tales Productions
Location: Germany
Contact:

Re: Main Menu Text Size Help

#4 Post by Taleweaver »

This is a Ren'Py question and belongs into the Ren'Py Questions forum.

Moving.
Scriptwriter and producer of Metropolitan Blues
Creator of The Loyal Kinsman
Scriptwriter and director of Daemonophilia
Scriptwriter and director of The Dreaming
Scriptwriter of Zenith Chronicles
Scriptwriter and director of The Thirteenth Year
Scriptwriter and director of Romance is Dead
Scriptwriter and producer of Adrift
More about me in my blog
"Adrift - Like Ever17, but without the Deus Ex Machina" - HigurashiKira

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Main Menu Text Size Help

#5 Post by Asceai »

artistvisionarylover wrote:i am going to sound like such a newb, but where do I paste that?
Anywhere. Shove it at the top of script.rpy or something.

artistvisionarylover
Newbie
Posts: 4
Joined: Mon Sep 16, 2013 7:27 pm
Contact:

Re: Main Menu Text Size Help

#6 Post by artistvisionarylover »

that didn't seem to work. But I appreciate your help.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Main Menu Text Size Help

#7 Post by Donmai »

Try

Code: Select all

style.mm_button_text.size=50
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Main Menu Text Size Help

#8 Post by Asceai »

If that works and my suggestion doesn't, update Ren'Py.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Main Menu Text Size Help

#9 Post by Donmai »

Asceai wrote:If that works and my suggestion doesn't, update Ren'Py.
Your code gave me an 'invalid syntax' error when trying to use it in Ren'Py 6.17.3.327.
Using the ol' style syntax, it worked.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Main Menu Text Size Help

#10 Post by SundownKid »

That's because it IS invalid syntax. The style has to be written out like this:

Code: Select all

style mm_button_text:
    size 50

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Main Menu Text Size Help

#11 Post by Donmai »

SundownKid wrote:That's because it IS invalid syntax. The style has to be written out like this:

Code: Select all

style mm_button_text:
    size 50
A note to the OP: before Ren'Py 6.17 the style syntax was the one I've used here: http://lemmasoft.renai.us/forums/viewto ... 70#p319570
Sundown is demonstrating the new style syntax introduced in Ren'Py 6.17.
You are not forced to use the new syntax (although it is much more simple, neat, and will make your code run faster :wink: ).
The old syntax still works, for compatibility with older games. You choose.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Main Menu Text Size Help

#12 Post by Asceai »

Donmai wrote:
Asceai wrote:If that works and my suggestion doesn't, update Ren'Py.
Your code gave me an 'invalid syntax' error when trying to use it in Ren'Py 6.17.3.327.
Using the ol' style syntax, it worked.
SundownKid wrote:That's because it IS invalid syntax. The style has to be written out like this:

Code: Select all

style mm_button_text:
    size 50
Wrong! It's fine, I just tested it.

Ren'Py 6.17.3.327 too.

Code: Select all

define e = Character('Eileen', color="#c8ffc8")

style mm_button_text size 50

# The game starts here.
label start:
    e "You've created a new Ren'Py game."
    e "Once you add a story, pictures, and music, you can release it to the world!"

    return
100% valid syntax. I basically copy-pasted it from the Style page in the documentation, after all.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Main Menu Text Size Help

#13 Post by Donmai »

Sorry, Asceai. I never said you were wrong. It was Ren'Py. Yes, I've tested your code now, as you posted it, and it worked. But since we are using the same version of Ren'Py, see if you can reproduce my previous experience:
- Create a new game;
- Simply put the line 'style mm_button_text size 50' in options.rpy
- run the game.
Untitled-1.jpg
I blame it on that red full moon I saw last night.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Main Menu Text Size Help

#14 Post by Asceai »

That's because you put it in a python block. It's not python code.

artistvisionarylover
Newbie
Posts: 4
Joined: Mon Sep 16, 2013 7:27 pm
Contact:

Re: Main Menu Text Size Help

#15 Post by artistvisionarylover »

okay my problem now is that I have been able to grow the save menu and the preferences and all that stuff. But the text that says "save spot 1" is still small. so is the one that says "load spot 1" how do I enlarge those texts as well?

Post Reply

Who is online

Users browsing this forum: Google [Bot], voluorem