mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Ebitengine - A dead simple 2D game engine for Go
ebitenebitenginegamegame-2dgame-developmentgame-enginegame-engine-2dgame-librarygamedevgogolanggolang-library
93537650c0
context_windows.go is used for all the platforms. However, it used syscall.Syscall which behaves differently on macOS and Windows as well as windows.BytePtrToString which isn't available on Linux or macOS. This commit replaces syscall.Syscall with purego.SyscallN and windows.BytePtrToString with a copied version called bytePtrToString. Updates #2546 |
||
---|---|---|
.builds | ||
.github | ||
audio | ||
cmd/ebitenmobile | ||
colorm | ||
ebitenutil | ||
examples | ||
inpututil | ||
internal | ||
misc | ||
mobile | ||
text | ||
vector | ||
.gitignore | ||
blend.go | ||
CODE_OF_CONDUCT.md | ||
colorm.go | ||
colorscale.go | ||
CONTRIBUTING.md | ||
cursor.go | ||
doc.go | ||
export_test.go | ||
gameforui.go | ||
gamepad.go | ||
generate.go | ||
genevents.go | ||
genkeys.go | ||
geom_test.go | ||
geom.go | ||
go.mod | ||
go.sum | ||
graphics.go | ||
image_test.go | ||
image.go | ||
imagedumper.go | ||
imagetobytes_test.go | ||
imagetobytes.go | ||
input.go | ||
keys.go | ||
LICENSE | ||
mousebuttons.go | ||
README.md | ||
run_mobile.go | ||
run.go | ||
shader_test.go | ||
shader.go | ||
vibrate.go | ||
window.go |
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 (No Cgo required!)
- macOS
- Linux
- FreeBSD
- Android
- iOS
- WebAssembly
- Nintendo Switch™ (Native compiling!)
Note: External (bluetooth) keyboards are not available on iOS yet.
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
#ebitengine
channel in Gophers Slack- GitHub Discussion
r/ebitengine
in 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-NoDerivatives 4.0.