Bez popisu

Hajime Hoshi d46c677327 Revert "internal/shader: bug fix: an index must be a constant for vectors" před 7 hodinami
.builds 5f2c02eb1a .builds: remove or replace GLU lib před 1 rokem
.github c346c1d75b all: update dependencies and Go version před 1 týdnem
audio 4bccf9d009 all: use math/rand/v2 před 1 týdnem
cmd f63a757b1e cmd/ebitenmobile: bug fix: need toolchain for the temporary go.mod před 6 dny
colorm ba1af60480 all: update comments před 1 měsícem
ebitenutil 0281ac7bd2 all: use bufio.NewWriter to improve writing speed před 1 měsícem
examples 4b1ae72f59 ebiten: add Draw{Image,Triangles}Options.DisableMipmaps před 1 týdnem
exp 42209606b1 internal/ui: disable IME and enable it only when necessary před 3 týdny
inpututil 82f2319020 internal/hook: rename hooks -> hook před 11 měsíci
internal d46c677327 Revert "internal/shader: bug fix: an index must be a constant for vectors" před 7 hodinami
misc 5c0935d2da misc: update README před 2 roky
mobile 07d29fa729 cmd/ebitenmobile: bug fix: consider EbitenSurfaceView recreation před 1 týdnem
playstation5 789388618d all: add playstation5 dummy package před 1 měsícem
text 60883e1a44 text/v2: add comments před 1 týdnem
vector fbf40a4455 vector: bug fix: isPointCloseToSegment didn't work when two p0 and p1 are the same před 1 měsícem
.clang-format 6555375b06 all: add .clang-format před 1 měsícem
.gitignore 10d9660125 shaderprecomp: implement for Windows před 4 měsíci
CODE_OF_CONDUCT.md 9259951c36 update CODE_OF_CONDUCT.md před 1 rokem
CONTRIBUTING.md d05afcbcfa all: fix typos (#2859) před 9 měsíci
LICENSE c00a4985d4 Adjust LICENSE file před 7 roky
README.md db454548be all: update README před 4 měsíci
blend.go b8df1217c3 all: fix typos (#2864) před 9 měsíci
colorm.go ba1af60480 all: update comments před 1 měsícem
colorscale.go d23567c92e ebiten: add ColorScale.ScaleWithColorScale před 1 rokem
compositemode.go b1048025d9 ebiten: separate graphics.go into compositemode.go and it před 1 rokem
cursor.go 429e0d8183 ebiten: refactoring před 4 dny
doc.go a5235eea86 internal/graphicsdriver/opengl/gl: always prefer OpenGL ES to OpenGL před 1 měsícem
ebiten_test.go 35e29a29e7 internal/ui: bug fix: wrong property names were specified před 4 měsíci
export_test.go 673556d03f internal/ui: move the error handlings to the ui package před 2 roky
gameforui.go 46cf09197b internal/graphicscommand: enable to show shader names před 1 týdnem
gamepad.go 08ae0f4a94 ebiten: add type GamepadAxisType před 9 měsíci
generate.go 4d2a0287b5 Bug fix: some generators did not work due to a lacked package před 4 roky
genkeys.go 0281ac7bd2 all: use bufio.NewWriter to improve writing speed před 1 měsícem
geom.go b17ae6135e ebiten: update GeoM.Rotate() comment (#3106) před 2 dny
geom_test.go 57c45a13e4 Remove dot imports from tests - Remove dot imports (#1837) před 3 roky
go.mod c346c1d75b all: update dependencies and Go version před 1 týdnem
go.sum c346c1d75b all: update dependencies and Go version před 1 týdnem
graphics.go f98003bcd5 ebiten: add ColorSpace and RunGameOptions.ColorSpace před 3 týdny
image.go a113687d56 ebiten: don't create a vertex copy in DrawTriangles() / DrawTrianglesShader() (#3104) před 3 dny
image_test.go 4bccf9d009 all: use math/rand/v2 před 1 týdnem
imagedumper.go 3d1df32f43 ebiten: bug fix: wrong screenshot file names před 10 měsíci
imagetobytes.go 02ef92f4cd ebiten: Remove copying pixels from ReplacePixels and copyImage (renamed to imageToBytes) před 4 roky
imagetobytes_test.go 57c45a13e4 Remove dot imports from tests - Remove dot imports (#1837) před 3 roky
input.go ab414558e8 ebiten: replace alias types with ints for better documentation před 4 dny
keys.go 7389f9ddb2 ebiten: add KeyIntlBackslash před 6 měsíci
monitor.go 9a8d6e7b41 internal/ui: implement (*Monitor).Size for mobiles před 3 dny
mousebuttons.go ab414558e8 ebiten: replace alias types with ints for better documentation před 4 dny
run.go 429e0d8183 ebiten: refactoring před 4 dny
run_mobile.go 27fd10595b internal/ui: refactoring: reduce global functions and prefer Get() před 11 měsíci
shader.go 46cf09197b internal/graphicscommand: enable to show shader names před 1 týdnem
shader_test.go 9693ce8382 internal/shader: allow less arguments at Fragment před 3 týdny
vibrate.go ac651def3b ebiten: typo před 2 roky
window.go ab414558e8 ebiten: replace alias types with ints for better documentation před 4 dny

README.md

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.