ebiten/examples/README.md
2021-12-13 11:55:08 +09:00

513 B

How to execute the examples

Desktops

go run -tags=example github.com/hajimehoshi/ebiten/v2/examples/rotate

Android

Install gomobile first.

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

iOS

gomobile build -target=ios -tags=example -work github.com/hajimehoshi/ebiten/v2/examples/rotate

Then, open the WORK directory, open main.xcodeproj, add signing, and run the project.