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
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Breadcrumbs|Alpha Branch}}
{{Early-access-version|0|1346}}
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.
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.


Line 11: Line 13:
** 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|4-bit input (dev)|4-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|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.

Latest revision as of 00:46, 15 January 2025

wip
wip

This page descibes the early access verion 0.1346 Beta. It may not be completely correct for the the current stable version, nor the latest unstable version. Help us update it, and you get a cookie.

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[edit | edit source]

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[edit | edit source]

dev_mode[edit | edit source]

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 4-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.