Opening the Save Menu
- Press Escape to open the Main Menu
- Click Save
File Path Format
Levels are saved using a path format:folder/levelName
- Paths use
/as the directory separator - Each path component must contain only letters, digits, and underscores
- Nested folders are supported (e.g.,
campaign/level01,my_packs/forest/level1) - The level is saved as a
.rqlevelfile
Path Validation
The editor validates the path in real-time:- Valid path — Green text preview, Save button enabled
- Invalid path — Red text preview, Save button disabled
- Empty path
- Contains invalid characters (spaces, special characters)
- Empty path components (e.g.,
folder//level)
Saving Process
- Enter the level path in the input field
- Click Save
- If the level already exists at that path, a confirmation popup appears
- The level data is built from the current editor state
- A thumbnail is generated from the current viewport
- The level is saved to disk
- The unsaved changes flag is cleared
Thumbnail Generation
When saving, the editor generates a thumbnail image:- Captured from the current viewport angle
- Stored as part of the
LevelData - Displayed in the Load menu for preview
Overwrite Confirmation
If a level already exists at the specified path:- A Yes/No popup appears asking “Rewrite level?”
- Click Yes to overwrite the existing file
- Click No to return to the save menu
Post-Save
After saving:- The
LevelPathis updated to the new path - The unsaved changes flag is cleared
- The status label shows the saved path in green