ebiten/examples
2020-10-03 15:25:39 +09:00
..
2048 examples/2048: Use golang.org/x/image/font/opentype 2020-09-28 02:23:17 +09:00
additive
address
airship examples/airship: Bug fix: Avoid too big scaling 2020-09-21 00:43:13 +09:00
alphablending
animation
audio
audioinfiniteloop
audiopanning examples/audiopanning: Remove intro loop 2020-07-01 23:14:45 +09:00
blocks examples/blocks: Use golang.org/x/image/font/opentype 2020-09-29 22:02:48 +09:00
blur
camera examples/camera: Add limitations to the zoom factor 2020-09-21 01:13:00 +09:00
chipmunk
contextlost ebiten: Rename SetClearingScreenSkipped/IsClearingScreenSkipped functions (#1317) 2020-08-20 17:12:22 +09:00
doomfire
drag
filter
flappy examples: Use golang.org/x/image/font/opentype 2020-10-03 15:25:39 +09:00
flood
font examples/font: Use golang.org/x/image/font/opentype 2020-09-28 02:20:14 +09:00
fullscreen examples/fullscreen: Use golang.org/x/image/font/opentype 2020-09-28 02:26:32 +09:00
gamepad examples/gamepad: Sort gamepad ids when showing the states 2020-09-21 17:30:28 +09:00
highdpi
hsv
hue
infinitescroll
keyboard Use the library style of file2byteslice 2020-08-14 00:50:09 +09:00
life
mandelbrot
mascot
masking
minify
moire examples/moire: Add a smaller scale, and remove AdjustTexel function from shaders 2020-06-15 00:29:34 +09:00
mosaic
noise
paint
particles
pcm
perspective
piano examples: Use golang.org/x/image/font/opentype 2020-10-03 15:25:39 +09:00
platformer
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 examples/blocks: Use golang.org/x/image/font/opentype 2020-09-29 22:02:48 +09:00
rotate
set
shader ebiten: Rename imageSrcTextureRegion -> imageSrcRegionOnTexture 2020-09-19 19:36:53 +09:00
shapes
sinewave
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
windowsize ui: Add SetInitFocused 2020-08-23 02:19:09 +09:00
README.md

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.