Ebitengine - A dead simple 2D game engine for Go
Go to file
2015-01-05 10:31:48 +09:00
_docs Update docs 2015-01-03 01:24:37 +09:00
ebitenutil Use ImageParts 2015-01-05 10:08:00 +09:00
example Use new style methods of matrices (ColorM) 2015-01-05 10:31:48 +09:00
internal Introduce ImageParts 2015-01-05 09:32:27 +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
.travis.yml Update .travis.yml to pass tests 2014-12-28 22:25:19 +09:00
affine.go Make the elements of matrices optional 2014-12-26 11:22:36 +09:00
colorm_test.go Rename files 2014-12-27 17:15:16 +09:00
colorm.go Refactoring: matrix initialization 2015-01-03 22:54:01 +09:00
doc.go Add favicon.png 2014-12-28 16:54:13 +09:00
gamecontext.go Hide structs in internal/ui 2015-01-02 03:25:31 +09:00
geom_test.go Rename files 2014-12-27 17:15:16 +09:00
geom.go Use new style methods of matrices 2015-01-05 10:30:33 +09:00
graphics.go Add opengl.Context.NewBuffer 2014-12-31 17:45:23 +09:00
graphicscontext.go Use new style methods of matrices 2015-01-05 10:30:33 +09:00
image_test.go Fix image_test.go to check if something is rendered 2014-12-25 18:42:55 +09:00
image.go Fix comment 2015-01-05 10:08:54 +09:00
keys.go Add internal/ui module 2015-01-02 02:13:27 +09:00
license.txt Happy New Year 2015 2015-01-01 00:04:06 +09:00
readme.md Introduce ImageParts 2015-01-05 09:32:27 +09:00
run.go Remove ui.ActualScale() 2015-01-02 03:28:43 +09:00
version.txt Update version (1.1.0-alpha) 2014-12-29 23:54:22 +09:00

Ebiten (海老天)

Build Status

  • A simple SNES-like 2D game library in Go
  • Works on
    • HTML5 (powered by GopherJS)
    • Mac OS X
    • Linux (maybe)
    • Windows (possibly)
  • API Docs

Features

  • 2D Graphics
  • Input (Mouse, Keyboard)

Example

  • example/blocks - Puzzle game you know
  • example/hue - Changes the hue of an image
  • example/mosaic - Mosaics an image
  • example/perspective - See an image in a perspective view
  • example/rotate - Rotates an image
  • etc.

Install on Mac OS X

:; brew install glew
:; brew install glfw3 # or homebrew/versions/glfw3
:; go get -u github.com/hajimehoshi/ebiten

If you want to use GopherJS, execute this:

:; go get -u -tag=js github.com/hajimehoshi/ebiten

Execute the example

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

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

Versioning

License

See license.txt.