Ebitengine - A dead simple 2D game engine for Go
Go to file
2014-12-23 02:25:05 +09:00
ebitenutil Implement image.Image at ebiten.Image (#35) 2014-12-23 01:27:11 +09:00
example Implement image.Image at ebiten.Image (#35) 2014-12-23 01:27:11 +09:00
internal Implement image.Image at ebiten.Image (#35) 2014-12-23 01:27:11 +09:00
testdata Add test for NewImageFromImage 2014-12-23 01:51:16 +09:00
.gitignore Add ui.Run 2014-12-07 01:09:59 +09:00
affine.go Remove dependencies on ebiten from shader 2014-12-13 14:53:54 +09:00
colormatrix_test.go Add license comments (#18) 2014-12-09 23:16:04 +09:00
colormatrix.go Bug fix: ColorMatrix should treat straight alpha 2014-12-22 23:08:13 +09:00
gamecontext.go go lint 2014-12-22 11:20:14 +09:00
geometrymatrix_test.go Add license comments (#18) 2014-12-09 23:16:04 +09:00
geometrymatrix.go Rename Texture -> Image (#29) 2014-12-21 02:55:15 +09:00
graphics.go Unify RenderTarget and Image into Image (#34) 2014-12-22 11:10:08 +09:00
graphicscontext.go Rename opengl.Image (that is originally wrong) -> opengl.Framebuffer 2014-12-23 00:01:22 +09:00
image_test.go Add TestComposition 2014-12-23 02:25:05 +09:00
image.go Implement image.Image at ebiten.Image (#35) 2014-12-23 01:27:11 +09:00
input.go Hide members of RenderTarget (again) 2014-12-14 18:34:47 +09:00
keys.go Add comments (to pass golint) 2014-12-14 22:05:44 +09:00
readme.md Fix readme: 'go get' installs dependencies 2014-12-22 01:58:45 +09:00
run.go Unify RenderTarget and Image into Image (#34) 2014-12-22 11:10:08 +09:00
ui.go Implement image.Image at ebiten.Image (#35) 2014-12-23 01:27:11 +09:00

Ebiten (海老天)

A simple 2D game library in Go.

How to use

Please read Go files in the example directory.

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 glfw3 # or homebrew/versions/glfw3
:; go get -u github.com/hajimehoshi/ebiten

How to execute the example

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

How to benchmark the example

:; cd $GOHOME/src/github.com/hajimehoshi/ebiten/example
:; go build -o=example blocks/main.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.