Global Script Tutorials

These script tutorials and how-to’s are compatible with all RPG Makers (XP, VX and VXA).

Font Draw Method Tutorial

Font is a property of the Bitmap class, so whenever you need to call on a font property in a window, it will be preceded by self.contents., so as an example: = “Arial” will change the contents font name to "Arial" on the window’s Bitmap. Font (with a capital F) will globally change the font settings, but because it’s a Bitmap property. The following scriptlet will show how the font properties can be used in a single method (draw_font) to make drawing fonts easier. #============================================================================== # ** Window_Base #============================================================================== class Window_Base < Window #------------------------------------------- # * Draw font # bold : Bold on/off # italic : Italic on/off # […]