Hajime Hoshi
03c0a55d41
examples/audio: add x^1.66 volume mode
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-08 14:04:40 +09:00
Hajime Hoshi
7ccd9120fc
examples/audio: add volume mode (linear, squared, cubed, decibel)
...
Add a volume mode selector that cycles through four curves: Linear
(default), Squared, Cubed, and Decibel (-60dB base). This gives more
control over how the volume slider maps to actual audio output.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-08 13:27:45 +09:00
Hajime Hoshi
2664e96060
text/v2: support embedded bitmap glyphs in TTF fonts
...
Closes #2956
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-27 05:01:45 +09:00
Sergey
175661847a
examples/snake: fix snake game breakage when changing const gridSize ( #3424 )
2026-03-24 04:00:01 +09:00
Hajime Hoshi
b2e88b02ae
exp/textinput: add Field.SetBounds and Field.Handled, process input via internal hook
...
Replace the per-frame HandleInputWithBounds call with SetBounds (call only
when bounds change) and Handled (query whether input was consumed). Input
processing now runs automatically via an internal hook on before-update,
so users no longer need to drive it every tick.
Deprecate HandleInput and HandleInputWithBounds in favor of the new API.
Closes #3420
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-21 23:14:28 +09:00
Hajime Hoshi
efab369512
all: go fix
2026-03-15 17:46:48 +09:00
Hajime Hoshi
585a70934a
ebiten: bug fix: typo in API WindowColorMode
...
Updates #3387
2026-02-28 22:23:13 +09:00
Hajime Hoshi
1629157ad6
ebiten: add SetWindowColorMode
...
Closes #3387
2026-02-28 21:45:22 +09:00
Hajime Hoshi
250897be82
ebiten: add CursorPositionF
...
Closes #3394
2026-02-28 15:45:31 +09:00
Jon Rafkind
e8a9c3581a
audio: add opus package ( #3393 )
...
Adds support for opus audio decoding in the ebiten/v2/audio/opus package.
Closes #368
2026-02-21 11:40:20 +09:00
Hajime Hoshi
0c440698e0
ebiten: add ColorMode and SystemColorMode
...
Closes #3386
2026-02-13 02:10:48 +09:00
Hajime Hoshi
cf524860e7
examples/2048/2048: bug fix: touch didn't work correctly
...
Closes #3373
2026-01-14 01:07:25 +09:00
Hajime Hoshi
b998753fe9
examples/textinput: use ReplaceText and SetSelection
2026-01-06 17:11:17 +09:00
Hajime Hoshi
c88990a815
vector: refactoring
...
This change also adds examples/vectorlegacy
2025-12-27 17:16:49 +09:00
Hajime Hoshi
f0f0bb339d
all: use errors.Join to catch all possible errors
...
Closes #3332
2025-10-17 23:39:13 +09:00
Hajime Hoshi
fa51d1d012
examples/dropfile: use slog
2025-09-20 18:56:23 +09:00
iliya
b276393b53
examples/doom: refactor fire pixel update loops and intensity logic ( #3295 )
...
Replaced for-loops in updateFirePixels with range-based loops for clarity. Simplified newI calculation in updateFireIntensityPerPixel using max().
2025-08-10 17:42:45 +09:00
iliya
b262191c79
examples: Refactor loops to use range in example files ( #3294 )
...
Replaces traditional for-loop constructs with 'for range' syntax in several example files for improved readability and idiomatic Go style. Affects contextlost, keyboard, mandelbrot, masking, moire, and noise examples.
2025-08-10 17:30:54 +09:00
iliya
fb6cac2882
all: replace deprecated image.ZP and image.ZR usages ( #3291 )
...
Updated code to use image.Point{} instead of image.ZP and image.Rectangle{} instead of image.ZR, as the former are deprecated. This improves code clarity and future compatibility.
2025-08-10 16:06:34 +09:00
Hajime Hoshi
f0b95f97bc
vector: add DrawOptions and change StrokePath and FillPath signatures
...
This commit adds DrawOptions so that rendering APIs can specify
blending.
This commit also changes the definition of FillRule so that
FillRuleNonZero becomes 0.
Closes #3287
2025-08-07 00:46:55 +09:00
Jordan Philyaw
298625b150
examples/vector: remove unused params ( #3282 )
2025-07-30 03:33:44 +09:00
Hajime Hoshi
80e3e01e88
vector: rename functions from DrawFilled* to Fill*
...
Updates #3150
2025-07-06 23:57:59 +09:00
Hajime Hoshi
313b30a498
examples/shapes: add debugui
2025-07-06 17:56:41 +09:00
Hajime Hoshi
f96d89f808
vector: add (*Path).AddPath and AddPathOptions
...
Closes #3266
2025-06-29 16:57:31 +09:00
Hajime Hoshi
15f2796970
ebiten: add sub-image caches to reduce allocations
...
Updates #2902
2025-05-31 13:17:15 +09:00
Hajime Hoshi
d3012c4cb1
examples/subimage: fix comments
...
This issue no longer exists.
Closes #2471
2025-05-27 07:11:55 +09:00
ILIYA
aa1a861a98
example/2048/2048: remove unused tileAt func ( #3243 )
2025-05-20 03:02:10 +09:00
ILIYA
95e1799b77
all: modernize for loop ( #3242 )
2025-05-20 02:46:29 +09:00
Hajime Hoshi
dde281b93b
exp/textinput: clarify the bounds for HandleInputWithBounds
2025-05-12 22:52:45 +09:00
Hajime Hoshi
6bd9021a91
exp/textinput: add HandleInputWithBounds
...
Closes #3233
2025-05-12 22:09:00 +09:00
Hajime Hoshi
d6f95c4e8c
ebiten: add RunGameOptions.ApplePressAndHoldEnabled
...
Updates #3233
2025-05-11 22:11:45 +09:00
Hajime Hoshi
f978dddfff
all: update bitmapfont to v4
2025-05-10 20:34:41 +09:00
Hajime Hoshi
f345eb34b5
examples/windowsize: add -passthrough
...
Updates #3222
2025-04-05 05:01:44 +09:00
Hajime Hoshi
cbdf0c8f4b
examples/windowsize: bug fix: P key didn't work
2025-04-01 00:07:32 +09:00
Hajime Hoshi
19a7fbbe35
all: update debugui
2025-03-31 23:34:30 +09:00
Hajime Hoshi
e31af5024c
all: update ebitengine/debugui
2025-03-29 19:33:23 +09:00
Hajime Hoshi
fb3d4317ee
examples/wav: use debugui
...
Closes #3068
2025-03-25 23:51:26 +09:00
Hajime Hoshi
7fc4636b43
examples/vector: use debugui
...
Updates #3068
2025-03-25 23:45:02 +09:00
Hajime Hoshi
450b7b5cc7
examples/squiral: use debugui
...
Updates #3068
2025-03-25 23:09:23 +09:00
Hajime Hoshi
601df27617
examples/spriteshd: refactoring
2025-03-25 23:02:06 +09:00
Hajime Hoshi
ed0693451c
examples/spriteshd: use debugui
...
Updates #3068
2025-03-25 22:52:09 +09:00
Hajime Hoshi
de80ccbb56
examples/sprites: use debugui
...
Updates #3068
2025-03-25 22:41:20 +09:00
Hajime Hoshi
634023bf78
examples/shader: use debugui
...
Updates #3068
2025-03-24 23:21:58 +09:00
Hajime Hoshi
334e56c519
examples/polygons: use debugui
...
Updates #3068
2025-03-23 22:37:09 +09:00
Hajime Hoshi
dcebd8880b
examples/monitor: use debugui
...
Updates #3068
2025-03-23 22:19:04 +09:00
Hajime Hoshi
adbbcb9256
examples/minify: add manual scaling
...
Updates #3068
2025-03-23 21:50:31 +09:00
Hajime Hoshi
85d66ea3de
examples/minify: use debugui
...
Updates #3068
2025-03-23 21:42:46 +09:00
Hajime Hoshi
54bf1ad214
examples/test: use debugui
...
Updates #3068
2025-03-23 19:44:51 +09:00
Hajime Hoshi
d359ae697b
examples/hsv: use debugui
...
Updates #3068
2025-03-23 19:17:55 +09:00
Hajime Hoshi
bb5a63110d
examples/fontfeature: use debugui
...
Updates #3068
2025-03-23 18:35:59 +09:00