The game console: Difference between revisions

From Turing Complete
No edit summary
No edit summary
Line 13: Line 13:
** Indelible (red) components, such as {{Component|Four-bit input||alpha}}.
** Indelible (red) components, such as {{Component|Four-bit input||alpha}}.
** Sandbox-only components, such as {{Component|File loader||alpha}}.
** Sandbox-only components, such as {{Component|File loader||alpha}}.
** Normal components that are unlocked further into the campaign, for example placing a {{Component|Byte adder||alpha}} in the ''Half Adder' level.
** Normal components that are unlocked further into the campaign, for example placing a {{Component|ADD (word)|word adder|alpha}} in the ''Half Adder' level.
* Indelible (red) components can also be deleted from levels.
* Indelible (red) components can also be deleted from levels.

Revision as of 06:34, 14 January 2025

The game console allows you to modify the game experience in various ways. It is primarily useful for (and intended for) development and debugging purposes.

Accessing the console

To access the console, open the main menu by clicking the "hamburger" icon () in the upper left corner of the game window or by pressing Escape, and then press q.

Some commands operate on a selected component. In these cases you will have to click the "hamburger" icon () as Escape will deselect the selected component and prevent the command from functioning correctly.

Available commands

dev_mode

dev_mode has two states: dev_mode on or dev_mode off. When enabled, several changes to the game's interface occur:

  • The component selection menu is available on the main map.
    • Of particular interest is the "Level component" component under the DEV menu. This allows you to link custom levels to the main map.
  • All components are available on all levels:
    • Indelible (red) components, such as Four-bit input.
    • Sandbox-only components, such as File loader.
    • Normal components that are unlocked further into the campaign, for example placing a word adder in the Half Adder' level.
  • Indelible (red) components can also be deleted from levels.