- This wiki is out of date, use the continuation of this wiki instead
FontID
From FenixWiki
Definition
FontID
A FontID is an identifier associated with a certain font. It is returned by functions that load fonts, for example load_fnt(). You can use the FontID in functions to specify the font used in the writing of texts like write(), write_int(), write_float(), write_string(), write_var() and write_in_map().
Notes
Font "0" is the built-in fenix font, and can be used in functions as well.
Example
Program test; Global My_font; Begin //Using the built-in Fenix font: My_font=0; Write(My_font,320/2,200/2,4,"Game programming is awesome!"); Loop Frame; End End
Used in example: write()