Skip to content

loadfont() Usage

PipeWarp edited this page Dec 29, 2020 · 4 revisions

Description

loadfont() loads and creates a layer for a font for displaying

Example:

loadfont("fonts/pictofont", "loadfont", 256, 256, 0, 1, 1); //Loads Font

NF_WriteText(1, 0, 17, 22.5, "loading..."); //Writes font

NF_UpdateTextLayers(); //Update text layer for displaying

Values

loadfont(font-location, font-name, width, height, rotation, screen, layer){

Clone this wiki locally