font = GenDefaultFont({style, charsize, charsPerRow, charset$})


Style of the font to be created (see below).


Size of the characters in pixels.


Number of characters per row in the generated font tileset.


A string containing all the characters to be included in the font tileset.

Fonts are a special kind of tileset. Each tile in the tileset is one character. All the parameters on this function are optional.

Font style constants are defined in the following include file.

include "Game Engine"

' Font Styles
Const Font_Normal = 1
Const Font_Bold = 2
Const Font_Italic = 3
Const Font_Bold_Italic = 4

Game Engine Overview

Become a Patron