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 to Change font

Hwang

Member

Hi maya,

go to main and add below begin
Code:
  $defaultfonttype = $fontface = Font.default_name = "Tahoma"
  $defaultfontsize = $fontsize = Font.default_size = 24

Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  #:::::::::::::::::::::::::::
  $defaultfonttype = $fontface = Font.default_name = "Tahoma"
  $defaultfontsize = $fontsize = Font.default_size = 24
  #::::::::::::::::::::::::
  Graphics.freeze
  $scene = Scene_Title.new
  while $scene != nil
    $scene.main
  end
  Graphics.transition(20)
rescue Errno::ENOENT
  filename = $!.message.sub("No such file or directory - ", "")
  print("File #{filename} not found.")
end
 
Hwang":3evik110 said:
Hi maya,

go to main and add below begin
Code:
  $defaultfonttype = $fontface = Font.default_name = "Tahoma"
  $defaultfontsize = $fontsize = Font.default_size = 24

Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  #:::::::::::::::::::::::::::
  $defaultfonttype = $fontface = Font.default_name = "Tahoma"
  $defaultfontsize = $fontsize = Font.default_size = 24
  #::::::::::::::::::::::::
  Graphics.freeze
  $scene = Scene_Title.new
  while $scene != nil
    $scene.main
  end
  Graphics.transition(20)
rescue Errno::ENOENT
  filename = $!.message.sub("No such file or directory - ", "")
  print("File #{filename} not found.")
end

Umm...this is for vx not xp...
 

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