The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => VX Scripts Database => Topic started by: CruzCoda on April 20, 2008, 04:28:55 AM

Title: [RMVX] Script - Default Font Change
Post by: CruzCoda on April 20, 2008, 04:28:55 AM
Default Font Options
Version: 1.0
Author: CruzCoda
Date: April 20th, 2008

Version History



Planned Future Versions


Description


Simple script to change the default font options of the game.
With just a few changes to the script, the user can easily input which font name('face') they wish to use in their game.
The user can also change the default font size, boldness, italics, and shadowing.

Color is currently not handled.

Features

Adjusts the following Font.default options

Screenshots

(http://<Post screenshots here if necessary or if you think it will attract people to your script>)

Instructions

Installation -

Usage -

Simply replace the values with your own.

For example, to use different font names, replace ["Times New Roman"] with ["Courier New"]
Make sure that font names used are either standard Windows fonts, or that you supply a secondary font name as a backup.
IE: ["CruzCodas Gum", "Times New Roman"]

Bold, Italics, Shadow are all TRUE/FALSE
Size is an integer. RPGMVX default size is 20

Script


Quote
#==============================================================================
# Script that changes the default font settings.
#==============================================================================

Font.default_size = 18            # Default - 20
Font.default_name = ["Times New Roman"]   # Font names are used in order. If the first is not available, the second will be used, etc..
Font.default_bold = TRUE         # Default - FALSE
Font.default_italic = FALSE         # Default - FALSE
Font.default_shadow = TRUE         # Default - TRUE

Credit



Thanks


Support


I can be reached cruzcoda@cruzcoda.com, or in this thread.

Known Compatibility Issues

Not sure if it'll work with earlier versions of RPGM.

Demo


N/A

Author's Notes


Wanted to change the font style of the game. Don't get me wrong, I like Arial/Courier, but they were just too big.

Restrictions

None. Use it as you like.
Title: Re: [RMVX] Script - Default Font Change
Post by: Leventhan on April 20, 2008, 09:28:33 AM
Good for supplementary knowledge, altough I think most people know how do it already. :P
Title: Re: [RMVX] Script - Default Font Change
Post by: CruzCoda on April 20, 2008, 10:29:19 AM
*chuckles* More than likely. Was more a beginners scripting project that I felt like sharing.  ;D
Title: Re: [RMVX] Script - Default Font Change
Post by: modern algebra on April 20, 2008, 06:55:58 PM
It's definitely useful for beginners. I am surprised you took the time to put it into the Script Template though. That must have taken longer than writing the script did :P

Anyway, nice job.
Title: Re: [RMVX] Script - Default Font Change
Post by: CruzCoda on April 20, 2008, 07:05:42 PM
Being my first post, and first contribution, figured I would follow the stickied stuff for the board, lest I be mocked by a thousand pigeons for all of my days... or something equally horrible. *g*

Now, for my next script, "Hello, World!"
Title: Re: [RMVX] Script - Default Font Change
Post by: modern algebra on April 20, 2008, 07:13:31 PM
Now, for my next script, "Hello, World!"

 :lol:
Title: Re: [RMVX] Script - Default Font Change
Post by: Leventhan on April 21, 2008, 02:15:25 AM
Now, for my next script, "Hello, World!"

 :lol:
:D
Title: Re: [RMVX] Script - Default Font Change
Post by: worale on April 21, 2008, 08:12:14 PM
Now, for my next script, "Hello, World!"

 :lol:
:D
That will be very interesting script. :lol:

Anyway, this is good start.
Title: Re: [RMVX] Script - Default Font Change
Post by: Demonic Blade on May 07, 2008, 04:01:44 PM
Now, for my next script, "Hello, World!"

 :lol:
:D

Will I have to do that too? Anyways, nice! I know that I don't know how to change all that stuff in VX!

And OKAY then...

:D