tbftss/README_DEV.md

18 lines
777 B
Markdown
Raw Normal View History

2016-02-24 16:54:14 +01:00
# DEVELOPMENT / DEBUG Stuff
2016-02-24 08:25:17 +01:00
You can run the game with
2016-02-24 16:54:14 +01:00
`./tbftss -debug`
2016-02-24 08:25:17 +01:00
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.
2016-02-24 16:54:14 +01:00
* [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
2016-02-24 08:25:17 +01:00
2016-02-24 16:54:14 +01:00
* [9] - Show the current frames per second
2016-03-06 10:48:09 +01:00
* [0] - Take a screenshot once per second, saving to /tmp/tbftss on Linux.