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
Hajime Hoshi
83f93df78b
Add 'ebitengl' build tag to force to use GL
...
Fixes #958
2019-10-13 16:58:33 +09:00
Hajime Hoshi
5027bc1af5
buffered: Allow Set before the game runs
...
Fixes #949
2019-10-12 03:13:29 +09:00
Hajime Hoshi
1b011e3864
graphics: Bug fix: unexpected panic at Set with an out-of-range position
2019-10-12 02:28:55 +09:00
Hajime Hoshi
cbe4844fa0
Fix misspellings
2019-10-12 01:10:53 +09:00
Hajime Hoshi
c30918261b
gofmt -s -w
2019-10-12 01:09:42 +09:00
Hajime Hoshi
d488fd7fcb
mobile/ebitenmobileview: Refactoring: touches
2019-10-11 23:12:05 +09:00
Hajime Hoshi
5973833274
mobile/ebitenmobileview: Refactoring
2019-10-11 22:49:28 +09:00
Hajime Hoshi
12d0f273ec
mobile/ebitenmobileview: Allow to call update before start
...
This fixes an issue that Update on another thread returns error
when SetGame is not called. As SetGame is permitted to be called
later, Update should not return error.
2019-10-11 22:14:19 +09:00
Hajime Hoshi
1f56266027
cmd/ebitenmobile: Bug fix: Use even numbers for the position/size
...
Fixes #956
2019-10-11 10:53:42 +09:00
Hajime Hoshi
4bfe60fb8a
graphicsdriver/metal: Bug fix: SetFragmentBytes must be called anytime
...
Fixes #954
2019-10-10 03:13:55 +09:00
Hajime Hoshi
01cb6e67b8
mobile/ebitenmobileview: Bug fix: Compile error on Android
2019-10-09 23:03:22 +09:00