mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
Ebitengine - A dead simple 2D game engine for Go
ebitenebitenginegamegame-2dgame-developmentgame-enginegame-engine-2dgame-librarygamedevgogolanggolang-library
4ce850df70
Fixes #792 Clearing the screen is so special on some environments (like macOS Metal) that other operations on other images can be invalidated. This fixes the issue by resolving the pixels of the offscreen that is used as a render source for the screen before the screen is cleared. We are not sure this is a correct way, but this actually fixes the problem on macOS. |
||
---|---|---|
_docs | ||
audio | ||
docs | ||
ebitenutil | ||
examples | ||
inpututil | ||
internal | ||
mobile | ||
text | ||
.gitignore | ||
.travis.yml | ||
AUTHORS | ||
colorm_test.go | ||
colorm.go | ||
debug_ebitendebug.go | ||
debug_notebitendebug.go | ||
doc.go | ||
gamepad.go | ||
generate.go | ||
genkeys.go | ||
geom_test.go | ||
geom.go | ||
go.mod | ||
go.sum | ||
goversion.go | ||
graphics.go | ||
graphicscontext.go | ||
image_test.go | ||
image.go | ||
imagedumper_desktop.go | ||
imagedumper_notdesktop.go | ||
imageparts.go | ||
input.go | ||
keys.go | ||
LICENSE | ||
mousebuttons.go | ||
README.md | ||
run.go |
Ebiten (海老天)
A dead simple 2D game library in Go
Platforms
- Windows (No Cgo!)
- macOS
- Linux
- FreeBSD
- Android
- iOS
- Web browsers (Chrome, Firefox, Safari and Edge)
- GopherJS
- WebAssembly (Experimental)
Note: Gamepad and keyboard are not available on Android/iOS.
Features
- 2D Graphics (Geometry/Color matrix transformation, Various composition modes, Offscreen rendering, Fullscreen, Text rendering, Automatic batches, Automatic texture atlas)
- Input (Mouse, Keyboard, Gamepads, Touches)
- Audio (Ogg/Vorbis, MP3, WAV, PCM)
Packages
Community
Slack
#ebiten
channel in Gophers Slack
License
Ebiten is licensed under Apache license version 2.0. See LICENSE file.