Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 986 Bytes

README_DEV.md

File metadata and controls

23 lines (15 loc) · 986 Bytes

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 packagers - 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, saving to /tmp/tbftss on Linux.

By default, the game will output INFO level messages, or greater. To reduce to WARN level messages, you can use:

./tbftss -warn

Note that using -debug will automatically output DEBUG level messages.