Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
UnDeRlOrD

How do i change the font?

Recommended Posts

:huh: How i change the all around font of the game?? I hate the font it has on the menu and stuff. I know you can chnge it on a text box but i want to change the default font. Like the font on the menu and stuff. Oh By The Way im using version 1.02a

Share this post


Link to post
Share on other sites

This is definitely a RGSS Support topic, I'll resolve it and then move it properly

 

Insert this above Main in your RGSS editor.

 

class Font

begin

Font.default_name = "(Insert your Font Name here)"

Font.default_size = (Insert your font size here)

rescue

# This to catch errors, you could specify the type of the error after 'rescue'.

# In this specific case, as there´s no specific error to catch, it´ll catch whatever error

# that´s raised.

p $!, $!.backtrace # Displays error information with print

ensure

# This is used to ensure that a portion of code is executed after the begin

# and/or rescue commands are executed. This will be executed in both cases,

# after a normal execution or after the execution of the rescue block.

end

end

 

In Main insert these two lines above Graphics.freeze

 

$defaultfonttype = $fontface = $defaultfontface = $fonttype = "(Insert your font name here)"

$defaultfontsize = $fontsize = (insert font size here)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...