{{comment .License}} Ebiten - A simple SNES-like 2D game library in Go

Ebiten (海老天)

v{{.StableVersion}}

Features

Example

{{range .Examples}} Ebiten example: {{.Name}} {{end}}

Install on Mac OS X

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

If you want to run your game on a web browser, execute this:

:; go get github.com/gopherjs/gopherjs
:; go get github.com/gopherjs/webgl

Execute the example

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

Run your game on a desktop

Just execute your Go program. That's it!

Run your game on a web browser

Compile your game with GopherJS:

:; gopherjs build -o yourgame.js path/to/yourgame

Then, open the below HTML on your HTTP server:

<!DOCTYPE html>
<script src="yourgame.js"></script>

NOTE: file:// URL may not work with Ebiten. Execute your game on a HTTP server.

Change Log

2015-??-??

2015-01-10

2015-01-04

2014-12-29

License

Ebiten

{{.License}}

Go Gopher photograph

The original photograph of Go gophers by Chris Nokleberg is licensed under the Creative Commons 3.0 Attributions license.