BlitzPlus Docs -> Text
Text x,y,string$,[center x],[center y]
Parameters:
x = starting x coordinate to print texty = starting 4 coordinate to print text
string$ = string/text to print
center x = optional; true = center horizontally
center y = optional; true = center vertically
Description:
Prints a string at the designated screen coordinates. You can center the text on the coordiates by setting center x/center y to TRUE. This draws the text in the current drawing color.Note: Printing a space with text will NOT render a block - a space is an empty value. So printing " " will not make a box appear.
See also: Print, Write.
Example:
; Text example ; enable graphics mode Graphics 800,600,16 ; wait for ESC key before ending While Not KeyHit(1) ;print the text, centered horizontally at x=400, y=0 Text 400,0,"Hello There!",True,False Wend
Comments
| ||
| Odd (anti-aliasing?) effects may occur on some machines if Color is set to a low value, e.g 0,0,1 with the Text command. Setting the Color to 7,7,7 (still black for practical purposes) seems to eliminate the problem |
BlitzPlus Manual Forum
Blitz3D Equivalent Command




