ebiten/examples/README.md
2018-03-26 01:56:42 +09:00

470 B

How to execute the examples

Desktops

go run -tags=example $GOPATH/src/github.com/hajimehoshi/ebiten/examples/rotate/main.go

Web Browsers

gopherjs serve --tags=example

and access http://127.0.0.1:8080/github.com/hajimehoshi/ebiten/examples.

Android

Install gomobile first.

gomobile install -tags="gomobilebuild example" github.com/hajimehoshi/ebiten/examples/rotate