Android、iOS 及主机平台需要启用 Cgo;PlayStation 5 与 Xbox 支持受限,并非对所有人开放;桌面安装细节需另看官方安装文档。
go get github.com/hajimehoshi/ebiten/v2README 未说明具体显存或 GPU 型号要求;桌面平台支持 Windows、macOS、Linux、FreeBSD,移动端 Android/iOS 需 Cgo,另支持 WebAssembly。
Go 语言写的极简 2D 游戏引擎,用简单 API 快速开发跨平台 2D 游戏
用 Go 写 2D 游戏的极简引擎,API 简单易上手,省去图形渲染和输入处理的繁琐,适合快速做小游戏原型。
核心能力
- 用矩阵做几何与颜色变换的 2D 图形渲染
- 支持多种合成模式与离屏渲染
- 自动批处理与自动纹理图集减少绘制开销
- 支持自定义着色器扩展渲染效果
- 统一处理鼠标键盘手柄与触摸输入
容易踩的坑
- v2.10.6最新正式版2026-11-07 · 2026-11-07 04:03 UTC
- v2.10.52026-10-09 · 2026-10-09 19:24 UTC
- v2.10.42026-09-25 · 2026-09-25 18:13 UTC
- v2.10.32026-09-22 · 2026-09-22 16:06 UTC
- v2.10.22026-09-13 · 2026-09-13 15:13 UTC
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Ebitengine (v2)
A dead simple 2D game engine for Go
Ebitengine (formerly known as Ebiten) is an open source game engine for the Go programming language. Ebitengine's simple API allows you to quickly and easily develop 2D games that can be deployed across multiple platforms.

Platforms
- Windows
- macOS
- Linux
- FreeBSD
- Android (Cgo required)
- iOS (Cgo required)
- WebAssembly
- Nintendo Switch (Cgo required)
- PlayStation 5 (Cgo required) (PlayStation 5 support is limited and not available to everyone.)
- Xbox (Cgo required) (Xbox support is limited and not available to everyone. Negotiations are currently underway to make it accessible to all.)
For installation on desktops, see the installation instruction.
Features
- 2D Graphics (Geometry and color transformation by matrices, Various composition modes, Offscreen rendering, Text rendering, Automatic batches, Automatic texture atlas, Custom shaders)
- Input (Mouse, Keyboard, Gamepads, Touches)
- Audio (Ogg/Vorbis, MP3, WAV, PCM)
Packages
Community
- Discord
#ebitenginechannel in Gophers Slack- GitHub Discussion
r/ebitenginein Reddit
License
Ebitengine is licensed under Apache license version 2.0. See LICENSE file.
The Ebitengine logo by Hajime Hoshi is licensed under the Creative Commons Attribution 4.0.
Ebitengine bundles third-party libraries. See THIRD_PARTY_LICENSES.md for their licenses.