Documentation
¶
Overview ¶
Package pidebug provides an API for pausing the game for debugging purposes. It is essential for building developer tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetPaused ¶
SetPaused pauses or resumes the game.
The game does not pause immediately, but only at the end of the current game loop iteration.
When the game is paused, most targets stop processing events (for example, piloop.Target or pikey.Target). Developer tools should use their debug-mode equivalents instead, such as piloop.DebugTarget or pikey.DebugTarget.
Types ¶
Click to show internal directories.
Click to hide internal directories.