Ebitengine - A dead simple 2D game engine for Go
Go to file
Hajime Hoshi f80f73d502 internal/ui: bug fix: do not register a framebuffer-size callback on macOS
When a decorating state is switched, a framebuffer-size callback was
invoked but with wrong parameters on macOS.

This callback was originally implemented for i3 window manager, and
was not needed for macOS. Then, let's not use this on macOS. Probably
we can also skip this registering on Windows.

Updates #1960
Closes #2257
2022-08-20 19:13:19 +09:00
.builds .builds: disable the build test on Arch 2022-07-29 17:50:09 +09:00
.github .github/workflow: specify Android NDK version explicitly 2022-08-03 02:10:16 +09:00
audio audio/vorbis: test Length with a non-seekable source 2022-08-18 15:48:45 +09:00
cmd/ebitenmobile Revert "Revert "cmd/ebitenmobile: bug fix: multiple touches were not updated correctly on Android"" 2022-08-18 19:08:15 +09:00
docs docs: Remove unused contents 2019-03-22 03:23:48 +09:00
ebitenutil all: reorder build tags in an alphabetical order 2022-02-08 15:49:15 +09:00
examples Revert "examples/vibrate: bug fix: touches didn't work correctly" 2022-04-12 00:10:32 +09:00
inpututil inpututil: bug fix: out of range at scanning buttons 2022-06-29 15:55:46 +09:00
internal internal/ui: bug fix: do not register a framebuffer-size callback on macOS 2022-08-20 19:13:19 +09:00
misc misc: English 2022-01-27 15:49:09 +09:00
mobile cmd/ebitenmobile: support Metal for iOS simulators 2022-03-23 01:34:58 +09:00
text text: update comments 2022-04-04 02:55:15 +09:00
vector vector: fix spelling error in vector/path.go (#2078) 2022-04-24 12:15:59 +09:00
.gitattributes Update .gitattributes 2021-10-09 19:17:52 +09:00
.gitignore audio/internal/readdriver: Implement a driver for Android with Oboe 2021-05-04 23:51:36 +09:00
AUTHORS add Vivek Murali to AUTHORS 2022-04-24 12:16:08 +09:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2020-01-08 11:30:57 +09:00
colorm_test.go Remove dot imports from tests - Remove dot imports (#1837) 2021-10-02 19:58:48 +09:00
colorm.go ebiten: add ColorM.ScaleWithColor 2022-01-10 17:36:46 +09:00
CONTRIBUTING.md update CONTRIBUTING.md 2022-03-23 13:41:29 +09:00
cursor.go internal/driver: move some definitions to internal/ui 2022-02-06 18:13:45 +09:00
debug_ebitendebug.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
debug_notebitendebug.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
doc.go ebiten: fix a doc 2022-04-15 15:05:40 +09:00
export_test.go internal/ui: move the error handlings to the ui package 2022-03-20 16:26:26 +09:00
gameforui.go internal/ui: refactoring: move the logic in gameForUI to context 2022-04-01 22:33:31 +09:00
gamepad.go internal/gamepaddb: move driver.StandardGamepadButton to gamepaddb.StandardButton 2022-02-05 23:11:09 +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 internal/driver: rename to internal/graphicsdriver 2022-02-06 20:41:32 +09:00
genkeys.go go generate 2022-03-24 02:42:52 +09:00
geom_test.go Remove dot imports from tests - Remove dot imports (#1837) 2021-10-02 19:58:48 +09:00
geom.go ebiten: fixes a typo (#1930) 2022-01-05 15:06:41 +09:00
go.mod Revert commits for Oto 2022-06-06 07:02:07 +09:00
go.sum Revert commits for Oto 2022-06-06 07:02:07 +09:00
graphics.go internal/ui: refactoring: move the logic in gameForUI to context 2022-04-01 22:33:31 +09:00
image_test.go internal/graphicsdriver/directx: bug fix: too many constant buffers could be allocated 2022-07-15 03:46:11 +09:00
image.go ebiten: compile shaders at NewShader 2022-04-04 02:52:57 +09:00
imagedumper_desktop.go internal/graphicscommand: move the choice of graphics drivers to internal/ui 2022-03-20 02:51:31 +09:00
imagedumper_notdesktop.go all: reorder build tags in an alphabetical order 2022-02-08 15:49:15 +09:00
imagetobytes_test.go Remove dot imports from tests - Remove dot imports (#1837) 2021-10-02 19:58:48 +09:00
imagetobytes.go ebiten: Remove copying pixels from ReplacePixels and copyImage (renamed to imageToBytes) 2020-07-03 03:01:48 +09:00
input.go internal/gamepaddb: make Update atomic 2022-04-02 20:19:04 +09:00
keys.go go generate 2022-03-24 02:42:52 +09:00
LICENSE Adjust LICENSE file 2017-01-30 18:57:49 +09:00
mousebuttons.go internal/driver: remove Input 2022-02-06 18:34:31 +09:00
README.md update README 2022-04-12 22:23:19 +09:00
run_mobile.go internal/ui: remove RunWithoutMainLoop in non-mobile environments 2022-02-13 22:31:48 +09:00
run.go ebiten: update the comments of the Game interface 2022-04-13 22:54:08 +09:00
shader_test.go internal/shaderir/hlsl: bug fix: wrong offset of uniform array variables 2022-03-27 01:49:52 +09:00
shader.go ebiten: compile shaders at NewShader 2022-04-04 02:52:57 +09:00
vibrate.go ebiten: update comments about VibrateGamepad 2022-04-15 13:56:04 +09:00
window.go ebiten: fix a wrong comment at WindowResizingModeOnlyFullscreenEnabled 2022-04-15 14:27:45 +09:00

Ebiten (v2)

Go Reference Build Status

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: 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

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.