Reference | Constants
These are system constants used by the Perlenspiel engine.
Common RGB colors (multiplexed)
- PS.COLOR_WHITE
- PS.COLOR_BLACK
- PS.COLOR_GRAY_LIGHT
- PS.COLOR_GRAY
- PS.COLOR_GRAY_DARK
- PS.COLOR_RED
- PS.COLOR_ORANGE
- PS.COLOR_YELLOW
- PS.COLOR_GREEN
- PS.COLOR_BLUE
- PS.COLOR_INDIGO
- PS.COLOR_VIOLET
- PS.COLOR_CYAN
- PS.COLOR_MAGENTA
Arrow, keypad and function key codes for PS.KeyDown() and PS.KeyUp() event calls.
- PS.ARROW_LEFT
- PS.ARROW_RIGHT
- PS.ARROW_UP
- PS.ARROW_DOWN
- PS.KEY_ESCAPE
- PS.KEY_TAB
- PS.KEY_PAGE_UP
- PS.KEY_PAGE_DOWN
- PS.KEY_END
- PS.KEY_HOME
- PS.KEY_INSERT
- PS.KEY_DELETE
- PS.KEYPAD_0
- PS.KEYPAD_1
- PS.KEYPAD_2
- PS.KEYPAD_3
- PS.KEYPAD_4
- PS.KEYPAD_5
- PS.KEYPAD_6
- PS.KEYPAD_7
- PS.KEYPAD_8
- PS.KEYPAD_9
- PS.F1
- PS.F2
- PS.F3
- PS.F4
- PS.F5
- PS.F6
- PS.F7
- PS.F8
- PS.F9
- PS.F10
Direction codes for PS.Wheel() events calls.
- PS.FORWARD
- PS.BACKWARD