Commit Graph

6110 Commits

Author SHA1 Message Date
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
Hajime Hoshi
3a0f7e619e Update README 2021-03-30 10:39:28 +09:00
Hajime Hoshi
603facec0d Update README 2021-03-30 10:32:01 +09:00
Hajime Hoshi
160441bb07 ebiten: Bug fix: Wrong documentation about SetScreenClearedEveryFrame
Closes #1555
2021-03-30 00:32:17 +09:00
Hajime Hoshi
9dd00114c5 internal/devicescale: Remove a Unicode space 2021-03-28 23:39:06 +09:00
Hajime Hoshi
f0d7e16eb2 audio/internal/readerdriver: Refactoring 2021-03-28 23:27:47 +09:00
Hajime Hoshi
bf4c1e3d74 audio: Bug fix: Compile error for tests 2021-03-28 22:57:50 +09:00
Hajime Hoshi
f4efdd6355 audio/internal/go2cpp: Protect the functions by the lock correctly 2021-03-28 22:40:36 +09:00
Hajime Hoshi
f4b770eff6 audio/internal/readerdriver: Add Player.Err 2021-03-28 22:21:07 +09:00
Hajime Hoshi
b46cb324ed audio: Add audio/internal/readerdriver package 2021-03-28 18:34:16 +09:00
Hajime Hoshi
19702619ee ebiten: Bug fix: AdjustPosition could return Inf
Before the initialization finishes, AdjustPosition could return Inf
values and in this case AdjustPosition's returning values don't make
sense. Let's return NaN in this case.

Closes #1545
2021-03-27 18:46:14 +09:00
Hajime Hoshi
d415e9c771 internal/uidriver/glfw: Refactoring 2021-03-27 18:35:31 +09:00
Hajime Hoshi
88478fc80f Add the issue number to test.yml
Updates #1550
2021-03-27 05:01:39 +09:00
Hajime Hoshi
7018d9f6d1 Skip the Wasm tests on Ubuntu 2021-03-27 02:34:50 +09:00
Hajime Hoshi
c38e9ab712 Update README about input devices on mobiles
Updates #1539
2021-03-27 00:38:24 +09:00
Hajime Hoshi
63e3c675be Update README
This change doesn't mean we won't support Nintendo Switch. However,
until we finish preparing the developing environment, let's not
mention about Nintendo Switch yet.

Updates #744
2021-03-27 00:32:22 +09:00
Hajime Hoshi
906aaa364f Update the overview image 2021-03-25 00:40:34 +09:00
Hajime Hoshi
7212cd7999 audio: Bug fix: Race condition on accessing the set of players
Closes #1548
2021-03-24 23:41:18 +09:00
Hajime Hoshi
922b1f163a Add Huw Griffiths to AUTHORS 2021-03-24 22:28:15 +09:00
Huw Griffiths
e1e213cc10
Add a new Touch example (#1547) 2021-03-24 22:27:12 +09:00
Hajime Hoshi
7696d51839 audio: Bug fix: Duplicated pausing at reader players
This caused unexpected 'Unread' calls.
2021-03-24 00:19:49 +09:00