ebiten README

The project's README from github.com/hajimehoshi/ebiten. As one markdown file: README.md.

Ebitengine (v2)

Go Reference Build Status

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.

Overview

Platforms

For installation on desktops, see the installation instruction.

Features

Packages

AI coding agents

If you use an AI coding agent to write or modify Ebitengine code or applications, point it at the skills directory, which holds skills for working with this repository.

Community

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 NOTICE.md for their licenses.

ebiten (hajimehoshi/ebiten)

Searching Database…

13.6K ·GitHub
这是什么?Ebitengine(原名 Ebiten)是一个面向 Go 的开源 2D 游戏引擎:提供一套简单的 API,用来开发可以部署到众多平台的 2D 游戏。
它是一个完整的引擎,还是一套需要我自己拼装的库?是一个完整的引擎:你用 Go 针对它的 API 编写游戏,它以一组包的形式发布——ebiten、audio、text/v2、vector、mobile——覆盖图形、输入和声音。
我怎么把它装进一个 Go 项目?把它作为你 Go 项目的一个依赖添加进去;桌面环境的安装步骤,README 指向了 ebitengine.org 上的安装说明。
这些目标平台都能直接用 Go 编译吗,还是有一些需要额外的工具?桌面版和 WebAssembly 目标只需纯 Go;Android、iOS、Switch 和 Xbox 需要 Cgo,而且 Xbox 的支持还比较有限,并非所有人都能使用。
用它开发的游戏实际能跑在哪些平台上?Windows、macOS、Linux、FreeBSD、Android、iOS 和 WebAssembly,另外还有 Nintendo Switch 和 Xbox。
这个引擎开箱自带哪些功能?2D 图形,支持基于矩阵的几何变换和颜色变换、合成模式、离屏渲染、文字渲染、自动批处理和纹理图集,以及自定义着色器;输入支持鼠标、键盘、游戏手柄和触屏;音频支持 Ogg/Vorbis、MP3、WAV 和 PCM。
对 Go 开发者来说学习曲线陡吗?设计上就很平缓——它的卖点就是一套极其简单的 API,让你快速轻松地开发 2D 游戏,ebitengine.org 上还有 API 参考文档和速查表。主要的前提就是会 Go。
exp/ 开头的那些包是做什么的?除了稳定的核心包(ebiten、audio、text/v2、vector)之外,README 还列出了几个实验性包:exp/shaderprecomp、exp/textinput 和 exp/vmhost。它们是仍标记为实验性的附加组件,所以别指望它们像核心部分那么稳定。
我可以让 AI 编程助手来处理这个仓库吗?可以。这个仓库有一个 skills 目录,里面放着用于协助使用该仓库的技能文件——在编写或修改 Ebitengine 代码或应用时,把你的 AI 编程助手指向它即可。
What are similar projects?bgfx, raylib, libgdx, flame, ArcadeMaker, iw4L, OpenDiablo2, egui
Size
113 MB
Stars
13.6K
Age
13y
Commits · 90 Days