ebiten/examples
2021-09-12 21:09:13 +09:00
..
2048 Minor style fixes (early returns) (#1792) 2021-09-04 00:22:37 +09:00
additive examples: Add //go:build 2021-06-24 21:49:37 +09:00
address examples: Add //go:build 2021-06-24 21:49:37 +09:00
airship examples: Reduce global variables 2021-07-22 01:38:55 +09:00
alphablending examples: Add //go:build 2021-06-24 21:49:37 +09:00
animation examples: Add //go:build 2021-06-24 21:49:37 +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 audio: Add (*Context).NewPlayer and (*Context).NewPlayerFromBytes 2021-07-22 16:41:04 +09:00
blocks Minor style fixes (early returns) (#1792) 2021-09-04 00:22:37 +09:00
blur examples: Add //go:build 2021-06-24 21:49:37 +09:00
camera examples: Add //go:build 2021-06-24 21:49:37 +09:00
chipmunk examples: Add //go:build 2021-06-24 21:49:37 +09:00
clip examples: Add //go:build 2021-06-24 21:49:37 +09:00
contextlost internal/graphicsdriver/opengl: Give up restorign on browsers 2021-06-26 16:54:21 +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 inpututil: Add AppendJustConnectedTouchIDs 2021-07-10 23:30:04 +09:00
filter examples: Add //go:build 2021-06-24 21:49:37 +09:00
flappy examples/flappy: Bug fix: an audio context was created multiple times 2021-08-04 14:54:06 +09:00
flood examples: Add //go:build 2021-06-24 21:49:37 +09:00
font examples: Add //go:build 2021-06-24 21:49:37 +09:00
fullscreen examples: Add //go:build 2021-06-24 21:49:37 +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: Add //go:build 2021-06-24 21:49:37 +09:00
hue examples: Add //go:build 2021-06-24 21:49:37 +09:00
infinitescroll examples: Add //go:build 2021-06-24 21:49:37 +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: Add //go:build 2021-06-24 21:49:37 +09:00
masking examples: Add //go:build 2021-06-24 21:49:37 +09:00
minify examples: Add //go:build 2021-06-24 21:49:37 +09:00
moire examples: Add //go:build 2021-06-24 21:49:37 +09:00
mosaic examples: Reduce global variables 2021-07-22 01:38:55 +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: Add //go:build 2021-06-24 21:49:37 +09:00
pcm audio: Add (*Context).NewPlayer and (*Context).NewPlayerFromBytes 2021-07-22 16:41:04 +09:00
perspective examples: Add //go:build 2021-06-24 21:49:37 +09:00
piano audio: Add (*Context).NewPlayer and (*Context).NewPlayerFromBytes 2021-07-22 16:41:04 +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: Add //go:build 2021-06-24 21:49:37 +09:00
resources examples/resources: Unify jab.wav to 48000 Hz 2021-05-25 22:32:50 +09:00
rotate examples: Add //go:build 2021-06-24 21:49:37 +09:00
set examples: Reduce global variables 2021-07-22 01:38:55 +09:00
shader examples: Add //go:build 2021-06-24 21:49:37 +09:00
shapes examples: Add //go:build 2021-06-24 21:49:37 +09:00
sinewave audio: Add (*Context).NewPlayer and (*Context).NewPlayerFromBytes 2021-07-22 16:41:04 +09:00
snake examples: Add //go:build 2021-06-24 21:49:37 +09:00
sprites examples/sprites: Make the window resizable 2021-08-08 15:31:49 +09:00
spriteshd examples: Add //go:build 2021-06-24 21:49:37 +09:00
squiral examples: Reduce global variables 2021-07-22 01:38:55 +09:00
stars examples: Add an example "stars" (#1679) 2021-06-24 22:50:47 +09:00
text text: Add DrawWithOptions 2021-07-27 17:36:21 +09:00
tiles examples: Add //go:build 2021-06-24 21:49:37 +09:00
touch inpututil: Add AppendJustConnectedTouchIDs 2021-07-10 23:30:04 +09:00
typewriter examples/typewriter: Fix comments 2021-07-10 04:38:26 +09:00
ui examples: Reduce global variables 2021-07-22 01:38:55 +09:00
vector vector: Add Dir 2021-07-17 16:42:14 +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: Reset TPS when resetting the Vsync mode 2021-08-05 03:01:11 +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.