Hajime Hoshi
9147e7b21d
all: update dependencies
2024-03-24 16:00:38 +09:00
Hajime Hoshi
28d5f78dfb
all: update dependencies
2024-03-24 14:43:51 +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
b6252a41f2
internal/graphicsdriver/directx: add 'tearing' for EBITENGINE_DIRECTX
...
Now tearing happens only when 'tearing' is specified and vsync is off.
Closes #2858
2024-03-23 17:53:13 +09:00
Hajime Hoshi
0651803c40
examples/shader: add comments
...
Updates ebitengine/ebitengine.org#29
2024-03-23 15:45:55 +09:00
Hajime Hoshi
ea6fce45ff
internal/shader: bug fix: crash on assignment mismatches
2024-03-23 15:30:49 +09:00
Hajime Hoshi
66667fe877
internal/shader: bug fix: test failures
...
Updates #2934
2024-03-23 15:15:33 +09:00
Hajime Hoshi
7842942b24
internal/shader: bug fix: need to covert constant type correctly for assignments
...
Closes #2934
2024-03-23 15:08:34 +09:00
Hajime Hoshi
e7bb66bb2f
internal/shader: bug fix: ++/-- statements didn't work for vec2 on browsers
...
Closes #2933
2024-03-22 23:15:33 +09:00
Mykhailo Lohachov
1586c6764a
internal/shaderir: Kage update support for shift operators ( #2916 )
...
Closes #2755
2024-03-22 18:14:03 +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
b7dd45c0e4
internal/gamepad: ignore the very first MotionEvent with 0 value for Android
...
On Android, MotionEvent with 0 values might come for axes when connecting
a gamepad, even though a user didn't touch any axes. This is problematic
especially for tirgger axes, where the default value should be -1.
This change fixes the issue by adding a new state `axesReady` to check
if an axis is really touched or not. If an axis is not touched yet,
a button value for a standard (trigger) button always returns 0.
This change also removes an old hack to initialize axis values for
triggers.
Closes #2598
2024-03-21 22:28:48 +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
d15b12b4e5
all: update gomobile
2024-03-19 00:17:21 +09:00
Hajime Hoshi
f79f6dc55f
all: update go-text
2024-03-18 12:01:08 +09:00
Hajime Hoshi
6bbfec1869
audio: refactoring: initialize the context at an update hook
...
Closes #2715
2024-03-16 22:42:04 +09:00
Hajime Hoshi
4a212181e7
examples/audio: show milliseconds
...
Updates #2901
2024-03-16 22:42:01 +09:00
Hajime Hoshi
9cd525a04e
audio: bug fix: position adjustment should not start before ready
...
Updates #2901
2024-03-16 22:03:36 +09:00
Hajime Hoshi
9cc017412f
audio: refactoring
2024-03-16 21:44:39 +09:00
Hajime Hoshi
9faa3f4601
internal/gamepaddb: refactoring
2024-03-16 17:57:52 +09:00
Hajime Hoshi
696938987d
internal/gamepad: use locks for consistency
...
Perhaps Gamepad's m might not be needed, but let's use the lock for
consistency for the current situation.
2024-03-16 16:31:49 +09:00
Hajime Hoshi
209dc50f72
internal/gamepaddb: refactoring
2024-03-16 15:37:42 +09:00
Hajime Hoshi
047858aa59
internal/gamepaddb: rename functions
2024-03-16 15:16:29 +09:00
Hajime Hoshi
6cdabf09d1
ebiten: guarantee invalid color values are not clamped
...
Closes #2798
2024-03-13 12:03:44 +09:00
Hajime Hoshi
bb6430d3ba
internal/shader: bug fix: unexpected crash for out of range
...
Closes #2926
2024-03-13 11:37:00 +09:00
Hajime Hoshi
7389f9ddb2
ebiten: add KeyIntlBackslash
...
Updates #2921
2024-03-12 12:49:02 +09:00
Hajime Hoshi
4c7ed56077
text/v2: add a comment
2024-03-11 23:24:38 +09:00
Hajime Hoshi
63e97c7064
internal/shader: bug fix: needed to resolve const and non-const types
...
Closes #2922
2024-03-10 19:49:19 +09:00
Hajime Hoshi
c9a973c6c1
internal/ui: bug fix: needed to focus the window at launch
...
Updates #2725
Closes #2924
2024-03-10 12:44:28 +09:00
Hajime Hoshi
9a7dcb1077
internal/shader: bug fix: failed to return an array in HLSL
...
Closes #2923
2024-03-10 11:59:50 +09:00
Hajime Hoshi
927e025982
internal/shader: bug fix: wrong type conversion for min, max, and clamp
...
Closes #2922
2024-03-10 11:30:06 +09:00
Hajime Hoshi
dc05f2014f
exp/textinput: implement for Windows
...
Closes #2735
2024-03-09 23:05:19 +09:00
Hajime Hoshi
3eaa03e193
all: update dependencies
2024-03-07 10:03:44 +09:00
Hajime Hoshi
34cdb20276
all: update PureGo to v0.7.0-alpha.3
2024-03-04 00:02:55 +09:00
Hajime Hoshi
c0d9954b3e
exp/textinput: use native pixels for a candidate window position
2024-03-03 23:35:34 +09:00
Hajime Hoshi
3e4c47eb70
internal/ui: refactoring
2024-03-03 23:27:02 +09:00
Hajime Hoshi
4d72f97e45
exp/textinput: add State.Error
2024-03-03 20:53:58 +09:00
Hajime Hoshi
0fa39182cb
exp/textinput: refactoring
2024-03-02 17:17:27 +09:00
Hajime Hoshi
0a20670f3f
all: upadte PureGo
...
Updates ebitengine/purego#217
2024-03-01 03:00:52 +09:00
Hajime Hoshi
c5ebf8670b
Revert "all: update PureGo"
...
This reverts commit 200c6569c3
.
Reason: this caused crashes on macOS
2024-03-01 01:19:13 +09:00
Hajime Hoshi
200c6569c3
all: update PureGo
2024-02-28 22:18:11 +09:00
Hajime Hoshi
cc3db584f2
internal/shader: allow integer types for clamp
...
Closes #2788
2024-02-25 21:21:27 +09:00
Hajime Hoshi
4b9508c523
internal/shader: bug fix: wrong type checks on min/max
...
Updates #2788
2024-02-25 21:17:54 +09:00
Hajime Hoshi
e8cdf885c0
internal/shader: allow integer types for min and max
...
Updates #2788
2024-02-25 20:18:19 +09:00
Hajime Hoshi
face5fd870
internal/shader: allow integer types for abs and sign
...
Updates #2788
2024-02-25 18:16:44 +09:00
Mykhailo Lohachov
012fe52b6f
internal/atlas: use bit manipulation for function power of 2 -like functions ( #2915 )
...
Closes #2914
2024-02-25 02:06:52 +09:00
Hajime Hoshi
64cb6cf8a9
internal/atlas: reduce test flakiness
2024-02-24 23:03:12 +09:00