Ebitengine - A dead simple 2D game engine for Go
Go to file
Hajime Hoshi 4ce850df70 graphics: Bug fix: Resolve pixels before the screen is cleared
Fixes #792

Clearing the screen is so special on some environments (like macOS
Metal) that other operations on other images can be invalidated.

This fixes the issue by resolving the pixels of the offscreen that
is used as a render source for the screen before the screen is
cleared. We are not sure this is a correct way, but this actually
fixes the problem on macOS.
2019-01-22 01:44:51 +09:00
_docs docs: Add examples/raycasting 2019-01-13 00:04:15 +09:00
audio audio/internal/convert: Add Float32Reader and NewReaderFromFloat32Reader 2019-01-15 11:46:31 +09:00
docs docs: Add examples/raycasting 2019-01-13 00:04:15 +09:00
ebitenutil graphics: Experimental: (*image.Image).SubImage 2018-10-28 02:19:14 +09:00
examples examples/sinewave: Bug fix: Sinewave volume was too small 2019-01-20 02:17:10 +09:00
inpututil inpututil: Package inpututil is no longer experimental 2018-05-14 01:32:55 +09:00
internal restorable: Add assertions 2019-01-21 02:17:09 +09:00
mobile mobile: Add comments when to call functions 2018-05-04 00:44:03 +09:00
text graphics: Experimental: (*image.Image).SubImage 2018-10-28 02:19:14 +09:00
.gitignore Clean up .gitignore 2018-05-30 03:13:01 +09:00
.travis.yml Add Windows bulding on Travis CI (#739) 2019-01-20 17:45:51 +09:00
AUTHORS Add Magnus to AUTHORS 2019-01-12 23:47:07 +09:00
colorm_test.go affine: Bug fix: ColorM.Apply was wrong when alpha is 0 2018-02-27 12:16:16 +09:00
colorm.go affine: Misspelling 2018-10-13 00:07:48 +09:00
debug_ebitendebug.go Add 'ebitendebug' build tag 2018-06-25 23:59:32 +09:00
debug_notebitendebug.go Add 'ebitendebug' build tag 2018-06-25 23:59:32 +09:00
doc.go Fix comments 2019-01-19 02:30:06 +09:00
gamepad.go Add input package 2018-04-01 23:20:45 +09:00
generate.go gofmt -s 2016-05-14 00:25:11 +09:00
genkeys.go glfw: Start implementing glfw package (Key) 2018-12-30 01:11:49 +09:00
geom_test.go affine: Fix some functions in GeoM test 2018-08-02 00:42:43 +09:00
geom.go affine: Add Skew function to GeoM 2018-08-01 14:15:30 +09:00
go.mod Update dependencies 2019-01-13 15:54:21 +09:00
go.sum Update go.sum 2019-01-17 23:40:53 +09:00
goversion.go Add comments (#777) 2019-01-10 23:52:11 +09:00
graphics.go Move CompositeMode to graphics package 2018-10-28 21:49:47 +09:00
graphicscontext.go graphics: Bug fix: Resolve pixels before the screen is cleared 2019-01-22 01:44:51 +09:00
image_test.go graphics: Implement (*Image).Set 2019-01-14 02:25:36 +09:00
image.go graphics: Fix comments to be more precise 2019-01-22 00:18:32 +09:00
imagedumper_desktop.go Remove dependency on internal/png on mobiles and browsers 2018-11-14 00:37:51 +09:00
imagedumper_notdesktop.go Remove dependency on internal/png on mobiles and browsers 2018-11-14 00:37:51 +09:00
imageparts.go graphics: Experimental: (*image.Image).SubImage 2018-10-28 02:19:14 +09:00
input.go input: Fix comments 2018-10-11 22:36:38 +09:00
keys.go docs: Remove some redundant comments 2018-04-28 03:40:59 +09:00
LICENSE Adjust LICENSE file 2017-01-30 18:57:49 +09:00
mousebuttons.go Add input package 2018-04-01 23:20:45 +09:00
README.md docs: Update README 2018-12-31 18:45:56 +09:00
run.go ui: Bug fix: isRunning should never be 'false' even after Run on GopherJS 2019-01-19 03:29:07 +09:00

Ebiten (海老天)

Build Status GoDoc Go Report Card

A dead simple 2D game library in Go

Flappy Example

Platforms

Note: Gamepad and keyboard are not available on Android/iOS.

Features

  • 2D Graphics (Geometry/Color matrix transformation, Various composition modes, Offscreen rendering, Fullscreen, Text rendering, Automatic batches, Automatic texture atlas)
  • Input (Mouse, Keyboard, Gamepads, Touches)
  • Audio (Ogg/Vorbis, MP3, WAV, PCM)

Packages

Community

Slack

#ebiten channel in Gophers Slack

License

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