Ebitengine - A dead simple 2D game engine for Go
Go to file
Hajime Hoshi 1b33d11d4a internal/uidriver/glfw: Bug fix: Deadlock at FramebufferSize callback
glfw.PollEvents might invoke multiple FramebufferSize callbacks in
theory, this is very rare though. In this case, the sending an object
to the channel never ends.

This change fixes this deadlock by using 'select'.

Closes #1618
2021-04-24 02:26:05 +09:00
.builds Build all libraries on sourcehut build 2020-08-20 01:08:44 +09:00
.github Skip the Wasm tests on Ubuntu 2021-03-27 02:55:05 +09:00
audio audio: Bug fix: Deadlock at acquiring the semaphore 2021-01-23 23:11:46 +09:00
cmd/ebitenmobile cmd/ebitenmobile: Bug fix: Skip 'uinput-fpc' on the joystick detection on Android 2021-03-14 23:28:20 +09:00
docs docs: Remove unused contents 2019-03-22 03:23:48 +09:00
ebitenutil Clean up the 'js' build tags 2020-10-07 01:33:10 +09:00
examples examples/windowsize: Bug fix: Suppress calling SetWindowPosition if the position is not updated 2021-04-20 20:51:49 +09:00
inpututil ebiten: Introduce type TouchID 2020-10-10 03:57:47 +09:00
internal internal/uidriver/glfw: Bug fix: Deadlock at FramebufferSize callback 2021-04-24 02:26:05 +09:00
mobile ebiten: Introduce type TouchID 2020-10-10 03:57:47 +09:00
text text: Remove the optimization for GopherJS 2020-10-07 01:13:31 +09:00
vector ebiten: Remove the error returning value from NewImage 2020-10-06 00:48:56 +09:00
.gitattributes Add .gitattributes for GitHub Linguist 2020-01-30 21:06:50 +09:00
.gitignore Add new example: squirals (#952) 2019-10-09 00:54:23 +09:00
AUTHORS Add Bui Quoc Trong to AUTHORS 2020-09-29 22:02:48 +09:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2020-01-08 11:30:57 +09:00
colorm_test.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
colorm.go ebiten: Remove the deprecated functions and constants 2020-10-04 04:47:24 +09:00
CONTRIBUTING.md Remove supporting jsgo 2020-10-07 00:46:07 +09:00
cursormode.go ebiten: Add an explicit type to CursorModeType consts for pkg.go.dev 2020-10-18 03:56:34 +09:00
debug_ebitendebug.go Add 'ebitendebug' build tag 2018-06-25 23:59:32 +09:00
debug_notebitendebug.go Add 'ebitendebug' build tag 2018-06-25 23:59:32 +09:00
doc.go ebiten: Remove the argument from Update 2020-10-04 19:33:10 +09:00
export_test.go ebiten: Bug fix: Wrong uniform type was used 2020-09-17 20:52:32 +09:00
gamepad.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
generate.go Bug fix: some generators did not work due to a lacked package 2020-03-23 01:36:21 +09:00
genevents.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
genkeys.go Improve portability of genkeys.go 2020-10-07 02:25:16 +09:00
geom_test.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
geom.go ebiten: Remove the deprecated functions and constants 2020-10-04 04:47:24 +09:00
go.mod cmd/ebitenmobile: Bug fix: Record go.sum correctly to build gomobile/gobind 2021-02-10 02:22:02 +09:00
go.sum cmd/ebitenmobile: Bug fix: Record go.sum correctly to build gomobile/gobind 2021-02-10 02:22:02 +09:00
goversion.go Force to use Go 1.12 or later 2019-05-01 17:43:38 +09:00
graphics.go ebiten: Remove FilterDefault 2020-10-05 01:48:47 +09:00
image_test.go mipmap: Bug fix: Too big scale tried to allocate too big images 2020-10-21 11:33:52 +09:00
image.go internal/graphics: Bug fix: Race condition at QuadVertices 2021-03-20 16:56:54 +09:00
imagedumper_desktop.go ebiten: Remove the argument from Update 2020-10-04 19:33:10 +09:00
imagedumper_notdesktop.go ebiten: Remove the argument from Update 2020-10-04 19:33:10 +09:00
imagetobytes_test.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
imagetobytes.go ebiten: Remove copying pixels from ReplacePixels and copyImage (renamed to imageToBytes) 2020-07-03 03:01:48 +09:00
init.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
input.go ebiten: Update input API comments for Android 2021-03-14 18:05:06 +09:00
keys.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
LICENSE Adjust LICENSE file 2017-01-30 18:57:49 +09:00
mousebuttons.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
README.md Update README about input devices on mobiles 2021-03-27 00:39:05 +09:00
run.go internal/uidriver/glfw: Bug fix: Crash on some operations on native fullscreen mode (macOS) 2021-04-18 18:24:25 +09:00
shader_test.go ebiten: Remove the error returning value from NewImage 2020-10-06 00:48:56 +09:00
shader.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
uicontext.go ebiten: Bug fix: Ignore the outside size when they are 0 at Layout 2021-04-18 23:16:45 +09:00
uidriver_glfw.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
uidriver_js.go Clean up the 'js' build tags 2020-10-07 01:33:10 +09:00
uidriver_mobile.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
window.go internal/uidriver/glfw: Bug fix: Crash on some operations on native fullscreen mode (macOS) 2021-04-18 18:24:25 +09:00

Ebiten (v2)

PkgGoDev Build Status Build Status Go Report Card

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.

Overview

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, 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.