Box Smasher logo

Debug features

The game contains some debug features that are useful for debugging, developing the game or for making levels for the game. Most code for the debug options are contained within the dbg.lua file, with some other debug functionality existing in other parts of the game where they are needed to be placed.

Enable debug features

If you are running the game from the source tree cloned with Git, debug features should be enabled by default.

Otherwise, you can create a file called debug.txt in the game’s save directory (see the LÖVE wiki where it is located) to enable debug features.

When debug features are active, there should be a red text that says “DEBUG” in the about screen accessible from the main menu.

Debug keybinds

Debug keybinds all use the F3 key as activator, with an arbitrary letter key to activate a specific debug option.