Ebitengine - A dead simple 2D game engine for Go
Go to file
2024-08-06 03:11:48 +09:00
.builds .builds: remove or replace GLU lib 2023-07-22 01:33:42 +09:00
.github .github/workflows: update wasmbrowsertest to fix timeout issue 2024-08-02 23:03:01 +09:00
audio .github/workflows: update wasmbrowsertest to fix timeout issue 2024-08-02 23:03:01 +09:00
cmd/ebitenmobile all: replace execabs with os/exec 2024-05-03 23:39:38 +09:00
colorm ebiten: add FillRuleFillAll, FillRuleEvenOdd, and FillRuleNonZero 2024-06-08 17:58:33 +09:00
ebitenutil all: use bufio.NewWriter to improve writing speed 2024-07-29 16:29:57 +09:00
examples examples/blocks: bug fix: do not ignore error 2024-07-29 17:37:30 +09:00
exp/textinput exp/textinput: bug fix: don't send events on Enter on desktop browsers 2024-07-15 01:01:16 +09:00
inpututil internal/hook: rename hooks -> hook 2023-10-06 13:58:00 +09:00
internal internal/graphicsdriver/opengl/gl: use PureGo version for Android again 2024-08-05 23:34:56 +09:00
misc misc: update README 2022-05-26 00:05:31 +09:00
mobile ebiten: add KeyIntlBackslash 2024-03-12 12:49:02 +09:00
shaderprecomp shaderprecomp: remove ShaderSourceID 2024-05-27 00:01:05 +09:00
text text/v2: add glyphImageCache.atime 2024-07-03 18:40:40 +09:00
vector ebiten: add FillRuleFillAll, FillRuleEvenOdd, and FillRuleNonZero 2024-06-08 17:58:33 +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 all: fix typos (#2864) 2023-12-17 22:42:34 +09:00
CODE_OF_CONDUCT.md update CODE_OF_CONDUCT.md 2023-09-05 22:35:13 +09:00
colorm.go all: fix typos (#2864) 2023-12-17 22:42:34 +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: add more cursor shapes 2023-07-23 00:49:45 +09:00
doc.go Revert "internal/graphicsdriver/directx: add 'tearing' for EBITENGINE_DIRECTX" 2024-03-30 20:08:06 +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 internal/ui: move the error handlings to the ui package 2022-03-20 16:26:26 +09:00
gameforui.go internal/atlas: refactoring: remove ImageTypeVolatile 2024-06-30 18:50:02 +09:00
gamepad.go ebiten: add type GamepadAxisType 2023-12-25 02:02:56 +09:00
generate.go Bug fix: some generators did not work due to a lacked package 2020-03-23 01:36:21 +09:00
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: fixes a typo (#1930) 2022-01-05 15:06:41 +09:00
go.mod Revert "all: update Oto" 2024-08-06 03:11:48 +09:00
go.sum Revert "all: update Oto" 2024-08-06 03:11:48 +09:00
graphics.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
image_test.go ebiten: add FillRuleFillAll, FillRuleEvenOdd, and FillRuleNonZero 2024-06-08 17:58:33 +09:00
image.go ebiten: update image.DrawTriangles* to re-use indices (#3026) 2024-07-02 16:40:53 +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: remove old comments 2024-02-03 19:15:39 +09:00
keys.go ebiten: add KeyIntlBackslash 2024-03-12 12:49:02 +09:00
LICENSE Adjust LICENSE file 2017-01-30 18:57:49 +09:00
monitor.go ebiten: add (*Monitor).Size() to replace ScreenSizeInFullscreen() 2024-03-23 23:32:43 +09:00
mousebuttons.go ebiten: swap the definition MouseButtonMiddle and MouseButtonRight 2022-11-27 13:51:09 +09:00
README.md all: update README 2024-05-09 12:09:47 +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: add comments about Layout and LayoutF 2024-05-10 18:24:49 +09:00
shader_test.go internal/shader: bug fix: need to covert constant type correctly for assignments 2024-03-23 15:08:34 +09:00
shader.go ebiten: move the builtin shader to internal/builtinshader 2024-04-20 21:23:37 +09:00
vibrate.go ebiten: typo 2022-09-24 09:37:59 +09:00
window.go all: use atomic.Bool instead of atomic.Store/LoadUint32 2024-04-29 21:16:01 +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.