GrafixersCrew WhatsApp us

Home › AI Game Development › Ebitengine

What is Ebitengine? the dead-simple 2D game engine for Go

Ebitengine (formerly known as Ebiten) is an open-source game engine for the Go programming language. Its simple API lets you quickly and easily develop 2D games that can be deployed across multiple platforms — desktop, mobile, web, and even consoles.

Ebitengine in one paragraph

Ebitengine (github.com/hajimehoshi/ebiten) is a 2D game engine written in Go, built around one idea: a simple API that stays out of your way. You write the game loop, draw with the engine’s graphics calls, and the same code runs on Windows, macOS, Linux, FreeBSD, Android, iOS and WebAssembly. It has been going since June 2013, passed 13,600 GitHub stars by December 2026, and is still actively developed — its most recent push at the time of writing was December 2026.

It is released under the Apache 2.0 licence, so anyone can use it, change it and ship commercial games with it. The project’s home is ebitengine.org, with an API reference on pkg.go.dev, a cheat sheet, and a community-curated list of Ebitengine games and libraries. There is no subscription and no editor to buy — it is a Go library, and your game is a Go program.

What Ebitengine actually does

Ebitengine covers the three things a 2D game needs — graphics, input and audio — and ships them everywhere Go runs.

1. 2D graphics with a simple API

Geometry and colour transformation by matrices, various composition modes, offscreen rendering, text rendering, automatic batching and an automatic texture atlas, plus custom shaders when you need them. The engine handles the batching for you, so drawing a lot of sprites stays fast without you managing it by hand.

2. Input and audio built in

Mouse, keyboard, gamepads and touches on the input side; Ogg/Vorbis, MP3, WAV and PCM audio on the sound side. The packages are split up — audio, ebitenutil, inpututil, text/v2, vector — so you only pull in what your game uses.

3. One codebase, many platforms

Windows, macOS, Linux and FreeBSD on desktop, Android and iOS on mobile, WebAssembly for the browser — and Nintendo Switch, PlayStation 5 and Xbox as well. Mobile and console builds need Cgo, and the README is honest that PlayStation 5 and Xbox support is limited and not available to everyone.

4. Docs, examples and a community

The website carries installation instructions per platform, a cheat sheet and the API reference, and there is an Awesome Ebitengine list of games and libraries. The community meets on Discord, the Gophers Slack #ebitengine channel, GitHub Discussions and r/ebitengine.

Download and setup

Ebitengine is a Go module: add it to your Go project and import github.com/hajimehoshi/ebiten/v2. Desktop installation instructions are on ebitengine.org; mobile builds need Cgo, and the site documents the extra steps for Android, iOS and WebAssembly.

What it costs

Ebitengine itself is free — Apache 2.0, no subscription, no per-game fee. The costs that can appear are the ones around it: a console development kit and approval if you want the PlayStation 5 or Xbox builds the README mentions, and your own time. The engine, the docs and the community are all free.

Who Ebitengine is for

Go developers making a 2D game

You already write Go and want to make a game without learning a second language. Ebitengine is a Go library, so your game is a Go program from the first line.

Indie developers shipping cross-platform

One codebase that runs on desktop, mobile and the web is exactly what a small team needs — write the game once, build it for every platform.

Developers who like small APIs

If a big engine with an editor feels like too much machinery, Ebitengine’s simple API is the opposite: a handful of calls, a game loop, and you are drawing sprites.

Mobile and web game developers

Android, iOS and WebAssembly are supported targets, so the same 2D game can reach phones and browsers without a rewrite.

Ebitengine at a glance

Honest limits

Ebitengine is 2D only — if your game needs 3D, this is the wrong engine. Mobile and console builds need Cgo, and PlayStation 5 and Xbox support is limited and not available to everyone, so console releases need a conversation with the platform holders, not just a build flag. And it is a code library, not a visual editor: there is no drag-and-drop scene builder, so you write the game in Go.

Want a game without doing the setup?

Ebitengine is one of the engines behind our AI game development service: we build your game in an engine like Ebitengine, playtest everything by hand, and hand over a finished game with its source code. Mini-games from £499, full 2D games from £1,499, 3D games from £2,999. You bring the idea; we do the build.

Have a game idea?

Tell us the idea — a sentence is enough. We will tell you what it takes and what it costs, honestly.