ebiten/examples
Hajime Hoshi 891ca2a08d ebiten: add IsWindowAspectRatioFixed
This also updates examples/windowsize.

Closes #1804
2022-02-09 20:06:18 +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: Use const to represent bytePerSample (#1867) 2021-11-08 15:52:53 +09:00
audiopanning examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
blocks examples/blocks/blocks: Support standard gamepad axes 2021-09-24 23:35:01 +09:00
blur examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +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 main_cbackend.go 2021-12-30 03:02:11 +09:00
flood examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
font examples: Add //go:build 2021-06-24 21:49:37 +09:00
fullscreen examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +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: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +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
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: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +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: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +09:00
squiral examples: Reduce global variables 2021-07-22 01:38:55 +09:00
stars examples/stars: Reduce the window size 2021-09-24 01:55:18 +09:00
text text: Add AppendGlyphs and Glyphs 2021-11-12 02:31:53 +09:00
tiles examples: Misspelling (//go:generated -> //go:generate) 2021-09-20 15:23:43 +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 Revert "internal/graphicsdriver: bug fix: render semi-transparent vectors correctly" 2022-01-06 03:19:46 +09:00
vibrate examples/vibrate: bug fix: compile error 2022-01-10 16:19:33 +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: Add //go:build 2021-06-24 21:49:37 +09:00
windowsize ebiten: add IsWindowAspectRatioFixed 2022-02-09 20:06:18 +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.