Ebitengine - A dead simple 2D game engine for Go
Go to file
Hajime Hoshi da5843c1eb internal/uidriver/glfw: Bug fix: Get the correct initial monitor and its scale
Before this fix, Win32API is used to get the current monitor. This
might not work and return an unexpected monitor on some machines after
the runloop starts.

Instead, use the current window to get the current monitor correctly
instead of the Win32APIs. To get the initial monitor, the API
ForegroundWindow is still used.

Updates #1584
Updates #1844
2021-10-09 18:18:36 +09:00
.github .github/worksflows: Bug fix: wasmbrowsertest doesn't support -shuffle yet 2021-09-22 20:09:31 +09:00
audio audi/internal/conver: Fix ring-buffer-like slice usages 2021-09-12 17:06:36 +09:00
cmd/ebitenmobile cmd/ebitenmobile: Update Gomobile version for Arm macOS 2021-09-06 12:20:20 +09:00
docs docs: Remove unused contents 2019-03-22 03:23:48 +09:00
ebitenutil ebitenutil: added NewImageFromReader(io.Reader) (#1735) 2021-07-29 02:34:35 +09:00
examples go generate 2021-09-25 03:45:17 +09:00
inpututil inpututil: Add APIs for the standard gamepad layout 2021-07-20 02:37:12 +09:00
internal internal/uidriver/glfw: Bug fix: Get the correct initial monitor and its scale 2021-10-09 18:18:36 +09:00
mobile Fix build tags for Go 1.17 2021-08-17 12:27:19 +09:00
text text: Add FaceWithLineHeight 2021-09-12 22:56:14 +09:00
vector vector: Fix comments 2021-09-26 01:13:12 +09:00
.gitattributes audio/internal/readdriver: Implement a driver for Android with Oboe 2021-05-04 23:51:36 +09:00
.gitignore audio/internal/readdriver: Implement a driver for Android with Oboe 2021-05-04 23:51:36 +09:00
AUTHORS Add divVerent to AUTHORS 2021-08-23 21:45:42 +09:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2020-01-08 11:30:57 +09:00
colorm_test.go ebiten: Refactoring: Move a test 2021-08-18 01:13:40 +09:00
colorm.go interna/affine: Avoid UnsafeElements at At 2021-09-04 17:55:51 +09:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-06-26 00:47:46 +09:00
cursor.go ebiten: Remove unnecessary casts 2021-07-23 00:57:17 +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 Fix typos, and use panic instead of log.Fatal in doc.go (#1446) 2020-12-21 21:14:17 +09:00
export_test.go ebiten: Bug fix: Wrong uniform type was used 2020-09-17 20:52:32 +09:00
gamepad.go inpututil: Add APIs for the standard gamepad layout 2021-07-20 02:37:12 +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 Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
genkeys.go Unify 'deprecated' comment formats 2021-07-10 03:19:23 +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 Update Oto to v2.1.0-alpha.2 2021-10-01 00:04:34 +09:00
go.sum Update Oto to v2.1.0-alpha.2 2021-10-01 00:04:34 +09:00
goversion.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
graphics.go ebiten: Remove FilterDefault 2020-10-05 01:48:47 +09:00
image_test.go ebiten: Bug fix: Test compile error 2021-09-19 17:54:13 +09:00
image.go ebiten: Add FillRule 2021-09-19 17:17:00 +09:00
imagedumper_desktop.go internal/atlas: Bug fix: Unexpected padding in screenshots 2021-07-29 16:09:29 +09:00
imagedumper_notdesktop.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +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 glfw: Use os.UserConfigDir for GLFW DLL instead of temporary directories 2020-11-01 17:51:44 +09:00
input.go ebiten: Add StandardGamepadButtonValue 2021-09-12 21:00:48 +09:00
keys.go Unify 'deprecated' comment formats 2021-07-10 03:19:23 +09:00
LICENSE Adjust LICENSE file 2017-01-30 18:57:49 +09:00
mousebuttons.go ebiten: Refactoring: Use aliases for GamepadButton and MouseButton 2021-07-19 00:57:35 +09:00
README.md Update the overview 2021-09-23 14:18:26 +09:00
run_mobile.go ebiten: Refactoring: Move RunWithoutMainLoop to another file 2021-07-04 04:23:41 +09:00
run.go ebiten: Update comments about CurrentFPS and CurrentTPS 2021-09-08 22:45:26 +09:00
shader_test.go internal/shaderir/glfw: Insert a dummy function to touch uniform array variables 2021-08-15 18:06:41 +09:00
shader.go ebiten: Add a new shader function imageDstRegionOnTexture 2020-12-09 11:36:29 +09:00
uicontext.go ebiten: Refactoring 2021-08-05 01:48:56 +09:00
uidriver_glfw.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
uidriver_js.go Clean up the 'js' build tags 2020-10-07 01:33:10 +09:00
uidriver_mobile.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
window.go Minor typo fixes (#1793) 2021-09-01 17:17:54 +09:00

Ebiten (v2)

Go Reference 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 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.