Commit Graph

9374 Commits

Author SHA1 Message Date
Hajime Hoshi
5e39cfec14 internal/ui: bug fix: wrong property names were specified
Closes #2975
2024-04-30 23:33:40 +09:00
Hajime Hoshi
0b5258000f .github/workflows: fix comments
Updates #2972
2024-04-29 09:58:18 +09:00
Hajime Hoshi
02c368bfb4 .github/workflows: bug fix: Wasm tests didn't work on macOS and Windows
Closes #2973
2024-04-28 21:24:55 +09:00
Hajime Hoshi
17d75bfaad internal/gamepaddb: bug fix: platform was not initialized correctly
After 6552ae1dbe, the order of the init
function calls changed, and then the platform was not initialized
correctly.

This change fixes this issue by not relying on an init function to
get the platform.

Closes #2964
2024-04-18 13:30:31 +09:00
Hajime Hoshi
b21ee6f467 examples/texti18n: update comments 2024-04-12 12:30:59 +09:00
Hajime Hoshi
106f3e1a57 text/v2: bug fix: given options were unexpectedly modified
Closes #2954
2024-04-07 22:16:54 +09:00
Hajime Hoshi
4d268f5ce4 internal/ui: bug fix: a window was shown unexpectedly at start-up
Closes #2951
2024-04-07 02:56:07 +09:00
Hajime Hoshi
3136de4958 internal/ui: bug fix: setting a size failed for an invisible window
Updates #2725
Closes #2951
2024-04-06 22:28:56 +09:00
Hajime Hoshi
cf5b851cd3 exp/textinput: typo 2024-04-02 03:09:47 +09:00
Hajime Hoshi
f20fb3998c update dependencies 2024-04-01 23:27:12 +09:00
Hajime Hoshi
5cab3cc88f Revert "internal/graphicsdriver/directx: add 'tearing' for EBITENGINE_DIRECTX"
This reverts commit b6252a41f2.

Reason: We need more investigation about tearing and vsync=off

Updates #2858
2024-03-30 20:09:01 +09:00
Hajime Hoshi
a7088390cd all: update gomobile fixing an Apple validation/distribution issue
Closes #2946
2024-03-30 02:06:37 +09:00
Hajime Hoshi
ec3d2fcfcf all: update README for new packages 2024-03-29 13:37:40 +09:00
Hajime Hoshi
dade012f64 go mod tidy 2024-03-27 23:11:47 +09:00
Hajime Hoshi
073544b894 all: update Oto and PureGo 2024-03-27 23:06:52 +09:00
Hajime Hoshi
013e235628 cmd/ebitenmobile, exp/textinput: typo 2024-03-27 15:40:37 +09:00
Hajime Hoshi
59521d715b all: update go-text 2024-03-27 14:55:02 +09:00
Hajime Hoshi
11398f3bb5 ebiten: rename BuildTag -> BuildConstraints 2024-03-27 14:50:09 +09:00
Hajime Hoshi
5c0c084b6e cmd/ebitenmobile: update the default Android SDK version to 21 2024-03-27 14:23:00 +09:00
Hajime Hoshi
25a814d561 cmd/ebitenmobile: bug fix: wrong path was used
Updates #2937
2024-03-27 12:30:12 +09:00
Hajime Hoshi
0ab4538fa1 all: update gomobile
Closes #2937
2024-03-27 11:55:08 +09:00
Hajime Hoshi
fd2c79398e Revert "internal/atlas: refactoring: ensure ReadPixels to be processed in a frame"
This reverts commit 55702a7c28.

Reason: This didn't work with the single-thread mode.

Updates #1704
Closes #2939
2024-03-26 13:10:00 +09:00
Hajime Hoshi
459ad709a6 internal/gamepaddb: omit the database for consoles
Updates #2936
2024-03-25 03:08:19 +09:00
Hajime Hoshi
04c4676b7c internal/png: update with Go 1.22 2024-03-24 20:36:31 +09:00
Hajime Hoshi
6552ae1dbe internal/gamepaddb: do not include the database for browsers
This reduces Wasm binary size by 525kb.
2024-03-24 20:16:11 +09:00
Hajime Hoshi
dc8baf96f9 internal/gamepaddb: update the database 2024-03-24 19:18:49 +09:00
Hajime Hoshi
d04d6271d0 internal/ui: bug fix: reset some input states on blur events on browsers
Closes #2874
2024-03-24 16:03:17 +09:00
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