use bitmap font
UseNewDefaultFonts( 0 )
fontImage = LoadImage("font_iron_man.png")
myText = CreateText("RAZORST!")
SetTextSize(myText,60)
SetTextFontImage(myText, fontImage )
SetTextSpacing(myText, 2)
//===============================================
SetTextAlignment(myText, 1)
SetTextPosition(myText, GetVirtualWidth()/2, GetVirtualHeight()/2-GetTextTotalHeight(myText)/2)
do
Sync()
loop
or use *.ttf
UseNewDefaultFonts( 0 )
font = LoadFont("IronManOfWar002Ncv-ljOd.ttf")
myText = CreateText("RAZORST!")
SetTextSize(myText,60)
SetTextFont(myText,font )
//===============================================
SetTextAlignment(myText, 1)
SetTextPosition(myText, GetVirtualWidth()/2, GetVirtualHeight()/2-GetTextTotalHeight(myText)/2)
do
Sync()
loop