How to Change Font in VX Game
When I tried making the VX game in Trial, I don't feel like the font that comes with game (UmePlus Gothic).
(I don't hate it, but I just prefer other font.)
And finally I found way to do, so I want to share this with anyone who want to use other font in RMVX game~
(It's same solution as when you change font in RMXP. You can skip this tutorial if you how to do that already.
First, open Script Editor
(F11) and go to "Main" (It's the latest script).
Place this script:
Font.default_name = "Font_Name"
Font.default_size = Font_size
You can place it anywhere before this line:
$scene = Scene_Title.new
(I like to put it after begin
, but it's not matter you put it before or after begin
with Name of the font
with the size of font you want
For example, I want to change font to Tahoma
and size 20
Font.default_name = "Tahoma"
Font.default_size = 20
Some screenshot when you changed the font:
something I've to tell you more is in Main
, you will found this script
unless Font.exist?("UmePlus Gothic")
print "UmePlus Gothic フォントが見つかりません。"
This will check if the computer has font "UmePlus Gothic". If not, the game will close.
So, when you changed the font, you may want to delete those 4 lines.
==========================Some Features to decorate Font
It's similar to the features in RMXP. But I want to share in case someone didn't know about that
The place to put these scripts are same as when you change the font.
Font.default_bold = true/falseMake the bold text
Font.default_italic = true/falseMake the italic text
Font.default_shadow = true/false
Make the text with shadow. << When you start game, the shadow automatically = true
(BB Code cannot make the shadow text
^ RMXP don't have Shadow, so this will not work in XP
Font.default_color = Color.new(Red, Green, Blue, Opacity)Change text color
e.g. Default color when game starts is...
Font.default_color = Color.new(255, 255, 255, 255)
You can find RGB color from this page:http://web.njit.edu/~kevin/rgb.txt.html
Take a look at column R;G;B Dec
I hope this tutorial will help