kytschBASIC

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

SCREEN
ID, X,Y
Requires arcade library

Creates a screen.

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
IDinteger/stringID to identify the window
Optional
XintegerX position
YintegerY position

See also