ebiten/examples
2020-09-28 02:25:01 +09:00
..
2048 examples/2048: Use golang.org/x/image/font/opentype 2020-09-28 02:23:17 +09:00
additive examples: Use RunGame 2020-04-12 19:03:04 +09:00
address examples: Use RunGame 2020-04-12 19:03:04 +09:00
airship examples/airship: Bug fix: Avoid too big scaling 2020-09-21 00:43:13 +09:00
alphablending examples: Use RunGame 2020-04-12 19:03:04 +09:00
animation examples: Use RunGame 2020-04-12 19:03:04 +09:00
audio examples: Use RunGame 2020-04-12 19:03:04 +09:00
audioinfiniteloop examples/audioinfiniteloop: Fix a wrong comment 2020-04-22 21:57:15 +09:00
audiopanning examples/audiopanning: Remove intro loop 2020-07-01 23:14:45 +09:00
blocks examples/blocks: Use RunGame 2020-04-01 15:57:49 +09:00
blur examples: Use RunGame 2020-04-12 19:03:04 +09:00
camera examples/camera: Add limitations to the zoom factor 2020-09-21 01:13:00 +09:00
chipmunk examples: Use RunGame 2020-04-12 19:03:04 +09:00
contextlost ebiten: Rename SetClearingScreenSkipped/IsClearingScreenSkipped functions (#1317) 2020-08-20 17:12:22 +09:00
doomfire examples: Use RunGame 2020-04-12 20:30:51 +09:00
drag examples: Use RunGame 2020-04-12 20:30:51 +09:00
filter examples: Use RunGame 2020-04-12 20:30:51 +09:00
flappy examples/flappy: Use RunGame 2020-04-01 15:59:49 +09:00
flood examples: Use RunGame 2020-04-12 20:30:51 +09:00
font examples/font: Use golang.org/x/image/font/opentype 2020-09-28 02:20:14 +09:00
fullscreen examples/fullscreen: Use RunGame 2020-04-20 01:10:05 +09:00
gamepad examples/gamepad: Sort gamepad ids when showing the states 2020-09-21 17:30:28 +09:00
highdpi examples/highdpi: Use RunGame 2020-04-12 20:49:52 +09:00
hsv examples/hsv: Use Game interface and RunGame 2020-05-07 16:55:42 +09:00
hue examples/hue: Use RunGame 2020-05-10 05:29:18 +09:00
infinitescroll examples: Use RunGame 2020-05-10 05:40:50 +09:00
keyboard Use the library style of file2byteslice 2020-08-14 00:50:09 +09:00
life examples: Use RunGame 2020-05-10 05:40:50 +09:00
mandelbrot examples: Use RunGame 2020-05-12 02:35:26 +09:00
mascot examples/mascot: Use RunGame 2020-03-31 01:06:47 +09:00
masking examples: Use RunGame 2020-05-12 02:35:26 +09:00
minify examples: Use RunGame 2020-05-12 02:35:26 +09:00
moire examples/moire: Add a smaller scale, and remove AdjustTexel function from shaders 2020-06-15 00:29:34 +09:00
mosaic examples: Use RunGame 2020-05-12 02:35:26 +09:00
noise examples: Use RunGame 2020-05-12 02:35:26 +09:00
paint examples: Use RunGame 2020-05-15 03:55:28 +09:00
particles examples: Use RunGame 2020-05-15 03:55:28 +09:00
pcm examples: Use RunGame 2020-05-23 23:36:53 +09:00
perspective examples: Use RunGame 2020-05-23 23:36:53 +09:00
piano examples: Use RunGame 2020-05-23 23:36:53 +09:00
platformer examples: Use RunGame 2020-05-23 23:36:53 +09:00
polygons examples/polygons: Bug fix: Inserted an experimental code 2020-07-25 23:30:01 +09:00
raycasting examples/raycasting: Adjust the position of the message 2020-07-01 01:52:49 +09:00
resources go generate 2020-09-20 23:28:17 +09:00
rotate examples: Use RunGame 2020-04-12 19:03:04 +09:00
set examples: Use RunGame 2020-05-30 21:20:26 +09:00
shader ebiten: Rename imageSrcTextureRegion -> imageSrcRegionOnTexture 2020-09-19 19:36:53 +09:00
shapes examples: Use RunGame 2020-05-30 21:20:26 +09:00
sinewave examples: Use RunGame 2020-05-30 21:20:26 +09:00
snake examples: Add a snake game (#1276) 2020-08-01 02:00:45 +09:00
sprites examples/sprites, examples/spriteshd: Misspelling 2020-06-28 22:22:52 +09:00
spriteshd examples/sprites, examples/spriteshd: Misspelling 2020-06-28 22:22:52 +09:00
squiral examples: Use RunGame (#1183) 2020-06-07 21:36:46 +09:00
text examples/text: Use golang.org/x/image/font/opentype 2020-09-28 02:25:01 +09:00
tiles examples: Use RunGame (#1183) 2020-06-07 21:36:46 +09:00
typewriter examples: Use RunGame (#1183) 2020-06-07 21:36:46 +09:00
ui examples: Use RunGame (#1183) 2020-06-07 21:36:46 +09:00
vector examples: Use RunGame (#1183) 2020-06-07 21:36:46 +09:00
wav examples: Use RunGame (#1183) 2020-06-07 21:36:46 +09:00
wheel examples/wheel: Use RunGame (#1182) 2020-06-07 19:23:25 +09:00
windowsize ui: Add SetInitFocused 2020-08-23 02:19:09 +09:00
README.md docs: Use pkg.go.dev instead of godoc.org 2020-01-19 04:47:48 +09:00

How to execute the examples

Desktops

go run -tags=example $GOPATH/src/github.com/hajimehoshi/ebiten/examples/rotate/main.go

Web Browsers

gopherjs serve --tags=example

and access http://127.0.0.1:8080/github.com/hajimehoshi/ebiten/examples.

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.