Ebitengine - A dead simple 2D game engine for Go
Go to file
2024-12-10 02:02:28 +09:00
.builds .builds: remove or replace GLU lib 2023-07-22 01:33:42 +09:00
.github .github/workflows: disable AppArmor 2024-10-15 23:58:38 +09:00
audio audio: bug fix: (*Player).Position is not updated correctly 2024-11-06 22:16:16 +09:00
cmd/ebitenmobile cmd/ebitenmobile: fix gomobile toolchain bug (#3129) 2024-10-15 04:01:07 +09:00
colorm all: update comments 2024-08-18 11:14:25 +09:00
ebitenutil all: use bufio.NewWriter to improve writing speed 2024-07-29 16:29:57 +09:00
examples vector: add (*Path).ApplyGeoM 2024-11-09 19:06:39 +09:00
exp/textinput exp/textinput: typo 2024-09-21 13:24:20 +09:00
inpututil inpututil: add comments 2024-10-27 02:45:57 +09:00
internal internal/builtinshader: add a comment to the generated file 2024-12-08 23:40:37 +09:00
misc misc: update README 2022-05-26 00:05:31 +09:00
mobile cmd/ebitenmobile: bug fix: consider EbitenSurfaceView recreation 2024-09-09 16:42:57 +09:00
playstation5 all: add playstation5 dummy package 2024-08-18 11:54:48 +09:00
text text/v2: cache origin X positions for GoXFace 2024-10-29 02:16:20 +09:00
vector vector: add (*Path).ApplyGeoM 2024-11-09 19:06:39 +09:00
.clang-format all: add .clang-format 2024-08-04 19:06:59 +09:00
.gitignore shaderprecomp: implement for Windows 2024-05-06 16:03:57 +09:00
blend.go internal/graphicscommand: better debug info for blending 2024-10-15 18:26:27 +09:00
CODE_OF_CONDUCT.md update CODE_OF_CONDUCT.md 2023-09-05 22:35:13 +09:00
colorm.go all: update comments 2024-08-18 11:14:25 +09:00
colorscale.go ebiten: add ColorScale.ScaleWithColorScale 2023-06-30 18:19:40 +09:00
compositemode.go ebiten: separate graphics.go into compositemode.go and it 2023-03-14 00:45:10 +09:00
CONTRIBUTING.md all: fix typos (#2859) 2023-12-08 13:35:52 +09:00
cursor.go ebiten: refactoring 2024-09-15 18:01:53 +09:00
doc.go internal/graphicsdriver/opengl/gl: always prefer OpenGL ES to OpenGL 2024-08-10 01:21:35 +09:00
ebiten_test.go internal/ui: bug fix: wrong property names were specified 2024-04-30 23:32:54 +09:00
export_test.go ebiten: add BenchmarkBuiltinShader 2024-10-27 00:12:56 +09:00
gameforui.go internal/builtinshader: add shader constants for shaderlister 2024-11-16 15:23:49 +09:00
gamepad.go ebiten: add type GamepadAxisType 2023-12-25 02:02:56 +09:00
generate.go
genkeys.go all: use bufio.NewWriter to improve writing speed 2024-07-29 16:29:57 +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: update GeoM.Rotate() comment (#3106) 2024-09-17 23:47:17 +09:00
go.mod all: update Oto 2024-12-09 22:24:28 +09:00
go.sum all: update Oto 2024-12-09 22:24:28 +09:00
graphics.go ebiten: add ColorSpace and RunGameOptions.ColorSpace 2024-08-28 03:03:57 +09:00
image_test.go all: use math/rand/v2 2024-09-12 01:17:26 +09:00
image.go ebiten: skip rendering when det is 0 at DrawImage and DrawRectShader 2024-10-17 21:04:43 +09:00
imagedumper.go ebiten: bug fix: wrong screenshot file names 2023-11-16 22:58:38 +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: replace alias types with ints for better documentation 2024-09-15 17:22:20 +09:00
keys.go ebiten: add KeyIntlBackslash 2024-03-12 12:49:02 +09:00
LICENSE
monitor.go internal/ui: implement (*Monitor).Size for mobiles 2024-09-16 19:42:23 +09:00
mousebuttons.go ebiten: replace alias types with ints for better documentation 2024-09-15 17:22:20 +09:00
README.md all: update README about Xbox 2024-12-10 02:02:28 +09:00
run_mobile.go internal/ui: refactoring: reduce global functions and prefer Get() 2023-10-15 03:40:48 +09:00
run.go ebiten: refactoring 2024-09-15 18:01:53 +09:00
shader_test.go ebiten: add test for matrix indices 2024-11-26 12:24:39 +09:00
shader.go ebiten: improve bulitinShader by reducing locks 2024-10-27 00:22:52 +09:00
vibrate.go ebiten: typo 2022-09-24 09:37:59 +09:00
window.go ebiten: add RequestAttention 2024-09-22 00:05:00 +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

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.

GLFW

https://github.com/glfw/glfw

Copyright (c) 2002-2006 Marcus Geelnard

Copyright (c) 2006-2019 Camilla Löwy

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
   claim that you wrote the original software. If you use this software
   in a product, an acknowledgment in the product documentation would
   be appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not
   be misrepresented as being the original software.

3. This notice may not be removed or altered from any source
   distribution.

Go

https://cs.opensource.google/go/go

Copyright (c) 2009 The Go Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

   * Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
   * Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
   * Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

go-gl/gl

https://github.com/go-gl/gl

The MIT License (MIT)

Copyright (c) 2014 Eric Woroshow

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

go-gl/glfw

https://github.com/go-gl/glfw

Copyright (c) 2012 The glfw3-go Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

   * Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
   * Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
   * Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.