Hero6 icon indicating copy to clipboard operation
Hero6 copied to clipboard

Debug Mode

Open persn opened this issue 8 years ago • 0 comments

We'll probably make our lives easier by implementing some kind of Debug Mode that allows us to rewrite game state on the fly. We had a debug mode by GUI in the AGS archived version, however extending the GUI for every time we gained new features quickly became painful as we would run out of space on the GUI control.

I propose that we implement a simple terminal that can be unlocked by pressing the '|' character. On debug build the debug mode would be accessible straight away for convenience, on release build it could be unlocked by having to type in first:

razzle dazzle root beer

or

suck blue frog

With this we should be able to access powerful editing to our game, for instance:

Get Hero Strength Will print 45, assuming the Hero character strength stat is 45.

Set Hero Strength 100 Will edit the strength stat for the hero so that it now is 100.

Get Time Will print 12:00.

Set Time 08:00 Will set the time of the current day to 08:00.

persn avatar Sep 18 '16 18:09 persn