ebiten/examples
2022-06-10 23:54:45 +09:00
..
2048 ebiten: add ColorM.ScaleWithColor 2022-01-10 17:36:46 +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/airship: chore: fix typo (#1907) 2021-12-20 21:54:24 +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 examples/audioinfiniteloop, examples/audiopanning: avoid resamplings 2022-04-10 19:41:44 +09:00
audiopanning examples/audioinfiniteloop, examples/audiopanning: avoid resamplings 2022-04-10 19:41:44 +09:00
blocks examples/blocks/blocks: Support standard gamepad axes 2021-09-24 23:35:01 +09:00
blur examples/blur: fix the blur filter example to be a real box blur. (#2000) 2022-02-24 03:15:52 +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: add GoMain when Windows+Cgo 2022-05-02 22:46:26 +09:00
flood examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
font examples/font: simplify the logic 2022-04-09 16:08:20 +09:00
fullscreen examples/fullscreen: forbid quiting on browsers 2022-04-10 20:04:52 +09:00
gamepad ebiten: use the DB's name for GamepadName 2022-01-25 21:14:03 +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: Recreate the offscreen when the screen size changes 2021-10-02 13:00:33 +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/minify: reorder renderings 2022-04-09 23:27:58 +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
realtimepcm audio: change the type of SetBufferSize to time.Duration 2022-03-25 20:47:01 +09:00
resources examples/resources: reorder items 2021-12-31 05:30:37 +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/shader: add CRT shader example (#2012) 2022-03-10 00:02:07 +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/spriteshd: remove a call of SetWindowSize 2022-04-10 19:15:39 +09:00
squiral examples: Reduce global variables 2021-07-22 01:38:55 +09:00
stars examples/stars: refactor (#2070) 2022-04-13 18:42:04 +09:00
text examples/text: add leading space characters 2022-04-04 00:18:35 +09:00
tiles examples/tiles: improve readability by calculating tileXNum on the fly 2022-06-10 23:54:45 +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 comments at DrawTriangles 2022-04-26 23:23:31 +09:00
vibrate examples/vibrate: refactoring 2022-04-12 00:11:11 +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/windowclosing: update the message 2022-04-11 01:10:48 +09:00
windowsize ebiten: add WindowResizingModeType and its constants and functions 2022-02-11 04:59:04 +09:00
README.md examples: update README 2021-12-13 11:55:08 +09:00

How to execute the examples

Desktops

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

Android

Install gomobile first.

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

iOS

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

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