Hajime Hoshi
1ca0ecc10f
internal/devicescale: Add comment about #1573
...
Updates #1573
2021-04-17 18:14:26 +09:00
Hajime Hoshi
150b780ebe
ebiten: Add comments about #1575
...
Updates #1575
2021-04-17 17:33:33 +09:00
Hajime Hoshi
54ac6bed1e
ebiten: Refactoring
2021-04-17 17:30:48 +09:00
Hajime Hoshi
161b1965ba
ebiten: Refactoring: Call (*Window).SetPosition even before the run loop
2021-04-17 17:19:36 +09:00
Hajime Hoshi
deba352384
internal/uidriver/glfw: Prefer currentMonitor to get the monitor at deviceScaleFactor
2021-04-17 17:03:50 +09:00
Hajime Hoshi
e89f53774c
internal/uidriver/glfw, internal/devicescale: Add comments
2021-04-17 15:45:46 +09:00
Hajime Hoshi
585f173d1c
internal/uidriver/glfw: Bug fix: Treat pixel units correctly
...
Updates #1385
2021-04-17 04:43:33 +09:00
Hajime Hoshi
99b2b5c1ee
internal/glfw: Bug fix: compile error on Windows
...
Updates #1385
2021-04-17 04:24:19 +09:00
Hajime Hoshi
9b6ba5ed2c
ebiten: Add {Set,}WindowSizeLimits
...
Closes #1385
2021-04-17 03:58:06 +09:00
Hajime Hoshi
5255a54e20
ebiten: Fix the comment about SetCursorMode (again)
...
Updates #1572
2021-04-16 11:57:53 +09:00
Hajime Hoshi
ad8830d2b7
ebiten: Fix the comment about SetCursorMode
...
Updates #1572
2021-04-16 03:27:52 +09:00
Hajime Hoshi
4cbbdbf518
internal/uidriver/js: Misspelling
2021-04-16 03:14:46 +09:00
Hajime Hoshi
20705d63a3
internal/uidriver/js: Refactoring
2021-04-16 03:13:12 +09:00
Hajime Hoshi
ead84553a0
internal/uidriver/js: Implement CursorModeCaptured
...
Closes #1572
2021-04-16 03:09:24 +09:00
Hajime Hoshi
3c1226a227
internal/uidriver/js: Bug fix: SetCursorMode didn't work
2021-04-16 01:21:48 +09:00
Hajime Hoshi
d00d0c8556
ebiten: Add CursorShape/SetCursorShape/CursorShapeType
...
This change adds APIs to enable to use system cursor shapes other
than the default shape (an arrow).
This change doesn't add these cursors since they seem a little
different on macOS from the other platforms.
* GLFW_HRESIZE_CURSOR
* GLFW_VRESIZE_CURSOR
Closes #995
2021-04-16 01:09:19 +09:00
Hajime Hoshi
71e899acf3
internal/uidriver/glfw: Refactoring
2021-04-15 02:01:20 +09:00
Hajime Hoshi
264274b43b
Fix test.yml to always use the latest Ebiten on mobiles
...
Updates #1397
2021-04-15 00:19:30 +09:00
Hajime Hoshi
a7754eaae0
cmd/ebitenmobile: Update gomobile version
2021-04-14 22:57:39 +09:00
Hajime Hoshi
4398a5e227
ebiten: Change the key name convention to follow the Web standard
...
Closes #1394
2021-04-14 22:49:07 +09:00
Hajime Hoshi
4c22314b3a
ebiten: Remove old comments
2021-04-14 00:21:15 +09:00
Hajime Hoshi
c918a6ab20
ebiten: Refactoring genkeys.go
2021-04-14 00:01:16 +09:00
Hajime Hoshi
3043c6cb8e
examples/windowsize: Enable to switch CursorMode
2021-04-11 03:33:02 +09:00
Hajime Hoshi
7934c3b22b
internal/driver: Clean CursorMode values up
2021-04-11 03:29:14 +09:00
Hajime Hoshi
2e6e1ed39d
mobile/ebitenmobileview: Add DeviceScale and use it at EbitenView
...
Closes #1482
2021-04-11 02:30:39 +09:00
Hajime Hoshi
8a8700b636
Update indirect dependencies
2021-04-11 01:50:35 +09:00
Hajime Hoshi
a121d01c8a
Update dependencies
2021-04-11 01:48:10 +09:00
Hajime Hoshi
3b4352f533
Add iOS build on GitHub Actions ( #1567 )
...
Closes #1397
2021-04-11 00:04:09 +09:00
Hajime Hoshi
e0372d9478
Add Android build on GitHub Actions ( #1566 )
...
Updates #1397
2021-04-10 22:36:49 +09:00
Hajime Hoshi
50afac7d71
Update README
2021-04-10 22:26:41 +09:00
Hajime Hoshi
7d7a0b7426
Reenable the Wasm test on Ubuntu ( #1565 )
...
Closes #1550
2021-04-10 21:49:25 +09:00
Hajime Hoshi
45f10f134f
ebiten: Add Key{Left,Right}{Alt,Control,Shift,Super}
...
Closes #1561
2021-04-10 19:59:34 +09:00
Hajime Hoshi
d46b0c5b49
examples/shader: Use const
...
Closes #1192
2021-04-09 02:02:03 +09:00
Hajime Hoshi
77b51e4707
internal/shader: Add more tests and improve the comment
...
Updates #1192
2021-04-09 01:25:37 +09:00
Hajime Hoshi
1cdc6ea72b
internal/shader: Bug fix: Treat multiple constant definitions in one statement correctly
...
Updates #1192
2021-04-09 01:18:38 +09:00
Hajime Hoshi
3b6fa891ac
internal/shader: Bug fix: Error on duplicated const/var names
...
Updates #1192
2021-04-09 00:12:17 +09:00
Hajime Hoshi
59a80cf953
internal/shader: Implement basic constants
...
Updates #1192
2021-04-09 00:00:49 +09:00
Hajime Hoshi
0246a6407e
ebiten: Guarantee that CursorPosition returns (0, 0) in the very initial state on desktops
...
This change also guarantees that CursorPosition always returns (0, 0)
on mobiles.
2021-04-07 03:08:09 +09:00
Hajime Hoshi
ad3c76b6d9
internal/uidriver/js: Bug fix: CursorPosition crashed before the main loop on browsers
...
Closes #1559
2021-04-07 03:07:09 +09:00
Hajime Hoshi
0300be7d9e
examples/keyboard: Use inpututil functions in Update rather than Draw
...
This is not a strict rule, but it is preferrable to use input functions
in Update rather than Draw.
2021-04-07 01:54:53 +09:00
Hajime Hoshi
0fcf5c8470
inpututil: Add PressedKeys
...
Closes #770
2021-04-07 01:50:39 +09:00
Hajime Hoshi
6fe6543b4b
internal/graphicsdriver/opengl: Bug fix: getBufferSubData was available only with WebGL2
2021-04-06 00:11:51 +09:00
Hajime Hoshi
bd8367588e
internal/graphicsdriver/opengl: Prepare function objects by bind
...
Passing a Go string to the JS world is expensive. This change reduces
this cost by preparing function objects by bind.
Closes #1438
2021-04-05 23:53:21 +09:00
Hajime Hoshi
5c8d8ab2eb
ebiten: Make NewImage/NewImageFromImage panic when RunGame finishes
...
Closes #1149
2021-04-03 18:44:43 +09:00
Hajime Hoshi
d6ee55cb22
ebiten: Update comments
2021-04-03 18:05:36 +09:00
Hajime Hoshi
8d951ea024
ebiten: Update comments
2021-04-03 17:56:34 +09:00
Hajime Hoshi
475453d5d2
internal/uidriver/glfw: Refactoring: use glfw.Window when possible
...
Updates #1122
2021-04-03 17:29:38 +09:00
Hajime Hoshi
4263b8e352
Update Go versions at the tests
2021-04-02 11:15:25 +09:00
Hajime Hoshi
0de024229d
audio: Guarantee that (*Player).Current's returning value is increased monotonically
...
Closes #1501
2021-03-31 23:41:28 +09:00
Hajime Hoshi
83dc3966e7
audio/internal/go2cpp: Bug fix: Set the volume whenever the player state is
2021-03-31 21:08:32 +09:00