mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 10:42:42 +01:00
Update readme
This commit is contained in:
parent
27fe3d9ab8
commit
341f7a56cc
18
readme.md
18
readme.md
@ -1,15 +1,15 @@
|
|||||||
# Ebiten (海老天)
|
# Ebiten (海老天)
|
||||||
|
|
||||||
A simple 2D game library in Go.
|
* A simple 2D game library in Go.
|
||||||
|
* Works only on Mac OS X so far.
|
||||||
|
* [API Docs](http://godoc.org/github.com/hajimehoshi/ebiten)
|
||||||
|
|
||||||
## How to use
|
## Usage
|
||||||
|
|
||||||
Please read Go files in the example directory.
|
* Please read Go files in the example directory.
|
||||||
|
* Be careful that this library is now being developed actively and API can be changed easily.
|
||||||
|
|
||||||
Be careful that this library is now being developed actively and API can be
|
## Install on Mac OS X
|
||||||
changed easily.
|
|
||||||
|
|
||||||
## How to install Ebiten on Mac OS X
|
|
||||||
|
|
||||||
```
|
```
|
||||||
:; brew install glew
|
:; brew install glew
|
||||||
@ -17,14 +17,14 @@ changed easily.
|
|||||||
:; go get -u github.com/hajimehoshi/ebiten
|
:; go get -u github.com/hajimehoshi/ebiten
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to execute the example
|
## Execute the example
|
||||||
|
|
||||||
```
|
```
|
||||||
:; cd $GOHOME/src/github.com/hajimehoshi/ebiten/example
|
:; cd $GOHOME/src/github.com/hajimehoshi/ebiten/example
|
||||||
:; go run blocks/main.go
|
:; go run blocks/main.go
|
||||||
```
|
```
|
||||||
|
|
||||||
### How to benchmark the example
|
### Benchmark the example
|
||||||
|
|
||||||
```
|
```
|
||||||
:; cd $GOHOME/src/github.com/hajimehoshi/ebiten/example
|
:; cd $GOHOME/src/github.com/hajimehoshi/ebiten/example
|
||||||
|
Loading…
Reference in New Issue
Block a user