Main Menu¶
The main menu bar runs along the top of the editor window. It has five menus: File, Edit, Game, Window, and Help.
File¶
Take Screenshot — shows a reminder of how to capture a screenshot: start the game and press
F11(see Hotkeys). It does not capture the screenshot itself.Exit (
Alt+F4) — close the editor.
Edit¶
Undo (
Ctrl+Z) / Redo (Ctrl+Shift+Z) — undo or redo the last editor action.Open VSCode project — open the project in VS Code. Shown only when the project has a VS Code workspace.
Preferences… — open the Preferences window.
Game¶
Most of these mirror the game-control entries in Console Commands and Cheats and Hotkeys.
Play/Stop (
Ctrl+P) — start or stop the game.Pause (
Ctrl+Shift+P) — pause or resume the game.Next Frame (
Ctrl+Alt+P) — advance the game by a single frame.Reload Code (
Ctrl+Shift+R) — reload your user scripts. The game state is kept or reset according to Restore Global State.Hard Reload Code (
Ctrl+Shift+X) — full reload of user scripts and shared modules; always resets game state.Restore Global State — a toggle; when enabled, the global state is restored after a code reload (does not affect the Hard Reload Code option).
Reset / Increase / Decrease Time Scale (
Ctrl+Shift+0/Ctrl+Shift+=/Ctrl+Shift+-) — control the speed of game time.GC Collect All — run a full garbage collection now.
GC Set Enable — a toggle for the garbage collector.
Pause on Error — a toggle; when enabled, the game pauses when a runtime error occurs.
Listen Editor Shortcuts — a toggle for whether editor shortcuts are handled while the game is running.
Window¶
AI Generation Tool… — open the AI Generation Tool. Shown only when AI generation is available.
Cheat Commands… — open the Cheat Commands window.
Profiler — toggle the Profiler window (frame-time and counter graphs); a checkmark shows while it is open. Distinct from the external daProfiler, which is enabled from the toolbar.
Open/Close Editor (
F10) — switch between the editor and the running game.Reset Docking — restore the default arrangement of the editor panels.
Help¶
Documentation… — open the online documentation in a browser.
About — show the version information.