// go · ebitengine · game dev

Build Games with Go.
Reference at Your Side.

A complete Ebitengine reference guide — code examples, API docs, and patterns for building 2D games in Go. Offline, fast, always ready.

8
Topics
50+
Code Examples
100%
Offline
Topics screen
Home screen
Code reference screen
// A minimal Ebitengine game — everything starts here type Game struct{ x, y float64 } func (g *Game) Update() error { if ebiten.IsKeyPressed(ebiten.KeyArrowRight) { g.x += 2 } return nil } func (g *Game) Draw(screen *ebiten.Image) { ebitenutil.DrawRect(screen, g.x, g.y, 32, 32, color.RGBA{108, 99, 255, 255}) } func (g *Game) Layout(_, _ int) (int, int) { return 640, 480 }

Your Go Game Dev Companion

📖

Complete Reference

Every major Ebitengine API documented with real code examples you can paste directly into your game.

Quick Reference

Pin the most common patterns — game loop, input handling, audio — for instant access while you code.

🔍

Instant Search

Search across all topics and code examples in milliseconds. Find what you need without scrolling.

📡

Fully Offline

No internet required. Reference the docs anywhere — on a plane, at a game jam, or off the grid.

🎮

Game-Focused

Not a generic Go reference. Every example is relevant to building real 2D games with Ebitengine.

🆓

Free

No subscriptions, no paywalls, no account required. Just download and start building.

Everything Ebitengine, Covered

From setting up your first project to writing custom GPU shaders — the full Ebitengine surface area in one app.

Getting Started
Game Loop
Drawing
Input
Audio
Images & Sprites
Geometry & Math
Shaders (Kage)

Download Free on the App Store

Ebitengine Guide is free to download. No account required, no paywalls. Open it and start shipping your game.

Download on the App Store
Ebitengine Guide App Icon