BITMAPFONT
FONT
The ability to use a font when writing on a bitmap.
Example
SCREEN "the-traveller"
WINDOW "intro"
RGB 0,0,0
BITMAP 0,0,800,400
RGB 255,0,0
BITMAPFONT "_ROOT/kytschi/fonts/Sixtyfour.ttf"
BITMAPTEXT "The Traveller",32,0,120,150
BITMAPTEXT "Press any key to start",18,0,135,320
END BITMAP
END WINDOW
WINDOW "input"
RGB 0,0,0
BITMAP 0,0,800,200
RGB 255,0,0
LINE 0,0,800,0
END BITMAP
END WINDOW
END SCREEN
Output
intro
input
Parameters
| Parameter | Type | Description |
|---|---|---|
| FONT | string | Font to load |