proxy.golang.org : github.com/elgopher/pi : v0.20.0
Package pi provides API to develop retro games. Like other game development engines, Pi runs your game in a loop: Both pi.Update and pi.Draw functions are provided by you. By default, they do nothing. You can set them by using: To run the game please use the ebitengine back-end by calling ebitengine.Run or ebitengine.MustRun. During development, you might want to use dev-tools which provide tools for screen inspection and REPL terminal, where you can write Go code live when your game is running. To start the game with dev-tools please use: Please note that the entire pi package is not concurrency-safe. This means that it is unsafe to run functions and access package variables from go-routines started by your code.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/elgopher/[email protected]
Published:
Indexed:
Related tag:
v0.20.0
- github.com/davecgh/go-spew v1.1.1
- github.com/ebitengine/purego v0.0.0-20220905075623-aeed57cda744
- github.com/go-gl/glfw/v3.3/glfw v0.0.0-20220806181222-55e207c401ad
- github.com/hajimehoshi/ebiten/v2 v2.4.12
- github.com/hajimehoshi/file2byteslice v0.0.0-20210813153925-5340248a8f41
- github.com/jezek/xgb v1.0.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/testify v1.8.1
- golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56
- golang.org/x/image v0.1.0
- golang.org/x/mobile v0.0.0-20220722155234-aaac322e2105
- golang.org/x/sys v0.0.0-20220818161305-2296e01440c6
- gopkg.in/yaml.v3 v3.0.1