SCREEN
ID, CLASS (optional)
Creates a screen which is used to hold a window.
Note, it is good practice to only have one window per screen.
Example
SCREEN "the-traveller"
WINDOW "The Traveller", "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
END SCREEN
Output
The Traveller
Parameters
| Parameter | Type | Description |
|---|---|---|
| ID | integer/string | ID to identify the window |
| optional | ||
| X | integer | X position |
| Y | integer | Y position |