Skip to content
Download

Play, Output and errors

Play (F5) saves what is open and runs the game. While the game runs, the button becomes Stop.

Project What Play does
Lua Opens the game instantly. A script error shows in the Output and the game keeps running.
C++ Compiles and opens the game. The first build takes longer; later ones only rebuild what changed. On a compile error, the game does not open.
The game running.

The game runs in the Game panel, next to the Editor. Click the game for it to receive the keyboard. At the top, In this panel or In a window sets where the next Play runs.

The Output panel shows the build, the game messages (print in Lua, the log in C++) and editor notices. An error carries the file and the line: clicking it opens the code at that point.

Output with a compile error.
  • Open code, or a double-click on a .lua, .cpp or .hpp, opens the file in an editor tab, with highlighting, search (Ctrl+F) and Ctrl+S.
  • In Lua there is API autocomplete: arrows choose, Tab or Enter accept, Esc closes.
  • To use another program, pick it in Project › Preferences… › Code editor.

Trouble with Play: Common problems.