examples: Clean up README

This commit is contained in:
Hajime Hoshi 2018-03-26 01:56:42 +09:00
parent 5f2cdd7d62
commit 12605be1b0

View File

@ -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.