ebiten/examples
Hajime Hoshi b9b365a576 text/v2: bug fix: Measure didn't work correctly with vertical faces
This also updates examples/texti18n to use text.Measure.

Updates #2143
Updates #2454
2023-11-23 23:25:10 +09:00
..
2048 text/v2: remove the suffix 'InPixels' 2023-11-15 21:53:58 +09:00
address examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
airship ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
alphablending ebiten: separate a package for ColorM: colorm 2022-11-08 23:50:04 +09:00
animation examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
audio audio: rename Seek -> SetPosition and Current -> Position 2023-08-02 01:24:52 +09:00
audioinfiniteloop audio: rename Seek -> SetPosition and Current -> Position 2023-08-02 01:24:52 +09:00
audiopanning audio: rename Seek -> SetPosition and Current -> Position 2023-08-02 01:24:52 +09:00
blend examples/blend: use text/v2 2023-11-16 22:18:56 +09:00
blocks text/v2: rename LineHeight -> LineSpacingInPixels 2023-11-17 01:19:05 +09:00
blur ebiten: separate a package for ColorM: colorm 2022-11-08 23:50:04 +09:00
camera examples/camera: fix window title (#2564) 2023-02-06 17:31:23 +09:00
capture example: add a mouse capture example (#2642) 2023-04-19 13:02:02 +09:00
chipmunk ebiten: separate a package for ColorM: colorm 2022-11-08 23:50:04 +09:00
clip ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
contextlost internal/graphicsdriver/opengl: drop WebGL 1 support 2023-03-18 22:50:09 +09:00
cursor ebiten: add more cursor shapes 2023-07-23 00:49:45 +09:00
doomfire examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
drag examples/drag: remove duplicated calls (#2846) 2023-11-18 19:52:42 +09:00
dropfile examples/dropfile: bug fix: handle errors correctly 2023-01-25 15:25:06 +09:00
filter examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
flappy text/v2: rename LineHeight -> LineSpacingInPixels 2023-11-17 01:19:05 +09:00
flood ebiten: separate a package for ColorM: colorm 2022-11-08 23:50:04 +09:00
font examples/font: use text/v2 2023-11-17 13:07:55 +09:00
fontfeature examples/fontfeature: improve a text 2023-11-23 19:30:03 +09:00
fontvariation text/v2: add an example for font variations 2023-11-23 22:30:13 +09:00
fontvector examples/fontvector: add alphabets 2023-11-20 03:50:41 +09:00
fullscreen examples/fullscreen: use text/v2 2023-11-19 16:07:16 +09:00
gamepad examples/gamepad: bug fix: correct iteration start button in gamepad example (#2730) 2023-08-24 16:27:35 +09:00
highdpi ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
hsv ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
hue ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
infinitescroll ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
isometric ebiten: replace (*Image).Dispose with Deallocate 2023-11-03 17:45:39 +09:00
keyboard examples/keyboard/keyboard: use text/v2 2023-11-19 16:47:08 +09:00
lasttouch examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
life examples/life: change the license to Apache License 2.0 2023-08-01 23:36:02 +09:00
lines examples/lines: remove duplicated code (#2713) 2023-07-29 13:29:19 +09:00
mandelbrot examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
mascot ebiten: add SetWindowMousePassthrough and IsWindowMousePassthrough 2023-09-18 18:31:22 +09:00
masking ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
minify ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
moire ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
monitor ebiten: remove (*Monitor).Bounds() 2023-09-23 18:24:03 +09:00
mosaic ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
noise examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
paint ebiten: separate a package for ColorM: colorm 2022-11-08 23:50:04 +09:00
particles ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
pcm examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
perspective ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
piano examples/piano: use text/v2 2023-11-16 02:20:18 +09:00
platformer examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
polygons examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
raycasting vector: add anti-alias options to the utility functions 2023-03-18 11:01:48 +09:00
realtimepcm examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
resources examples/keyboard/keyboard: use text/v2 2023-11-19 16:47:08 +09:00
rotate ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
set ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
shader all: rename arguments in Fragment 2023-09-21 01:35:57 +09:00
shapes vector: add anti-alias options to the utility functions 2023-03-18 11:01:48 +09:00
sinewave examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
skipdraw ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
snake vector: add anti-alias options to the utility functions 2023-03-18 11:01:48 +09:00
sprites ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
spriteshd ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
squiral examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
stars vector: add anti-alias options to the utility functions 2023-03-18 11:01:48 +09:00
subimage examples/subimage: add a comment 2023-02-17 02:06:40 +09:00
text text/v2: rename LineHeight -> LineSpacingInPixels 2023-11-17 01:19:05 +09:00
texti18n text/v2: bug fix: Measure didn't work correctly with vertical faces 2023-11-23 23:25:10 +09:00
textinput text/v2: rename LineHeight -> LineSpacingInPixels 2023-11-17 01:19:05 +09:00
tiles ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
touch ebiten: deprecate (*Image).Size 2023-01-20 01:26:37 +09:00
typewriter examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
ui text/v2: rename LineHeight -> LineSpacingInPixels 2023-11-17 01:19:05 +09:00
vector ebiten: add a new FillRule: NonZero 2023-11-06 12:11:38 +09:00
vibrate examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
wav examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
wheel examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
windowclosing examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00
windowsize internal/ui: bug fix: SetWindowIcon(nil) didn't reset the window icon 2023-09-30 02:46:40 +09:00
README.md examples: remove example build tag (#2433) 2022-11-03 20:24:09 +09:00

How to execute the examples

Desktops

go run github.com/hajimehoshi/ebiten/v2/examples/rotate@latest

Android

Install gomobile first.

gomobile install github.com/hajimehoshi/ebiten/v2/examples/rotate@latest

iOS

gomobile build -target=ios -work github.com/hajimehoshi/ebiten/v2/examples/rotate@latest

Then, open the WORK directory, open main.xcodeproj, add signing, and run the project.