Hajime Hoshi
f32a3154de
buffered: Bug fix: Set and some functions before the main loop caused wrong results
...
invalidatePendingPixels was not called properly.
Fixes #1081
2020-02-16 19:10:10 +09:00
Hajime Hoshi
ccab797473
buffered: Bug fix: Resolve pixels when DrawTriangles is called before the main loop
...
Fixes #1052
2020-01-11 04:29:55 +09:00
Hajime Hoshi
ff2159f56f
Update Oto version to v0.5.4
2019-12-26 18:02:19 +09:00
Hajime Hoshi
a3146024c3
buffered: Bug fix: Needed to copy pixels when buffering
...
Updates #983
2019-12-19 01:20:12 +09:00
Hajime Hoshi
5be536c043
restorable: Merge two 'copy' into one
...
Fixes #983
2019-12-19 01:19:47 +09:00
Hajime Hoshi
9284380ddd
Enable to compile Ebiten on js/wasm with Go 1.14
...
Fixes #1024
2019-12-19 00:48:56 +09:00
Hajime Hoshi
06f600dfa0
Use TRAVIS_COMMIT to specify the commit explicitly
2019-12-14 17:41:19 +09:00
Hajime Hoshi
a322e8d9c4
graphicsdriver/metal/mtl: Bug fix: need to link CoreGraphics as of Catalina
...
Fixes #989
2019-11-17 23:02:27 +09:00
Hajime Hoshi
3ea616dc28
uidriver/glfw: Bug fix: an unexpected window at launching
...
Fixes #986
2019-11-17 19:59:47 +09:00
Hajime Hoshi
e0e45b94e9
ui: Bug fix: a window was alwasy 'unfocused' on Windows
...
There is an issue in GLFW that a window was recognized as unfoces
on Windows (glfw/glfw#1573). As a workaround, skip the logic for
an unfocused window on Windows. On Windows, even if a window is in
another workspace, vsync works. Then there seems no problem.
Fixes #987
2019-11-17 14:13:41 +09:00
Hajime Hoshi
5e775aa9d3
Update Oto to v0.5.3
2019-11-17 13:12:03 +09:00
Hajime Hoshi
1b951ad794
graphicsdriver/glfw: Bug fix: CPU was busy when the window is hidden
...
Fixes #982
2019-11-14 23:12:28 +09:00
Hajime Hoshi
b49e10dc34
audio: Bug fix: Delay on macOS/iOS
...
Updates #975
2019-11-10 20:58:57 +09:00
Hajime Hoshi
1c114e83d3
uidriver/glfw: Bug fix: Freeze on Wayland
...
Fixes #974
2019-11-10 19:29:19 +09:00
Hajime Hoshi
72c63ece17
uidriver/glfw: Bug fix: errors are ignored at (*UserInterface).run
...
Updates #978
2019-11-10 19:10:19 +09:00
Hajime Hoshi
e95dc5f27a
web: Bug fix: iPad was not recognized as iOS
...
Fixes #979
2019-11-10 16:53:46 +09:00
Hajime Hoshi
a89e07f913
Revert "audio: Bug fix: Fill empty data even when audio is suspended"
...
This reverts commit 529dddda53
.
Updates #975
Reason: This causes PARTIAL_WAKE_LOCK on Android (AudioDirectOut) (#931 )
2019-11-09 15:27:24 +09:00
Hajime Hoshi
35436ea504
buffered: Bug fix: reset the flag when invalidating the pending pixels
...
Updates #977
2019-11-09 05:55:44 +09:00
Hajime Hoshi
9673feda9b
buffered: Bug fix: Resolve pixels only when Set is called
...
Fixes #977
2019-11-09 05:44:41 +09:00
Hajime Hoshi
973547c0ca
Update go.sum
2019-11-08 23:58:13 +09:00
Hajime Hoshi
eca9f5ff73
audio: Bug fix: Fill empty data even when audio is suspended
...
When writing is stopped on Oto's players, unexpected delaying
happens.
The ideal solution is to have APIs to suspend and resume Oto's
player, but this is not easy. For a temporary solution, write
zero values on the players when audio is suspended.
Fixes #975
2019-11-07 01:22:22 +09:00
Hajime Hoshi
65388dcbdc
Update Oto version to 0.5.2
2019-11-03 00:09:04 +09:00
Hajime Hoshi
534f0b2033
Update version to 1.10.0-rc.1
2019-10-27 17:46:51 +09:00
Hajime Hoshi
49a5a2bf4e
uidriver/js: Bug fix: Needed to initialize pseudoScale with the given scale
...
Updates #960 , #973
2019-10-27 17:16:49 +09:00
Hajime Hoshi
b8da9cf041
examples/moire: Bug fix: Crash on browsers
...
Fixes #973
2019-10-27 17:00:14 +09:00
Hajime Hoshi
93792a6386
Update dependencies
2019-10-27 03:06:09 +09:00
Hajime Hoshi
3112619f00
Update Oto version to 0.5.1
2019-10-27 03:00:36 +09:00
Hajime Hoshi
06bbc08e9b
web: Bug fix: IsAndroidChrome always returned true
2019-10-24 00:20:33 +09:00
Hajime Hoshi
124389561c
audio: Bug fix: The dummy player should have long enough buffer
...
In the current implementation, the audio context will be ready
when a player's Write is finished. If the buffer is too short,
Write finishes immediately without accessing the low audio layer
and the audio context would be ready without playing anything.
This change changes the dummy buffer to have a long enough buffer
so that Write will be wait for acutual audio playing.
Fixes #970
2019-10-23 02:41:12 +09:00
Hajime Hoshi
b78f678700
audio: Bug fix: (*Context).IsReady never returned true unless there is a player
...
The audio context is never ready unless there is a player. This is
problematic when a user tries to play audio after the context is
ready. Play a dummy player to avoid the blocking.
Fixes #969
2019-10-22 23:45:13 +09:00
Hajime Hoshi
f34e94ff2c
examples/squiral: Fix title
2019-10-22 23:18:16 +09:00
Hajime Hoshi
be449ea430
Bug fix: Remove replace from go.mod
2019-10-22 14:36:09 +09:00
Hajime Hoshi
a117486da7
Update Go versions in .travis.yml
2019-10-22 14:32:34 +09:00
Hajime Hoshi
2f7ccf17f5
docs: Fix comments
2019-10-22 04:15:15 +09:00
Hajime Hoshi
e391d7241d
docs: Add backward compatibility notes
2019-10-22 04:07:14 +09:00
Hajime Hoshi
e7611139c3
uidriver/js: Bug fix: Watch the state regularly instead of events
...
visibilitystate is sometimes not called and in this case the app
does not come back.
This fix creates another goroutine to watch the state, and remove
event handlers.
Fixes #961
2019-10-21 00:04:07 +09:00
Hajime Hoshi
016a9a6923
Update Oto version for more efficent memory usage
...
Updates #828
2019-10-20 17:00:45 +09:00
Hajime Hoshi
230616a23b
Use the latest Oto to use Web Worklet
...
Fixes #828
2019-10-20 05:37:32 +09:00
Hajime Hoshi
e578b0bd49
graphicscommand: Bug fix: Needed to adjust vertices when highp is not available
...
Fixes #962
2019-10-19 17:05:04 +09:00
Hajime Hoshi
15dc4bc647
cmd/ebitenmobile: Refactoring
2019-10-19 02:28:55 +09:00
Hajime Hoshi
6f6cceb42c
cmd/ebitenmobile: Do not call addView in onLayout
...
In onLayout, addViewInLayout is safer.
This change fixes the potential issue by moving addView to
constructors.
2019-10-19 02:15:31 +09:00
Hajime Hoshi
00ae15082d
examples/flappy: Change the spelling: Gameover -> Game over
2019-10-18 02:15:37 +09:00
Hajime Hoshi
87bc2e6f02
examples/sprites: Accept touches
2019-10-18 01:56:54 +09:00
Hajime Hoshi
bf07ead6ae
mobile/ebitenmobileview: Bug fix: Use Math.floor to shrink the size a little bit
...
Fixes #956
2019-10-17 12:21:06 +09:00
Hajime Hoshi
43a8881ab8
uidriver/ui: Reduce calls of syscall/js
2019-10-16 02:56:58 +09:00
Hajime Hoshi
72248fa3ef
ui: Bug fix: Focus canvas explicitly on input
...
Fixes #961
2019-10-15 23:57:16 +09:00
Hajime Hoshi
75721e6fc1
ui: Auto scaling on browsers
...
This change forces Ebiten apps on browsers 'fullscreen' mode.
After this change, 'scale' value is no longer used on browsers.
Note that this breaks backward compatibility, but as long as the
game works in an iframe, this should not be problematic.
Fixes #960
2019-10-15 00:02:02 +09:00
Hajime Hoshi
726de29f36
examples/windowsize: Remove Q key to terminate
...
Not having a way to terminate the app is more portable. Browsers
and mobiles don't have the notion of 'termination'.
2019-10-14 23:49:42 +09:00
Hajime Hoshi
30c185f254
uidriver/js: Bug fix: context must not be accessed before loop
2019-10-14 02:41:04 +09:00
Hajime Hoshi
4907cee128
Update documents
2019-10-13 17:33:10 +09:00