mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
Ebitengine - A dead simple 2D game engine for Go
ebitenebitenginegamegame-2dgame-developmentgame-enginegame-engine-2dgame-librarygamedevgogolanggolang-library
2edb286ec4
In theory, a closed player was used unexpectedly by these steps: 1. Suspend is called by switching the application 2. Player_Close is called 3. Resume is called by reactivating the application The set of GetPlayersToResume() had a closed player and the trying to play it caused the use-after-free problem. This changes fixes the issue by removing the player from the set of GetPlayerToResume() when closing it. iOS version already has the logic to remove the player appropriately. Updates #1645 Closes #1646 |
||
---|---|---|
.builds | ||
.github | ||
audio | ||
cmd/ebitenmobile | ||
docs | ||
ebitenutil | ||
examples | ||
inpututil | ||
internal | ||
mobile | ||
nintendoswitch | ||
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 | ||
gamepad.go | ||
generate.go | ||
genevents.go | ||
genkeys.go | ||
geom_test.go | ||
geom.go | ||
go.mod | ||
go.sum | ||
goversion.go | ||
graphics.go | ||
image_test.go | ||
image.go | ||
imagedumper_desktop.go | ||
imagedumper_notdesktop.go | ||
imagetobytes_test.go | ||
imagetobytes.go | ||
init.go | ||
input.go | ||
keys.go | ||
LICENSE | ||
mousebuttons.go | ||
README.md | ||
run.go | ||
shader_test.go | ||
shader.go | ||
uicontext.go | ||
uidriver_glfw.go | ||
uidriver_js.go | ||
uidriver_mobile.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: Gamepads and keyboards are not available on iOS.
For installation on desktops, see the installation instruction.
Features
- 2D Graphics (Geometry/Color matrix transformation, 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.