Hajime Hoshi
2fc691f661
internal/clock: rename CurrentFPS/TPS -> ActualFPS/TPS
2022-04-14 00:57:47 +09:00
Hajime Hoshi
f25dda1318
internal/clock: force to sync the timer when TPS is updated
2022-04-14 00:56:37 +09:00
Hajime Hoshi
ad9abe19a6
cmd/ebitenmobile: adjust gomobile version
2022-04-13 23:49:36 +09:00
Hajime Hoshi
06df5bc29d
ebiten: update the comments of the Game interface
2022-04-13 22:53:07 +09:00
Hajime Hoshi
fa9906d839
add Julian Merkle to AUTHORS
2022-04-13 18:43:07 +09:00
Julian Merkle
d68f770561
examples/stars: refactor ( #2070 )
...
Minor adjustments because of:
* Function abs(int) is unused.
* Color fields are assigned without explicit names
* Color variable shadows the color package name
2022-04-13 18:42:04 +09:00
Hajime Hoshi
8e8831a4d4
update README
2022-04-12 22:22:57 +09:00
Hajime Hoshi
a67899fcc0
update Oto
2022-04-12 22:09:57 +09:00
Hajime Hoshi
3f0b3f9686
audio/internal/cbackend: refactoring: remove unnecessary mutex locks
2022-04-12 21:04:10 +09:00
Hajime Hoshi
8f524b5c23
examples/vibrate: refactoring
2022-04-12 00:11:11 +09:00
Hajime Hoshi
55447679ee
examples/vibrate: bug fix: touches didn't work correctly
2022-04-12 00:05:55 +09:00
Hajime Hoshi
88213f5dd8
update Oto to v2.2.0-alpha
2022-04-11 11:32:54 +09:00
Hajime Hoshi
d189a120d2
update Oto
2022-04-11 10:56:42 +09:00
Hajime Hoshi
6b77e2edff
update go-mp3
2022-04-11 10:46:57 +09:00
Hajime Hoshi
699b58c02b
examples/flappy: bug fix: touches didn't work
...
Closes #2067
2022-04-11 10:44:41 +09:00
Hajime Hoshi
b53f93c614
examples/windowclosing: update the message
2022-04-11 01:10:48 +09:00
Hajime Hoshi
e4d6381452
examples/fullscreen: forbid quiting on browsers
2022-04-10 20:04:52 +09:00
Hajime Hoshi
535e64f2bf
examples/audioinfiniteloop, examples/audiopanning: avoid resamplings
2022-04-10 19:41:44 +09:00
Hajime Hoshi
a65631bccc
examples/spriteshd: remove a call of SetWindowSize
2022-04-10 19:15:39 +09:00
Hajime Hoshi
2a5b5b4823
internal/ui: avoid a busy loop in restoreWindow
...
Updates #1826
2022-04-10 17:55:39 +09:00
Hajime Hoshi
3fe1df8b3b
internal/ui: bug fix: ebiten.WindowSize() returned (1,1) when iconified
2022-04-10 16:50:47 +09:00
Hajime Hoshi
aae866350a
internal/ui: bug fix: (*glfw.Window).GetSize() returns (0,0) when iconified
...
Closes #2066
2022-04-10 16:43:03 +09:00
Hajime Hoshi
648c8ed1f9
examples/flappy: use DecodeWithSampleRate instead of Decode
2022-04-10 14:55:48 +09:00
Hajime Hoshi
9b7328442b
examples/minify: reorder renderings
2022-04-09 23:27:58 +09:00
Hajime Hoshi
d3b83dd4ea
internal/ui: refactoring
2022-04-09 18:23:56 +09:00
Hajime Hoshi
fcb7df0a59
internal/ui: bug fix: checking fullscreen on Safari was wrong
2022-04-09 17:25:19 +09:00
Hajime Hoshi
a69be34001
internal/ui: update the error message for fullscreen
2022-04-09 16:55:09 +09:00
Hajime Hoshi
d6fe8ed694
examples/fullscreen: handle F key to enter fullscreen
...
On browsers, fullscreen requires an explicit user input.
2022-04-09 16:23:23 +09:00
Hajime Hoshi
063960c9bd
examples/font: simplify the logic
2022-04-09 16:08:20 +09:00
Hajime Hoshi
853d94c3ef
internal/shader: implement strict type checks when calling a function
...
Closes #2032
2022-04-09 00:32:27 +09:00
Hajime Hoshi
15fe7158fd
internal/shader: implement strict type checks in assignments
...
Closes #1972
2022-04-09 00:02:20 +09:00
Hajime Hoshi
93b4c0d9b1
internal/ui: add comments
...
Updates #1590
2022-04-08 18:40:13 +09:00
Hajime Hoshi
2008916261
internal/ui: bug fix: use the native unit for origWindowPosByOS
2022-04-08 16:43:13 +09:00
Hajime Hoshi
90070c09fe
internal/ui: rename origPos -> origWindowPos
2022-04-08 15:59:16 +09:00
Hajime Hoshi
352d332097
internal/ui: remove redundant comments
2022-04-08 15:51:56 +09:00
Hajime Hoshi
ee124baf60
internal/ui: bug fix: WindowSize returned a wrong value on fullscreen on macOS
...
Closes #2062
2022-04-08 14:57:51 +09:00
Hajime Hoshi
ad66c3d90b
internal/png: clean up files before generating
2022-04-06 11:48:46 +09:00
Hajime Hoshi
20beb9d2b8
internal/gamepaddb: update the database
...
Updates #1902
2022-04-06 11:41:05 +09:00
Hajime Hoshi
6e19c793f6
internal/png: update for Go 1.18
2022-04-06 11:32:48 +09:00
Hajime Hoshi
bb2cd3059b
update dependencies
2022-04-06 10:54:52 +09:00
Hajime Hoshi
edeaf7b6ab
update Oto to v2.1.0-alpha.9
2022-04-05 11:38:20 +09:00
Hajime Hoshi
32de5ec2d0
internal/graphics: refactoring
2022-04-05 11:12:25 +09:00
Hajime Hoshi
c6e5582c56
Revert "internal/graphics: refactoring"
...
This reverts commit b6cc164e96
.
Reason: wrong shader program
2022-04-04 14:31:37 +09:00
Hajime Hoshi
b6cc164e96
internal/graphics: refactoring
2022-04-04 14:30:51 +09:00
Hajime Hoshi
c56665b23c
internal/processtest: bug fix: shadernomain is no longer a valid test
...
Updates #2035
2022-04-04 03:12:34 +09:00
Hajime Hoshi
736d77e0d2
internal/graphicsdriver: remove Graphics.NDCYDirection
2022-04-04 03:03:44 +09:00
Hajime Hoshi
04d1dbb263
text: update comments
...
Updates #1992
2022-04-04 02:55:15 +09:00
Hajime Hoshi
6710808cd1
ebiten: compile shaders at NewShader
...
Closes #2035
2022-04-04 02:52:57 +09:00
Hajime Hoshi
02db3bad53
internal/graphicscommand: remove the dependency on a graphics driver from compileShader
...
Updates #2035
2022-04-04 02:09:08 +09:00
Hajime Hoshi
e05cfdb00a
text: update comments about BoundsString
...
The way in which space characters are treated is exactly same as
golang.org/x/image/font's `BoundsString`.
Updates #1992
2022-04-04 01:56:32 +09:00