mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
examples: update README
This commit is contained in:
parent
9787e076bc
commit
12b5a6c3d6
@ -3,7 +3,7 @@
|
||||
## Desktops
|
||||
|
||||
```sh
|
||||
go run -tags=example github.com/hajimehoshi/ebiten/examples/rotate
|
||||
go run -tags=example github.com/hajimehoshi/ebiten/v2/examples/rotate
|
||||
```
|
||||
|
||||
## Android
|
||||
@ -11,13 +11,13 @@ go run -tags=example github.com/hajimehoshi/ebiten/examples/rotate
|
||||
Install [gomobile](https://pkg.go.dev/golang.org/x/mobile/cmd/gomobile) first.
|
||||
|
||||
```sh
|
||||
gomobile install -tags=example github.com/hajimehoshi/ebiten/examples/rotate
|
||||
gomobile install -tags=example github.com/hajimehoshi/ebiten/v2/examples/rotate
|
||||
```
|
||||
|
||||
## iOS
|
||||
|
||||
```sh
|
||||
gomobile build -target=ios -tags=example -work github.com/hajimehoshi/ebiten/examples/rotate
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user