mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 18:02:02 +01:00
Ebitengine - A dead simple 2D game engine for Go
ebitenebitenginegamegame-2dgame-developmentgame-enginegame-engine-2dgame-librarygamedevgogolanggolang-library
151dfffad6
This constant was set with some wrong assumptions: 1. On Android, recovering was needed. 2. On iOS, OpenGL ES was used when a. The architecture was 386 or amd64 == an emulator is used b. The build tag ebitengl was not specified c. gomobile-build was used 3. On browsers, recovering was needed. 1., 2b, and 2c are correct. 2a. is not correct: Now emulators are available on all the architectures with both Metal and OpenGL. 3. is not correct: Ebiten no longer recovers the contest lost. Now, Ebiten can detect a context lost explicitly when 1. On Android 2. On iOS and on gomobile-build (When gomobile-build is used, OpenGL should always be used) Based on this fact, this change changes the constant to a variable, and fixes the logic to set the variable. |
||
---|---|---|
.builds | ||
.github | ||
audio | ||
cmd/ebitenmobile | ||
docs | ||
ebitenutil | ||
examples | ||
inpututil | ||
internal | ||
misc | ||
mobile | ||
text | ||
vector | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
CODE_OF_CONDUCT.md | ||
colorm_test.go | ||
colorm.go | ||
CONTRIBUTING.md | ||
cursor.go | ||
debug_ebitendebug.go | ||
debug_notebitendebug.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_desktop.go | ||
imagedumper_notdesktop.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 |
Ebiten (v2)
A dead simple 2D game library for Go
Ebiten is an open source game library for the Go programming language. Ebiten's simple API allows you to quickly and easily develop 2D games that can be deployed across multiple platforms.
Platforms
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
#ebiten
channel in Gophers Slack- GitHub Discussion
r/ebiten
in Reddit
License
Ebiten is licensed under Apache license version 2.0. See LICENSE file.
The Ebiten logo by Hajime Hoshi is licensed under the Creative Commons Attribution-NoDerivatives 4.0.