Draw text strings to screen. This function supports bitmap fonts exported by the AngelCode's BMFont tool (*.fnt
files on text mode). Fonts may use multiple bitmap pages, but it is highly recommended to use only one page per font for better performance.
The *.fnt
font files and all its pages must be in the <project-directory>/data/
folder. Ethanon Engine includes to the projects some default bitmap fonts:
Font files listed above are included by default. The user may create and edit his own fonts with BMFont.
// text drawing example DrawText(vector2(0,200), "Text drawing test!", "Verdana14_shadow.fnt", ARGB(250,255,255,255));