Ebitengine is a Go game engine for 2D titles deployable to desktop, mobile, browsers via WebAssembly, and some consoles when enabled.
Overview
Ebitengine (formerly Ebiten) provides a small API for building 2D games in Go. The model treats the screen, image assets, and offscreen buffers as images, with most rendering done by drawing one image onto another.
Graphics features include matrix transforms, multiple blend modes, offscreen rendering, text drawing, batched draws, internal texture atlases, and custom shaders. Input covers mouse, keyboard, gamepads, and touch. Audio supports common formats such as Ogg Vorbis, MP3, WAV, and PCM.
Supported deployment targets include Windows, macOS, Linux, FreeBSD, Android, iOS, and WebAssembly in browsers. Recent desktop builds can use pure Go without requiring a C compiler on those platforms. Console ports exist for Nintendo Switch, PlayStation 5, and Xbox with caveats noted in project docs.
Commercial games have shipped with the engine; the project site highlights examples and a showcase of published titles.
Key features
- Image-centric 2D rendering
- GPU-backed batched drawing
- Keyboard, mouse, gamepad, touch
- Ogg, MP3, WAV, PCM audio
- Custom shader support
- Desktop and mobile export
- WebAssembly browser builds
Use cases
- 2D indie games in Go
- Cross-platform mobile games
- Browser games via WebAssembly
- Learning Go game development