mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
examples: Clean up README
This commit is contained in:
parent
5f2cdd7d62
commit
12605be1b0
@ -1,10 +1,12 @@
|
|||||||
# How to execute the examples
|
# How to execute the examples
|
||||||
|
|
||||||
|
## Desktops
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go run -tags=example $GOPATH/src/github.com/hajimehoshi/ebiten/examples/rotate/main.go
|
go run -tags=example $GOPATH/src/github.com/hajimehoshi/ebiten/examples/rotate/main.go
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to execute the examples on browsers
|
## Web Browsers
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
gopherjs serve --tags=example
|
gopherjs serve --tags=example
|
||||||
@ -12,7 +14,7 @@ gopherjs serve --tags=example
|
|||||||
|
|
||||||
and access `http://127.0.0.1:8080/github.com/hajimehoshi/ebiten/examples`.
|
and access `http://127.0.0.1:8080/github.com/hajimehoshi/ebiten/examples`.
|
||||||
|
|
||||||
## How to execute the examples on Android
|
## Android
|
||||||
|
|
||||||
Install [gomobile](https://godoc.org/golang.org/x/mobile/cmd/gomobile) first.
|
Install [gomobile](https://godoc.org/golang.org/x/mobile/cmd/gomobile) first.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user