Skip to main content



The log! macro can log messages to the console for debugging purposes.

// Log a message
log!("DEBUG: {:?}", some_var);

Resetting Game State

In development mode, you can reset the state of the game to its initial state anytime by using a simple keyboard shortcut Cmd+R on MacOS/Linux and Ctrl+R on Windows.

Inspecting Your Spritesheet

You can capture your game's internal spritesheet via keyboard shortcut:

Cmd + 2