2014-10-12 06:09:19 +02:00
|
|
|
# Ebiten (海老天)
|
|
|
|
|
|
|
|
A simple 2D game library in Go.
|
|
|
|
|
|
|
|
## How to use
|
|
|
|
|
|
|
|
Please read example/main.go and example/blocks/*.
|
|
|
|
|
|
|
|
Be careful that this library is now being developed actively and API can be
|
|
|
|
changed easily.
|
|
|
|
|
2014-12-05 19:14:03 +01:00
|
|
|
## How to install Ebiten on Mac OS X
|
|
|
|
|
|
|
|
```
|
|
|
|
:; brew install glew
|
|
|
|
:; brew install glfw
|
|
|
|
:; go get -u github.com/go-gl/gl
|
|
|
|
:; go get -u github.com/go-gl/glfw
|
|
|
|
:; go get -u github.com/hajimehoshi/ebiten
|
|
|
|
```
|
|
|
|
|
2014-10-12 07:07:44 +02:00
|
|
|
## How to execute the example
|
|
|
|
|
2014-12-05 11:50:04 +01:00
|
|
|
```
|
2014-12-05 19:20:49 +01:00
|
|
|
:; cd $GOHOME/src/github.com/hajimehoshi/ebiten/example
|
2014-12-06 17:09:59 +01:00
|
|
|
:; go run main.go
|
2014-12-05 11:50:04 +01:00
|
|
|
```
|
2014-10-12 07:07:44 +02:00
|
|
|
|
2014-10-12 06:09:19 +02:00
|
|
|
## License
|
|
|
|
|
|
|
|
Copyright 2014 Hajime Hoshi
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|