-
Notifications
You must be signed in to change notification settings - Fork 8
UI Configuration
This file can be found in the __GAME_SETUP__ folder of the raptor project template.
| 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) |
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 |
Note
These settings are available only in the paid raptorPRO version.
By default, you should use the .json files for themes and skins as this offers great flexibility for dynamic content, when the values aren't hardcoded in your game's source code. However, if you do not want this, set this flag to false, then raptor will use the classic files (code classes) at startup.
| Setting | Default | Description |
|---|---|---|
USE_JSON_FILE_FOR_SKINS |
true | Use a flavorable RichJson skin file instead of coded skins |
USE_JSON_FILE_FOR_THEMES |
true | Use a flavorable RichJson skin file instead of coded skins |
Raptor free: Animation ● StateMachine ● Files(Sync) ● Macros ● Logger ● Controllers ● LG Localization ● Particle Effects ● Tools, other Objects and Helpers
Raptor pro: RACE (The Random Content Engine) ● Savegame System ● UI Subsystem ● Shaders ● Files(Async) ● RichJson ● Scriptor
Back to Repo ● Wiki Home ● Copyright © coldrock.games
- Home
- Working with raptor
- Create a Game
- raptor's object model
- Macros
- Logger
- Controllers
- StateMachine
- Animation
- Particle Effects
- LG Localization
- Interfaces
- Tools, other Objects and Helpers
Raptor Pro Modules