UI Configuration - coldrockgames/gml-raptor GitHub Wiki

This file can be found in the __GAME_SETUP__ folder of the raptor project template.

UI Settings

Setting Default Description
Tooltip timing
TOOLTIP_DELAY_FRAMES 30 0.5 seconds until tooltip appears
Text input configuration
(all values are frames)
TEXT_CURSOR_BLINK_SPEED 30 Cursor blink rate
TEXT_CURSOR_WIDTH 4 Width in pixels of the cursor symbol
TEXT_KEY_REPEAT_DELAY 30 0.5 seconds until auto-repeat starts
TEXT_KEY_REPEAT_INTERVAL (room_speed / 30) Characters per second while holding down a key
Mouse double click configuration
(MS = milliseconds)
MOUSE_DBL_CLICK_SPEED_MS 500 Two clicks within 500ms are a double click (Windows default)

Keyboard Settings

These macros define, how the keytranslator for key press events handles the left and right modifier keys. If set to false, no difference is made between "left" and "right" key (like the left control key and the right control key on the keyboard) and you will receive a "vk_control" key press from the translator. If set to true, each key has its own event

Setting Default Description
SHIFT, ALT and CONTROL KEYS
SEPARATE_LALT_RALT_KEYS false Distinguish between the two Alt keys
SEPARATE_LSHIFT_RSHIFT_KEYS false Distinguish between the two Shift keys
SEPARATE_LCONTROL_RCONTROL_KEYS false Distinguish between the two Controls keys
⚠️ **GitHub.com Fallback** ⚠️