kytschBASIC

Put down that phone!
Please view me on real computer.

BITMAPTEXT
TEXT
Requires arcade library

The ability to write text on a bitmap.

Example

SCREEN "the-traveller",800,600
	WINDOW "intro"
		RGB 0,0,0
		BITMAP 0,0,800,400
			RGB 255,0,0
			BITMAPFONT "_ROOT/kytschi/fonts/8bitOperatorPlus8-Regular.ttf"
			BITMAPTEXT 220,150,32,0,75,"The Traveller"
			BITMAPTEXT 235,320,18,0,75,"Press any key to start"
		BITMAP CLOSE
	WINDOW CLOSE
	WINDOW "input"
		RGB 0,0,0
		BITMAP 0,0,800,200
			RGB 255,0,0
			LINE 0,0,800,0
		BITMAP CLOSE
	WINDOW CLOSE
SCREEN CLOSE

Output

Parameters

Parameter Type Description
TEXTstringText to be written on the bitmap

See also