ebiten/examples
2021-10-01 11:42:31 +09:00
..
2048 Minor style fixes (early returns) (#1792) 2021-09-04 00:22:37 +09:00
additive examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
address examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
airship examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
alphablending examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
animation examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
audio audio: Add (*Context).NewPlayer and (*Context).NewPlayerFromBytes 2021-07-22 16:41:04 +09:00
audioinfiniteloop audio: Add (*Context).NewPlayer and (*Context).NewPlayerFromBytes 2021-07-22 16:41:04 +09:00
audiopanning examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
blocks examples/blocks/blocks: Support standard gamepad axes 2021-09-24 23:35:01 +09:00
blur examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
camera examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
chipmunk examples: Add //go:build 2021-06-24 21:49:37 +09:00
clip examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
contextlost examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
cursor examples: Add //go:build 2021-06-24 21:49:37 +09:00
doomfire examples: Reduce global variables 2021-07-22 01:38:55 +09:00
drag examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
filter examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
flappy examples/flappy: Bug fix: an audio context was created multiple times 2021-08-04 14:54:06 +09:00
flood examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
font examples: Add //go:build 2021-06-24 21:49:37 +09:00
fullscreen examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
gamepad examples/gamepad: Fix the layout 2021-09-12 21:09:13 +09:00
highdpi examples: Reduce global variables 2021-07-22 01:38:55 +09:00
hsv examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
hue examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
infinitescroll examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
isometric examples/isometric: Simplify the logic 2021-10-01 11:42:31 +09:00
keyboard inpututil: Add AppendPressedKeys 2021-07-10 22:18:15 +09:00
life examples: Add //go:build 2021-06-24 21:49:37 +09:00
mandelbrot examples: Reduce global variables 2021-07-22 01:38:55 +09:00
mascot examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
masking examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
minify examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
moire examples: Add //go:build 2021-06-24 21:49:37 +09:00
mosaic examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
noise examples: Reduce global variables 2021-07-22 01:38:55 +09:00
paint examples: Reduce global variables 2021-07-22 01:38:55 +09:00
particles examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
pcm examples: Change the sample rate to 48000 2021-09-23 01:36:00 +09:00
perspective examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
piano examples: Change the sample rate to 48000 2021-09-23 01:36:00 +09:00
platformer examples: Add //go:build 2021-06-24 21:49:37 +09:00
polygons examples: Add //go:build 2021-06-24 21:49:37 +09:00
raycasting examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
resources Add isometric demo (#1823) 2021-10-01 11:10:48 +09:00
rotate examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
set examples: Reduce global variables 2021-07-22 01:38:55 +09:00
shader examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
shapes examples: Add //go:build 2021-06-24 21:49:37 +09:00
sinewave examples: Change the sample rate to 48000 2021-09-23 01:36:00 +09:00
snake examples: Add //go:build 2021-06-24 21:49:37 +09:00
sprites examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
spriteshd examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
squiral examples: Reduce global variables 2021-07-22 01:38:55 +09:00
stars examples/stars: Reduce the window size 2021-09-24 01:55:18 +09:00
text text: Add FaceWithLineHeight 2021-09-12 22:56:14 +09:00
tiles examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
touch examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
typewriter examples/typewriter: Fix comments 2021-07-10 04:38:26 +09:00
ui examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
vector ebiten: Add FillRule 2021-09-19 17:17:00 +09:00
wav audio: Add (*Context).NewPlayer and (*Context).NewPlayerFromBytes 2021-07-22 16:41:04 +09:00
wheel examples: Add //go:build 2021-06-24 21:49:37 +09:00
windowclosing examples: Add //go:build 2021-06-24 21:49:37 +09:00
windowsize examples/windowsize: Bug fix: Wrong comment 2021-09-23 21:40:10 +09:00
README.md Update import paths in the documents 2020-10-04 05:07:08 +09:00

How to execute the examples

Desktops

go run -tags=example github.com/hajimehoshi/ebiten/examples/rotate

Android

Install gomobile first.

gomobile install -tags=example github.com/hajimehoshi/ebiten/examples/rotate

iOS

gomobile build -target=ios -tags=example -work github.com/hajimehoshi/ebiten/examples/rotate

Then, open the WORK directory, open main.xcodeproj, add signing, and run the project.