proxy.golang.org : github.com/elgopher/pi : v0.25.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:
- github.com/davecgh/go-spew v1.1.1
- github.com/ebitengine/purego v0.4.0
- github.com/go-gl/glfw/v3.3/glfw v0.0.0-20221017161538-93cebf72946b
- github.com/hajimehoshi/ebiten/v2 v2.5.6
- github.com/hajimehoshi/oto/v2 v2.4.1
- github.com/jezek/xgb v1.1.0
- github.com/mattn/go-runewidth v0.0.9
- github.com/peterh/liner v1.2.2
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/testify v1.8.4
- github.com/traefik/yaegi v0.15.1
- golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56
- golang.org/x/image v0.6.0
- golang.org/x/mobile v0.0.0-20230301163155-e0f57694e12c
- golang.org/x/sync v0.1.0
- golang.org/x/sys v0.7.0
- gopkg.in/yaml.v3 v3.0.1