Hajime Hoshi
4749fc4193
inpututil: bug fix: GamepadButtonNum can exceed GamepadButtonMax
...
Closes #2027
2022-03-25 14:32:07 +09:00
Kacper Drobny
b1c235145b
ebiten: add missing backward compatibility Add key ( #2024 )
...
Closes #2025
2022-03-24 02:45:11 +09:00
Hajime Hoshi
6443af6401
internal/ui: bug fix: make the window resizable after the window is created
...
Making the window resizable BEFORE the window is created doesn't
work correctly, especially when switching to enable resizing later.
Closes #1987
2022-02-10 00:55:15 +09:00
Hajime Hoshi
7f569f3071
Revert "internal/graphicsdriver/metal: Bug fix: Vsync didn't work on macOS"
...
This reverts commit 1dd13ae06e
.
Reason: This caused FPS drop on macOS 12.0.1
Updates #1885
Closes #1939
2022-01-09 01:07:04 +09:00
Hajime Hoshi
02d62aff14
internal/uidriver/js: bug fix: context might be nil before the loop starts
...
Closes #1928
2022-01-03 15:18:32 +09:00
Hajime Hoshi
b564f239de
.build: bug fix: remove an unused template parameter
2021-12-15 03:08:43 +09:00
Hajime Hoshi
b938806fc1
.github/workflows: use the web hook for builds.sr.ht instead of web APIs
...
There is an intentional limitation in builds.sr.ht and only up to 4 VMs work
at the same time. Users have to follow this rule.
Updates #1664
2021-12-15 02:56:41 +09:00
Hajime Hoshi
67d158b451
internal/uidriver/glfw: Bug fix: Rendering should be updated after restoring from fullscreen
...
u.toChangeSize affects the result of u.updateSize. When the callback
for WindowSetSize is invoked, toChangeSize should be true.
In order to simplify the logic, we have to remove toChangeSize later.
Closes #1884
2021-11-27 17:54:53 +09:00
Hajime Hoshi
7a850a15a9
internal/uidriver/glfw: Bug fix: Return a tentative scale when glfw.GetPrmaryMonitor returns 1
...
Updates #1878
2021-11-27 15:20:24 +09:00
Hajime Hoshi
0e63ab5d78
internal/graphicsdriver/metal: Bug fix: Vsync didn't work on macOS
...
This fix works only for Metal. There is not a good solution for
OpenGL so far unfortunately.
Closes #1885
2021-11-27 02:54:55 +09:00
Hajime Hoshi
bff48c8254
Revert "internal/shader: Bug fix: Treat a non-typed consntat argument as a float"
...
This reverts commit 960b3796b2
.
2021-11-14 16:14:08 +09:00
Hajime Hoshi
960b3796b2
internal/shader: Bug fix: Treat a non-typed consntat argument as a float
...
Closes #1874
2021-11-14 15:49:30 +09:00
Hajime Hoshi
97af84c32a
internal/uidriver/glfw: Bug fix: Crashed a transparent button with the green button
...
Updates #1822
Closes #1857
2021-10-31 18:22:12 +09:00
Hajime Hoshi
afded3c711
internal/atlas, initernal/graphics: Bug fix: Needed to reset 'notFullyUsedTime'
2021-10-31 18:22:03 +09:00
Hajime Hoshi
afa1d9ce2a
internal/uidriver/glfw: Wait for a FramebufferSize callback for the initial temporary window
...
Updates #1847
2021-10-13 00:16:56 +09:00
Hajime Hoshi
f2e2b154de
internal/uidriver/glfw: Bug fix: Wait for FramebufferSize callback after a window creation
...
Closes #1847
2021-10-13 00:05:02 +09:00
Hajime Hoshi
57f3766a9c
internal/uidriver/glfw: Bug fix: Adjust the window size along with the device scale
...
After this change, UserInterface's windowWidth and windowHeight are
now windowWidthInDP and windowHeightInDP in device-independent pixels.
Closes #1844
2021-10-10 14:30:54 +09:00
Hajime Hoshi
da5843c1eb
internal/uidriver/glfw: Bug fix: Get the correct initial monitor and its scale
...
Before this fix, Win32API is used to get the current monitor. This
might not work and return an unexpected monitor on some machines after
the runloop starts.
Instead, use the current window to get the current monitor correctly
instead of the Win32APIs. To get the initial monitor, the API
ForegroundWindow is still used.
Updates #1584
Updates #1844
2021-10-09 18:18:36 +09:00
Hajime Hoshi
1b28002a93
Update Oto to v2.1.0-alpha.2
2021-10-01 00:04:34 +09:00
Hajime Hoshi
1ededbd9d9
internal/uidriver/glfw: Bug fix: Do not hide the window after its creation
...
Closes #1829
2021-09-29 01:00:34 +09:00
Hajime Hoshi
1cd3a93809
vector: Fix comments
2021-09-26 01:13:12 +09:00
Hajime Hoshi
f5c790c671
Update version to v2.2.0-rc.1
2021-09-25 14:31:24 +09:00
Hajime Hoshi
56c5bec908
internal/gamepaddb: Do not fetch the database file on go:generate
...
This is too aggressive and sometimes risky to update the database
file always when go-generate is executed.
2021-09-25 04:03:19 +09:00
Hajime Hoshi
9ab6758b7a
internal/gamepaddb: Remove some hacks for wrong formats
2021-09-25 03:56:06 +09:00
Hajime Hoshi
52d917eff0
go generate
2021-09-25 03:45:17 +09:00
Hajime Hoshi
77664ff057
internal/uidriver/glfw: Use the correct initial monitor on Linux/UNIX
...
Closes #1827
2021-09-25 02:48:13 +09:00
Hajime Hoshi
23566a7d2e
internal/uidriver/glfw: Refactoring
2021-09-25 02:14:14 +09:00
Hajime Hoshi
a0be4a302c
internal/gamepaddb: Bug fix: A mapping for an axis/button might be missing
...
Closes #1825
2021-09-25 00:58:06 +09:00
Hajime Hoshi
0d673a68ab
examples/blocks/blocks: Support standard gamepad axes
2021-09-24 23:35:01 +09:00
Hajime Hoshi
a7b5db6f65
internal/uidriver/glfw: Use GLFW's fullscreen when the window is transparent on macOS
...
Closes #1822
2021-09-24 03:22:09 +09:00
Hajime Hoshi
159bc8dda1
examples/stars: Reduce the window size
2021-09-24 01:55:18 +09:00
Hajime Hoshi
cca2addb8a
Fix Oto issue on Windows
...
Updates hajimehoshi/oto#151
2021-09-24 01:37:18 +09:00
Hajime Hoshi
2b6debf960
examples/windowsize: Bug fix: Wrong comment
2021-09-23 21:40:10 +09:00
Hajime Hoshi
f64a946052
internal/gamepaddb: Use XInput's trigger threshold
2021-09-23 15:25:27 +09:00
Hajime Hoshi
226378da88
internal/gamepaddb: Bug fix: ButtonValue must return [0, 1]
2021-09-23 15:18:16 +09:00
Hajime Hoshi
0fdec144ef
Update the overview
2021-09-23 14:18:26 +09:00
Hajime Hoshi
263276c5ab
internal/uidriver/glfw: Refactoring
2021-09-23 02:48:22 +09:00
Hajime Hoshi
422387c7cd
internal/uidriver/glfw: Refactoring
2021-09-23 02:03:37 +09:00
Hajime Hoshi
f00bdc99f7
examples: Change the sample rate to 48000
...
Closes #1649
2021-09-23 01:36:00 +09:00
Hajime Hoshi
4b64eadfe5
internal/mipmap, internal/atlas: Integrate for-loops for color scaling
2021-09-23 00:28:20 +09:00
Hajime Hoshi
8063f2050c
internal/graphicscommand: Optimize flush
2021-09-23 00:03:41 +09:00
Hajime Hoshi
7675e2735b
internal/graphicscommand: Refactoring: Do not you 'int' as a variable name
2021-09-22 23:39:56 +09:00
Hajime Hoshi
683da479c7
.github/worksflows: Bug fix: wasmbrowsertest doesn't support -shuffle yet
2021-09-22 20:09:31 +09:00
Hajime Hoshi
3cb5f78036
.github/worksflows: Bug fix: Add =on to -shuffle
2021-09-22 19:58:34 +09:00
Hajime Hoshi
0c1449de5e
.github/worksflows: Add -shuffle
...
Closes #1817
2021-09-22 19:50:05 +09:00
Hajime Hoshi
f79acf9569
internal/mipmap: Bug fix: nil should be meaningful for a mipmap map
2021-09-21 00:46:11 +09:00
Hajime Hoshi
81fd7ab8f6
internal/mipmap: Create a mipmap map lazily
2021-09-20 23:27:14 +09:00
Hajime Hoshi
9dbff2cddd
internal/uidriver/glfw: Make SetFullscreen more responsive on macOS
2021-09-20 21:01:17 +09:00
Hajime Hoshi
07c8cb0e23
examples: Misspelling (//go:generated -> //go:generate)
2021-09-20 15:23:43 +09:00
Hajime Hoshi
537bdb29f8
examples: Update comments
2021-09-20 15:16:09 +09:00