Ebitengine - A dead simple 2D game engine for Go
Go to file
Hajime Hoshi daf349ab72 internal/graphicscommand: bug fix: present at the end of the frame explicitly
Before this change, presenting happened when the rendering destination
was the final screen. Now this assumption is wrong as the final screen
might be used in the middle of the commands due to DrawFinalScreen.

Instead, this change adds a new argument `present` to FlushCommands to
present the screen explicitly at the end of the frame.

Closes #2386
2022-10-15 01:54:46 +09:00
.builds .builds: remove debian.yml 2022-09-14 01:16:08 +09:00
.github .github/workflows/site: update the redirection 2022-09-23 19:30:59 +09:00
audio audio/vorbis: use go:embed 2022-09-17 21:58:32 +09:00
cmd/ebitenmobile cmd/ebitenmobile: get the gomobile version dynamically 2022-09-29 02:23:21 +09:00
ebitenutil ebitenutil: typo 2022-09-24 13:53:10 +09:00
examples vector: add LineCap 2022-10-15 00:40:28 +09:00
inpututil inpututil: add new APIs for keys and gamepads (#2383) 2022-10-12 16:21:52 +09:00
internal internal/graphicscommand: bug fix: present at the end of the frame explicitly 2022-10-15 01:54:46 +09:00
misc misc: update README 2022-05-26 00:05:31 +09:00
mobile update URLs in comments 2022-09-23 19:09:25 +09:00
text text: typo 2022-09-14 14:41:22 +09:00
vector vector: add LineCap 2022-10-15 00:40:28 +09:00
.gitignore audio/internal/readdriver: Implement a driver for Android with Oboe 2021-05-04 23:51:36 +09:00
CODE_OF_CONDUCT.md updated an outdated URL in CoC 2022-08-27 13:26:52 +09:00
colorm_test.go Remove dot imports from tests - Remove dot imports (#1837) 2021-10-02 19:58:48 +09:00
colorm.go internal/graphicscommand: better strings for ColorM 2022-06-30 11:13:02 +09:00
colorscale.go ebiten: use premultiplied-alpha format for ColorScale 2022-10-02 14:41:50 +09:00
CONTRIBUTING.md update documentation 2022-10-13 18:08:05 +09:00
cursor.go internal/driver: move some definitions to internal/ui 2022-02-06 18:13:45 +09:00
doc.go internal/graphicsdriver/opengl: add opengles build tag 2022-09-13 11:10:48 -07:00
export_test.go internal/ui: move the error handlings to the ui package 2022-03-20 16:26:26 +09:00
gameforui.go ebiten: add geoM argument to DrawFinalScreen 2022-10-14 23:35:58 +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 ebiten: rename ebitenKey -> ebitengineKey 2022-10-14 03:49:02 +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 update gomobile 2022-10-11 22:47:40 +09:00
go.sum update gomobile 2022-10-11 22:47:40 +09:00
graphics.go ebiten: fix the documentation about GraphicsLibrary 2022-10-08 22:44:39 +09:00
image_test.go ebiten: add ColorScaleFormat to DrawTrianglesOptions 2022-10-02 14:14:11 +09:00
image.go ebiten: add FinalScreenDrawer 2022-10-14 16:49:32 +09:00
imagedumper.go ebiten: implement imageDumper for mobiles 2022-10-14 03:19:02 +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 ebiten: typo 2022-09-28 03:24:36 +09:00
keys.go ebiten: add Key.MarshalText and Key.UnmarshalText 2022-06-24 03:13:13 +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 the website from ebiten.org to ebitengine.org 2022-09-23 19:01:11 +09:00
run_mobile.go replace Ebiten with Ebitengine in comments 2022-08-29 11:17:17 +09:00
run.go ebiten: add geoM argument to DrawFinalScreen 2022-10-14 23:35:58 +09:00
shader_test.go ebiten: use premultiplied-alpha format for ColorScale 2022-10-02 14:41:50 +09:00
shader.go internal/builtinshader: move Filter and Address from internal/graphicsdriver 2022-10-02 23:24:15 +09:00
vibrate.go ebiten: typo 2022-09-24 09:37:59 +09:00
window.go replace Ebiten with Ebitengine in comments 2022-08-29 11:17:17 +09:00

Ebitengine (v2)

Go Reference Build Status

A dead simple 2D game engine for Go

Ebitengine (formerly known as Ebiten) is an open source game engine for the Go programming language. Ebitengine'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

Ebitengine is licensed under Apache license version 2.0. See LICENSE file.

The Ebitengine logo by Hajime Hoshi is licensed under the Creative Commons Attribution-NoDerivatives 4.0.