mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
examples: Clean up README
This commit is contained in:
parent
5f2cdd7d62
commit
12605be1b0
@ -1,10 +1,12 @@
|
||||
# How to execute the examples
|
||||
|
||||
## Desktops
|
||||
|
||||
```sh
|
||||
go run -tags=example $GOPATH/src/github.com/hajimehoshi/ebiten/examples/rotate/main.go
|
||||
```
|
||||
|
||||
## How to execute the examples on browsers
|
||||
## Web Browsers
|
||||
|
||||
```sh
|
||||
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`.
|
||||
|
||||
## How to execute the examples on Android
|
||||
## Android
|
||||
|
||||
Install [gomobile](https://godoc.org/golang.org/x/mobile/cmd/gomobile) first.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user