Nenhuma descrição

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

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.