Hajime Hoshi
3279688dd6
Revert "shaderprecomp: accept an ID instead of source to register"
...
This reverts commit ecc3f29af1
.
Reason: we are considering to remove ShaderSourceID
Updates #2861
Updates #2999
2024-05-26 21:29:44 +09:00
Hajime Hoshi
ecc3f29af1
shaderprecomp: accept an ID instead of source to register
...
Updates #2861
2024-05-26 19:39:30 +09:00
Hajime Hoshi
1c438cb5c8
examples/shaderprecomp/fxc, examples/shaderprecomp/metallib: add go:build
2024-05-26 16:05:58 +09:00
Hajime Hoshi
002e375d64
examples/audio: remove unneeded resampling
2024-05-18 22:15:24 +09:00
Hajime Hoshi
a391da6c77
examples/shaderprecomp/metallib: stop using errgroup
2024-05-06 17:25:21 +09:00
Hajime Hoshi
10d9660125
shaderprecomp: implement for Windows
...
Closes #2861
2024-05-06 16:03:57 +09:00
Hajime Hoshi
42eef43136
examples/shaderprecomp: add .
2024-05-05 04:53:14 +09:00
Hajime Hoshi
c46f62e184
all: add a new package shaderprecomp
...
The current implementation is only for macOS so far.
Updates #2861
2024-05-05 03:51:04 +09:00
Hajime Hoshi
2bd9472d2c
examples/video: performance optimization by encouraging BCE
2024-04-12 21:45:54 +09:00
Hajime Hoshi
c105224705
examples/video: show FPS
2024-04-12 15:16:26 +09:00
Hajime Hoshi
3c1d74b2d5
examples/texti18n: update comments
2024-04-12 12:28:15 +09:00
Hajime Hoshi
8467cafe74
examples/video: fix the title
2024-04-12 00:54:20 +09:00
Hajime Hoshi
4a87339a0a
examples/video: use a shader to convert YCbCr to RGB
2024-04-12 00:47:10 +09:00
Hajime Hoshi
68cc017189
Revert "examples/video: reduce video FPS"
...
This reverts commit 6f3f58cb32
.
Reason: decoding the video already follows the framerate of the MPEG
data and skips rendering when necessary, so there is no need to adjust
FPS from Update.
2024-04-11 22:43:48 +09:00
Hajime Hoshi
6f3f58cb32
examples/video: reduce video FPS
2024-04-11 22:06:20 +09:00
Hajime Hoshi
d3befbf89b
examples: add an example to play a video
...
Closes #110
Updates #1768
Updates ebitengine/oto#235
2024-04-11 20:31:55 +09:00
Hajime Hoshi
4540ce5439
examples/scroll: update comments
2024-03-31 22:39:51 +09:00
Hajime Hoshi
4ae0712dc5
examples/scroll: support a mouse wheel
2024-03-31 19:38:36 +09:00
Hajime Hoshi
7ad9973d70
examples: add 'scroll'
2024-03-31 19:14:59 +09:00
Hajime Hoshi
f4029aaa77
ebiten: add (*Monitor).Size() to replace ScreenSizeInFullscreen()
...
Also, this change fixes redundant checks the case when a monitor
does not exist. Now Ebitengine checks a monitor existence at the
initialization.
Closes #2145
Closes #2795
2024-03-23 23:32:43 +09:00
Hajime Hoshi
230619a036
vector: allow NonZero for AppendVerticesAndIndicesForStroke
...
Closes #2833
2024-03-23 18:51:25 +09:00
Hajime Hoshi
0651803c40
examples/shader: add comments
...
Updates ebitengine/ebitengine.org#29
2024-03-23 15:45:55 +09:00
Hajime Hoshi
86f53b73e3
examples/dragmascot: add a comment
...
Updates #2783
2024-03-22 12:41:15 +09:00
Hajime Hoshi
f2f037ebda
examples: add an example to drag a desktop mascot
...
Closes #2783
2024-03-22 12:23:55 +09:00
Hajime Hoshi
4b1c0526a7
exp/textinput: add Field
...
Closes #2827
2024-03-20 23:19:32 +09:00
Hajime Hoshi
cd90f083bc
text/v2: rename StdFace to GoXFace
...
Closes #2925
2024-03-20 02:42:31 +09:00
Hajime Hoshi
4a212181e7
examples/audio: show milliseconds
...
Updates #2901
2024-03-16 22:42:01 +09:00
Hajime Hoshi
4d72f97e45
exp/textinput: add State.Error
2024-03-03 20:53:58 +09:00
Hajime Hoshi
6d898d752e
ebiten: add (*Monitor).DeviceScaleFactor()
...
This replaces ebiten.DeviceScaleFactor().
Updates #2795
2024-02-12 17:09:03 +09:00
Hajime Hoshi
60725eba86
ebiten: add RunGameOptions.X11ClassName and X11InstanceName
...
Closes #2904
2024-02-11 19:31:29 +09:00
Hajime Hoshi
dd6f5c4565
exp/textinput: bug fix: flaky behavior on iOS Safari
...
Closes #2898
2024-02-06 12:46:37 +09:00
Hajime Hoshi
5c7bfd3ed7
exp/textinput, examples/textinput: bug fix: handle input states correctly on Android Chrome
...
Updates #2898
2024-02-03 22:53:42 +09:00
Hajime Hoshi
f9fa5a14f2
examples/textinput: bug fix: accept touches
...
The remaining task is to enable a backspace key.
Updates #2898
2024-01-31 00:15:32 +09:00
Hajime Hoshi
08ae0f4a94
ebiten: add type GamepadAxisType
...
Updates #1718
2023-12-25 02:02:56 +09:00
Hajime Hoshi
f57703175e
text/v2: rename LineSpaceInPixels -> LineSpace for consistency
...
Updates #2454
2023-12-24 15:06:19 +09:00
Hajime Hoshi
6878bd79fc
text/v2: bug fix: correct rendering vertical texts in Mongolian
...
Closes #2849
Updates go-text/typesetting#111
2023-12-21 22:58:15 +09:00
Ahmet Affan
ef1fea890f
examples/snake: update comments ( #2869 )
2023-12-21 04:30:42 +09:00
Hajime Hoshi
06ca0157bf
examples/texti18n: sort texts in an alphabetical order of languages
2023-12-20 13:38:07 +09:00
Hajime Hoshi
127e686564
examples/texti18n: update LICENSE.md
2023-12-20 12:59:19 +09:00
Hajime Hoshi
08b7f1ff9d
examples/texti18n: add Burmese
2023-12-20 12:53:00 +09:00
LidlDev
c80a82c501
examples/platformer: add more descrpitive comments ( #2866 )
2023-12-18 01:25:57 +09:00
bsski
b8df1217c3
all: fix typos ( #2864 )
2023-12-17 22:42:34 +09:00
BioErrorLog
d05afcbcfa
all: fix typos ( #2859 )
2023-12-08 13:35:52 +09:00
Hajime Hoshi
668124d25c
text/v2: add a non-image glyphs for index info
2023-12-05 20:06:06 +09:00
Hajime Hoshi
800835d081
Revert "text/v2: rename Glyph -> Cluster"
...
This reverts commit f0d23de3d3
.
Reason: Cluster doesn't represent a cluster but a part of a cluster.
2023-12-05 19:44:32 +09:00
Hajime Hoshi
f0d23de3d3
text/v2: rename Glyph -> Cluster
...
This also changes AppendClusters to return cluster info even if a
cluster doesn't have a glyph.
2023-12-05 18:00:30 +09:00
Hajime Hoshi
81e0e61a43
text/v2: let NewMultiFace return an error
...
Updates #2845
2023-12-04 01:16:47 +09:00
Hajime Hoshi
dfa058a961
text/v2: change the signature of NewMultiFace
...
Updates #2845
2023-12-02 22:51:37 +09:00
Hajime Hoshi
5790597a15
text/v2: add LimitedFace
...
Closes #2857
2023-12-02 16:01:28 +09:00
Hajime Hoshi
a6b4a7a2ac
text/v2: add NewMultiFace
...
Updates #2857
2023-12-02 14:56:03 +09:00