Documentation ¶
Overview ¶
DevTools Terminal lets you write and execute Go code live when your game is running. You can run any Pi functions and access any Pi variables. You can also access your own variables and functions, but in order to do that you must first export them. This example shows how to do that.
Disclaimer: even though you can write and execute Go code when the game is running, this does not mean that the Go code is run in parallel. All operations written to terminal are run sequentially in the next iteration of the main game loop.
Click to show internal directories.
Click to hide internal directories.