scripting

command
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL