Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

How do we change fonts?

Rare

Member

Fonts can be changed individually in each of the "window" or "scene" classes. Also, the font in the test messages can be changed using a message script such as ccoa's UMS.
 
Put
Code:
  $defaultfonttype = Font.default_name = $fontface = "Y[COLOR=Red]our Font[/COLOR]"
in Game_Temp beneath
Code:
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
and above
Code:
  attr_accessor :map_bgm                  # map music (for battle memory)

To change the size, put
Code:
    Font.default_size = [COLOR=Red]SIZE[/COLOR]
in the same script, below
Code:
    @debug_index = 0
 

Anonymous

Guest

Or you could just paste this little code above main in a new script.

Code:
class Font
  begin
    Font.default_name = "Rod"
  end
end

[EDIT] Change "Rod" to whatever Font you are using.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top