18 lines
820 B
Markdown
18 lines
820 B
Markdown
# DEVELOPMENT / DEBUG Stuff
|
|
|
|
You can run the game with
|
|
|
|
`./tbftss -debug`
|
|
|
|
to access some (rather crude) debugging and development stuff, activated by pressing certain keys on the keyboard. Press the following keys to toggle the states (see the console for output). Note to porters - you shouldn't distribute the game in this state (either as a hard compile or run script), as it could result in unexpected behaviour.
|
|
|
|
* [1] - Make the player immortal
|
|
* [2] - Unlimited missiles
|
|
* [3] - Prevent the AI from using weapons
|
|
* [4] - Prevent the AI from taking any further actions
|
|
* [5] - Make everything immortal
|
|
* [6] - Immediately complete the current mission
|
|
|
|
* [9] - Show the current frames per second
|
|
* [0] - Take a screenshot once per second. Assumes the existance of dev/screenshots/tmp relative to the game's binary
|