Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

2 Pages V   1 2 >  
Reply to this topicStart new topic
> [Scripting]How to Change Font in VX Game, *Update* + Some Features to decorate Font~
woratana
post Jan 21 2008, 08:21 PM
Post #1


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




How to Change Font in VX Game
by Woratana

Introduction
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. laugh.gif )
Solution
First, open Script Editor (F11) and go to "Main" (It's the latest script).

Place this script:
CODE
Font.default_name = "Font_Name"
Font.default_size = Font_size

You can place it anywhere before this line:
CODE
$scene = Scene_Title.new

(I like to put it after begin, but it's not matter you put it before or after begin)

Replace Font_Name with Name of the font
Replace Font_size with the size of font you want

For example, I want to change font to Tahoma and size 20
CODE
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
CODE
unless Font.exist?("UmePlus Gothic")
  print "UmePlus Gothic フォントが見つかりません。"
  exit
end

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 wink.gif

The place to put these scripts are same as when you change the font.
CODE
Font.default_bold = true/false

Make the bold text

CODE
Font.default_italic = true/false

Make the italic text

CODE
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 happy.gif )
^ RMXP don't have Shadow, so this will not work in XP

CODE
Font.default_color = Color.new(Red, Green, Blue, Opacity)

Change text color
e.g. Default color when game starts is...
CODE
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 laugh.gif


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
SeeYouAlways
post Jan 22 2008, 04:46 AM
Post #2


Demented Moogle
Group Icon

Group: Banned
Posts: 1,130
Type: None
RM Skill: Undisclosed




Hey, thank you so much for the submission! I have posted this on the main site (well, I redirected it to it, anyway). Hope to see more tutorials - I had no idea how to change the font because I didn't use RPG Maker XP. pinch.gif


__________________________
Go to the top of the page
 
+Quote Post
   
darkkyros
post Jan 22 2008, 06:32 PM
Post #3


Level 4
Group Icon

Group: Member
Posts: 50
Type: Artist
RM Skill: Intermediate




Thanks! This really helped me.
Go to the top of the page
 
+Quote Post
   
Xyster
post Jan 23 2008, 04:27 PM
Post #4


Level 10
Group Icon

Group: Revolutionary
Posts: 150
Type: Developer
RM Skill: Undisclosed




yay, I can finally change the text, which was really bothering me honestly...

Though now if I could only change it to a differnt font than Tahoma....I just need to figure out which ones work. I think I settled on Georgia though, I like the looks of it.


__________________________
Go to the top of the page
 
+Quote Post
   
Endzeit
post Jan 25 2008, 10:11 AM
Post #5


Level 6
Group Icon

Group: Member
Posts: 80
Type: Event Designer
RM Skill: Skilled




Not working for me =\ When I try to change it it just gives me squares instead of characters. *sigh* Too much of a newb I guess tongue.gif


__________________________




"All that's left are my memories, pictures of unworried days. But no ones there to save my legacy. It will perish; fade with me..."
Go to the top of the page
 
+Quote Post
   
SeeYouAlways
post Jan 25 2008, 05:36 PM
Post #6


Demented Moogle
Group Icon

Group: Banned
Posts: 1,130
Type: None
RM Skill: Undisclosed




Hmm, tell us what font you are using.


__________________________
Go to the top of the page
 
+Quote Post
   
Endzeit
post Jan 25 2008, 11:37 PM
Post #7


Level 6
Group Icon

Group: Member
Posts: 80
Type: Event Designer
RM Skill: Skilled




Trying to use Tahoma as the tutorial says.

*edit*

Nevermind I figured it out lol. The font changed but I havn't changed the values (actor names, items, vocabulary, etc) So yeah... Dumb.

This post has been edited by Dethecus: Jan 26 2008, 12:00 AM


__________________________




"All that's left are my memories, pictures of unworried days. But no ones there to save my legacy. It will perish; fade with me..."
Go to the top of the page
 
+Quote Post
   
neclords
post Jan 26 2008, 08:17 AM
Post #8


Love me! I wanna you to love me!
Group Icon

Group: Revolutionary
Posts: 196
Type: Event Designer
RM Skill: Beginner




This Is Very Cool..

I Like it! biggrin.gif


__________________________

~Time To sWallow tHe Pain and VaniSH OuR HuRt~
Go to the top of the page
 
+Quote Post
   
Rory
post Jan 26 2008, 09:30 AM
Post #9


GFX Pro
Group Icon

Group: +Gold Member
Posts: 409
Type: Artist
RM Skill: Skilled




I think UmePlus Gothic goes very well with RMVX.

This post has been edited by Magdreamer: Jan 26 2008, 09:30 AM


__________________________

THE SAVAGE NYMPH
Note: this is Magdreamer, I'm using my real name for my forum name now.
Go to the top of the page
 
+Quote Post
   
Gilvs
post Jan 27 2008, 09:09 AM
Post #10


Level 2
Group Icon

Group: Member
Posts: 15
Type: None
RM Skill: Skilled




I have Rpg maker XP but i't in wierd lettering and I can't read it.Plus it won't let me make a game can you make a tutorial for it plz? mellow.gif.also how do you script for Rpg maker xp. huh.gif .[font="Impact"][/font][color="#006400"][/color]
Go to the top of the page
 
+Quote Post
   
woratana
post Jan 27 2008, 10:03 AM
Post #11


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




QUOTE (Gilvs @ Jan 27 2008, 08:16 AM) *
I have Rpg maker XP but i't in wierd lettering and I can't read it.Plus it won't let me make a game can you make a tutorial for it plz? mellow.gif.also how do you script for Rpg maker xp. huh.gif .[font="Impact"][/font][color="#006400"][/color]

Just do the same thing laugh.gif

CODE
Font.default_name = "Tahoma"
Font.default_size = 20


and you can use all the features to decorate the font in RMXP, except for shadow.


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
lahandi
post Feb 14 2008, 02:19 AM
Post #12


Level 8
Group Icon

Group: Revolutionary
Posts: 111
Type: Artist
RM Skill: Skilled




I hope you dont mind if I asked a question smile.gif

Can we make the message font bold / italic in certain word? Something like : You got Amulet of Fire .
And I wonder if we can change color of certain word? Something like : Aranos ask you to go to Volasium

I think it will create a good and catchy visual style for our story. Because in long story / dialogue, player just skimming the dialogue and then they forget where to go or whose to find. And I think, giving an emphasize to spesific name or item will make the story easily understood.

This post has been edited by lahandi: Feb 14 2008, 02:33 AM


__________________________
Go to the top of the page
 
+Quote Post
   
Rickster090
post Mar 23 2008, 01:27 AM
Post #13



Group Icon

Group: Member
Posts: 4
Type: Event Designer
RM Skill: Beginner




can i put the font file into a folder in my game so if someone doesn'tm have it installed it will run any way???

and im trying to use a font from 101 free fonts.com and everywhere where there is supposed to be writting it is blank

This post has been edited by Rickster090: Mar 23 2008, 01:39 AM


__________________________
My Projects ......

Blackfire : The Riya Chronicles. Averall Progress 2% (made in Rmvx)
Scripts included....
Weapon Unleash by Dargor
Map Name Popup by Dargor
KGC_DayNight system
sideview battle system by Claimh (looking to change to a ABS)
Skill Shop for RMVX Ver 3.1 By Nechigawara Sanzenin


please if anyone knows where i can get a ABS script for RMVX please email me at rickster090@hotmail.co.uk or PM me


Go to the top of the page
 
+Quote Post
   
ERZENGEL
post Mar 23 2008, 02:08 AM
Post #14


Level 8
Group Icon

Group: Revolutionary
Posts: 127
Type: None
RM Skill: Undisclosed




@Rickster: You can create a folder called Fonts in your project folder and then you insert the fontfile(s) into it. So no installation is need to use the font.
Go to the top of the page
 
+Quote Post
   
Rickster090
post Mar 23 2008, 02:15 AM
Post #15



Group Icon

Group: Member
Posts: 4
Type: Event Designer
RM Skill: Beginner




yh i've don that and i've downloaded a new font for 101 free fonts, heres the script im using
CODE
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================
Font.default_name = "BLACKNIT"
Font.default_size = 20
Font.default_bold = true
Font.default_shadow = true
begin
  Graphics.freeze
    $scene = Scene_Title.new
  $scene.main while $scene != nil
  Graphics.transition(30)
rescue Errno::ENOENT
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end
and all the lettering is gone there are no words please can you help.


__________________________
My Projects ......

Blackfire : The Riya Chronicles. Averall Progress 2% (made in Rmvx)
Scripts included....
Weapon Unleash by Dargor
Map Name Popup by Dargor
KGC_DayNight system
sideview battle system by Claimh (looking to change to a ABS)
Skill Shop for RMVX Ver 3.1 By Nechigawara Sanzenin


please if anyone knows where i can get a ABS script for RMVX please email me at rickster090@hotmail.co.uk or PM me


Go to the top of the page
 
+Quote Post
   
YanXie
post Mar 23 2008, 02:44 AM
Post #16


Because Tomorrow Will Surely Come...
Group Icon

Group: Revolutionary
Posts: 1,137
Type: None
RM Skill: Skilled




Most likely "BLACKNIT" is the file names,not the font file name.To make sure you use correct name for the font,open the file,and look at "Typeface name:______".That "_____" is what you should put for the font name.

ヽ(ー`)ノ

cheers,puppeto4. smile.gif


__________________________
how make teleport to graveyard then your character die?

AWAY FOR VACATION.
NOT HERE UNTIL JAN/FEB 2010 -w-/
Go to the top of the page
 
+Quote Post
   
Rickster090
post Mar 23 2008, 03:00 AM
Post #17



Group Icon

Group: Member
Posts: 4
Type: Event Designer
RM Skill: Beginner




YES!!!!!!! thank you ever soo much ...

-Edit- never mind sorted out problem by pming the guy who made this tutorial

This post has been edited by Rickster090: Mar 23 2008, 11:13 AM


__________________________
My Projects ......

Blackfire : The Riya Chronicles. Averall Progress 2% (made in Rmvx)
Scripts included....
Weapon Unleash by Dargor
Map Name Popup by Dargor
KGC_DayNight system
sideview battle system by Claimh (looking to change to a ABS)
Skill Shop for RMVX Ver 3.1 By Nechigawara Sanzenin


please if anyone knows where i can get a ABS script for RMVX please email me at rickster090@hotmail.co.uk or PM me


Go to the top of the page
 
+Quote Post
   
woratana
post Mar 23 2008, 10:29 AM
Post #18


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




Updated!!!

- Add code to change default text's color smile.gif


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
Rickster090
post Mar 23 2008, 11:58 AM
Post #19



Group Icon

Group: Member
Posts: 4
Type: Event Designer
RM Skill: Beginner




humm i've tryied this but this dosn't work


__________________________
My Projects ......

Blackfire : The Riya Chronicles. Averall Progress 2% (made in Rmvx)
Scripts included....
Weapon Unleash by Dargor
Map Name Popup by Dargor
KGC_DayNight system
sideview battle system by Claimh (looking to change to a ABS)
Skill Shop for RMVX Ver 3.1 By Nechigawara Sanzenin


please if anyone knows where i can get a ABS script for RMVX please email me at rickster090@hotmail.co.uk or PM me


Go to the top of the page
 
+Quote Post
   
woratana
post Mar 23 2008, 12:02 PM
Post #20


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




You can try this way too smile.gif

http://www.rpgrevolution.com/forums/?showtopic=10151

Check first post and puppeto's post~


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 01:40 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker