Nearly every part of Tempest Runtime is handled through an asynchronous state machine.
This includes scripts, objects, graphics, and various other miscellaneous tasks.
Until now, the only exception was the console, pausing the entire runtime when brought up.
When the new console is brought up, it is displayed as a floating window on top of everything else.
This window may be freely resized in both width and height within certain limits.
Below is a demo of moving and resizing the console:
With the new console come a few changes to other pre-existing systems.
Errors and warnings are no longer displayed on screen, rather they get logged to the console.
Rather than disappearing automatically after 5 seconds, up to 20 log messages will persist indefinitely in the console.
Below is a demo of logs appearing in the console:
Certain APIs changes were made to accomodate for the new console.
For starters, the disableLogs
and enableLogs
APIs no longer exist.
These APIs existed exclusively to hide any log messages from players, although with these logs now only being visible if the console is active, they no longer have a purpose.
In games where the console keyboard shortcut is disabled, it may still be accessed via the newly added showConsole
API.
Along with this change, the hideConsole
API was added to hide the console programatically.