The game console: Difference between revisions

From Turing Complete
(Created page with "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 {{Hamburger}} in the upper left corner of the game window or by pressing <code>Escape</code>, and then press <code>q</code>. {{note|type=info|Some commands operate on a selected component. In these cases you will have to click {{Hamb...")
 
No edit summary
Line 11: Line 11:
** Of particular interest is the "Level component" component under the DEV menu.  This allows you to link [[Custom level creation|custom levels]] to the main map.
** Of particular interest is the "Level component" component under the DEV menu.  This allows you to link [[Custom level creation|custom levels]] to the main map.
* All components are available on all levels:
* All components are available on all levels:
** Indelible (red) components, such as {{Component|Four-bit input}}.
** Indelible (red) components, such as {{Component|Four-bit input||alpha}}.
** Sandbox-only components, such as {{Component|File loader}}.
** 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}} in the ''Half Adder' level.
** Normal components that are unlocked further into the campaign, for example placing a {{Component|Byte 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.
Link to [[#dev_mode|Dev Mode]]

Revision as of 05:24, 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 Byte adder in the Half Adder' level.
  • Indelible (red) components can also be deleted from levels.

Link to Dev Mode