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