RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

READ THIS....[RESOLVED]

Started by Shibuya, March 31, 2007, 03:54:23 AM

0 Members and 1 Guest are viewing this topic.

Shibuya

uh....how do you change the font of your game...I nkow you change it in main but mine says something like this:#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  # Prepare for transition
  Graphics.freeze
  # Make scene object (title screen)
  $scene = Scene_Intro.new
  # Call main method as long as $scene is effective
  while $scene != nil
    $scene.main
  end
  # Fade out
  Graphics.transition(20)
rescue Errno::ENOENT
  # Supplement Errno::ENOENT exception
  # If unable to open file, display message and end
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end
Dude do you break dance?

:)

Replace main with this:


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

begin
 # Prepare for transition
 $defaultfonttype = $fontface = $fontname = Font.default_name = "Maiandra GD"
$defaultfontsize = $fontsize = Font.default_size = 22
 Graphics.freeze
 # Make scene object (title screen)
 $scene = Scene_Title.new
 # Call main method as long as $scene is effective
 while $scene != nil
   $scene.main
 end
 # Fade out
 Graphics.transition(20)
rescue Errno::ENOENT
 # Supplement Errno::ENOENT exception
 # If unable to open file, display message and end
 filename = $!.message.sub("No such file or directory - ", "")
 print("Unable to find file #{filename}.")
end

-----



then you should see what to change now.
Watch out for: HaloOfTheSun

Shibuya

Quote from: Nouman on March 31, 2007, 04:12:01 AM
Replace main with this:


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

begin
  # Prepare for transition
  $defaultfonttype = $fontface = $fontname = Font.default_name = "Maiandra GD"
$defaultfontsize = $fontsize = Font.default_size = 22
  Graphics.freeze
  # Make scene object (title screen)
  $scene = Scene_Title.new
  # Call main method as long as $scene is effective
  while $scene != nil
    $scene.main
  end
  # Fade out
  Graphics.transition(20)
rescue Errno::ENOENT
  # Supplement Errno::ENOENT exception
  # If unable to open file, display message and end
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end

-----



then you should see what to change now.

Thanks Nouman!
Dude do you break dance?

:)

Yep, No problem. =D
Solved? Add [RESOLVED] to topic title.
Watch out for: HaloOfTheSun