ebiten/examples
2018-05-11 02:02:33 +09:00
..
_resources examples: Add examples/flappy 2018-04-07 22:15:45 +09:00
2048 input: Add TouchIDs and TouchPosition (#497) 2018-05-07 00:31:46 +09:00
additive examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
airship examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
alphablending examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
audio examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
audioinfiniteloop examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
blocks examples/blocks: Use IsGamepadButtonJustPressed 2018-04-30 03:43:50 +09:00
chipmunk examples/chipmunk: Fix styles 2018-04-03 21:47:46 +09:00
contextlost examples/contextlost: Extend the shared backend texture on purpose 2018-03-19 03:16:52 +09:00
drag examples/drag: Add touches (#506) 2018-05-11 02:02:33 +09:00
filter examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
flappy inpututil: Rename JustPressedTouches -> JustPressedTouchIDs 2018-04-30 20:07:27 +09:00
flood examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
font examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
fullscreen ui: Add MonitorSize 2018-05-05 02:42:45 +09:00
gamepad inpututil: Replace JustDisconnectedGamepadIDs with IsGamepadJustDisconnected (#505) 2018-04-30 04:35:10 +09:00
highdpi ebitenutil: Add NewImageFromURL 2018-03-22 01:19:57 +09:00
hsv examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
hue examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
infinitescroll examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
keyboard Add periods after 'DO NOT EDIT' 2018-04-28 03:37:19 +09:00
life examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
mandelbrot examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
masking examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
moire examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
mosaic examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
noise examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
paint input: Add TouchIDs and TouchPosition (#497) 2018-05-07 00:31:46 +09:00
pcm examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
perspective examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
piano examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
platformer examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
resources Fix the do-not-edit comment https://golang.org/s/generatedcode 2018-04-20 00:54:33 -07:00
rotate examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
shapes examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
sinewave audio: NewPlayer now accepts io.ReadCloser 2018-03-22 00:33:17 +09:00
sprites examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
spriteshd examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
tiles examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
typewriter examples/typewriter: consider repeating state 2018-04-14 05:39:42 +09:00
ui examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
wav examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
windowsize ui: Add MonitorSize 2018-05-05 02:42:45 +09:00
README.md examples: Add iOS explanation 2018-04-30 19:49:02 +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.