Ebitengine - A dead simple 2D game engine for Go
Go to file
2014-12-11 03:50:35 +09:00
ebitenutil Add GraphicsContext.PushOffscreen / PopOffscreen (#21) 2014-12-11 03:50:35 +09:00
example Add GraphicsContext.PushOffscreen / PopOffscreen (#21) 2014-12-11 03:50:35 +09:00
internal Add GraphicsContext.PushOffscreen / PopOffscreen (#21) 2014-12-11 03:50:35 +09:00
runner Remove some methods; Add Game.Initialize 2014-12-11 01:12:46 +09:00
.gitignore Add ui.Run 2014-12-07 01:09:59 +09:00
affine.go Add license comments (#18) 2014-12-09 23:16:04 +09:00
colormatrix_test.go Add license comments (#18) 2014-12-09 23:16:04 +09:00
colormatrix.go Add license comments (#18) 2014-12-09 23:16:04 +09:00
gamecontext.go Add ebitenutil/debugprint.go 2014-12-11 01:59:38 +09:00
geometrymatrix_test.go Add license comments (#18) 2014-12-09 23:16:04 +09:00
geometrymatrix.go Bug fix: Rename GeometryDim -> GeometryMatrixDim 2014-12-10 00:32:49 +09:00
graphics.go Add GraphicsContext.PushOffscreen / PopOffscreen (#21) 2014-12-11 03:50:35 +09:00
input.go Remove some methods; Add Game.Initialize 2014-12-11 01:12:46 +09:00
readme.md Revert main.go as blocks.go 2014-12-09 01:35:35 +09: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.

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

How to execute the example

:; cd $GOHOME/src/github.com/hajimehoshi/ebiten/example/blocks
:; go run blocks.go

How to benchmark the example

:; cd $GOHOME/src/github.com/hajimehoshi/ebiten/example/blocks
:; go build -o=example blocks.go
:; ./example -cpuprofile=cpu.out
:; go tool pprof ./example cpu.out

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.