ebiten/examples
Hajime Hoshi e16a4cd85c examples: Use RunGame
Updates #1111
2020-04-12 19:03:04 +09:00
..
2048 examples/2048: Use RunGame 2020-04-01 15:51:54 +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: Use RunGame 2020-04-12 19:03:04 +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: Use RunGame 2020-04-12 19:03:04 +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
chipmunk examples: Use RunGame 2020-04-12 19:03:04 +09:00
contextlost example/contextlost: Bug fix: Compilie error on Go 1.14, Should use WebGL2 2020-03-29 02:03:14 +09:00
doomfire examples/doomfile: Skip renderFire when possible 2019-02-15 00:54:11 +09:00
drag Rename IsRunningSlowly to IsDrawingSkipped 2018-07-10 22:31:26 +09:00
filter Rename IsRunningSlowly to IsDrawingSkipped 2018-07-10 22:31:26 +09:00
flappy examples/flappy: Use RunGame 2020-04-01 15:59:49 +09:00
flood Rename IsRunningSlowly to IsDrawingSkipped 2018-07-10 22:31:26 +09:00
font examples: Use TPS instead of FPS to indicate how fast the app works 2018-09-30 02:27:33 +09:00
fullscreen examples/fullscreen: Fix offset 2018-10-12 01:11:14 +09:00
gamepad uidriver/js: Implement GamepadSDLID 2020-02-05 00:00:00 +09:00
highdpi Fix misspelling (again) 2018-12-03 18:25:44 +01:00
hsv Rename IsRunningSlowly to IsDrawingSkipped 2018-07-10 22:31:26 +09:00
hue Rename IsRunningSlowly to IsDrawingSkipped 2018-07-10 22:31:26 +09:00
infinitescroll examples: Use TPS instead of FPS to indicate how fast the app works 2018-09-30 02:27:33 +09:00
keyboard Update dependencies 2020-03-31 03:32:38 +09:00
life examples/life: Fix initial world randomization (#1045) 2020-01-06 13:09:51 +09:00
mandelbrot Rename IsRunningSlowly to IsDrawingSkipped 2018-07-10 22:31:26 +09:00
mascot examples/mascot: Use RunGame 2020-03-31 01:06:47 +09:00
masking Rename IsRunningSlowly to IsDrawingSkipped 2018-07-10 22:31:26 +09:00
minify examples/minify: Better clipping 2018-11-09 01:08:32 +09:00
moire ui: Add an optional function Draw function to Game interface (#1107) 2020-03-24 12:01:37 +09:00
mosaic Rename IsRunningSlowly to IsDrawingSkipped 2018-07-10 22:31:26 +09:00
noise examples: Use TPS instead of FPS to indicate how fast the app works 2018-09-30 02:27:33 +09:00
paint ui: Rename TPS -> MaxTPS 2018-07-17 22:41:27 +09:00
particles examples/sprites: Rotate sprites 2019-02-24 02:09:38 +09:00
pcm examples/pcm: Add intervals between notes 2018-12-17 23:25:52 +09:00
perspective graphics: Experimental: (*image.Image).SubImage 2018-10-28 02:19:14 +09:00
piano examples: Use TPS instead of FPS to indicate how fast the app works 2018-09-30 02:27:33 +09:00
platformer examples/platformer: Add jumps 2020-03-19 02:11:03 +09:00
polygons examples/polygon: Better coloring 2018-08-14 02:14:19 +09:00
raycasting examples/raycasting: fix bug, swap height and width (#1067) 2020-02-01 17:28:23 +09:00
resources example: Add mascot 2020-03-22 16:30:48 +09:00
rotate examples: Use RunGame 2020-04-12 19:03:04 +09:00
set examples/set: Add FPS to see the performance 2019-10-04 01:51:26 +09:00
shapes examples: Use TPS instead of FPS to indicate how fast the app works 2018-09-30 02:27:33 +09:00
sinewave examples/sinewave: Bug fix: Sinewave volume was too small 2019-01-20 02:17:10 +09:00
sprites docs: Use pkg.go.dev instead of godoc.org (Go files) 2020-01-19 04:52:12 +09:00
spriteshd docs: Use pkg.go.dev instead of godoc.org (Go files) 2020-01-19 04:52:12 +09:00
squiral examples/squiral: Fix title 2019-10-22 23:18:16 +09:00
tiles docs: Use pkg.go.dev instead of godoc.org (Go files) 2020-01-19 04:52:12 +09:00
typewriter Rename IsRunningSlowly to IsDrawingSkipped 2018-07-10 22:31:26 +09:00
ui graphics: Experimental: (*image.Image).SubImage 2018-10-28 02:19:14 +09:00
vector vector: Add FillOptions 2020-03-16 23:49:55 +09:00
wav Fix misspelling 2018-12-03 18:23:25 +01:00
wheel examples/wheel: Improve message 2018-09-30 17:13:22 +09:00
windowsize ui: Forbid RestoreWindow when the window is not maximized nor minimized 2020-03-31 02:48:22 +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.