Ebitengine - A dead simple 2D game engine for Go
Go to file
2014-12-29 01:45:18 +09:00
_docs Replace panic with log.Fatal 2014-12-29 01:09:38 +09:00
ebitenutil Reduce panics (#16) 2014-12-29 00:21:40 +09:00
example Remove blocks.Images 2014-12-29 01:07:34 +09:00
internal Reduce panics (#16) 2014-12-29 00:21:40 +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 Remove ebiten.rgba 2014-12-29 01:45:18 +09:00
doc.go Add favicon.png 2014-12-28 16:54:13 +09:00
gamecontext.go Change license comments style to use magic comments (magic comments like +build should be placed before a general comment) 2014-12-24 11:04:10 +09:00
geom_test.go Rename files 2014-12-27 17:15:16 +09:00
geom.go Rename files 2014-12-27 17:15:16 +09:00
graphics.go Change license comments style to use magic comments (magic comments like +build should be placed before a general comment) 2014-12-24 11:04:10 +09:00
graphicscontext.go Rename ColorGeometry -> ColorM, GeometryMatrix -> GeoM (#27) 2014-12-26 22:50:25 +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 Reduce panics (#16) 2014-12-29 00:21:40 +09:00
input.go Change license comments style to use magic comments (magic comments like +build should be placed before a general comment) 2014-12-24 11:04:10 +09:00
keys.go Change license comments style to use magic comments (magic comments like +build should be placed before a general comment) 2014-12-24 11:04:10 +09:00
readme.md Add travis status 2014-12-28 22:27:07 +09:00
run.go Fix doc 2014-12-28 17:11:24 +09:00
ui.go Bug fix: SetFramebufferSizeCallback can be called immediately 2014-12-26 21:49:31 +09:00

Ebiten (海老天) v1.0.0-alpha

Build Status

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

Features

  • 2D Graphics
  • Input (Mouse, Keyboard)

Example

  • 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

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

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.