Commit Graph

2293 Commits

Author SHA1 Message Date
Hajime Hoshi
9efc794547 text: Don't use Ceil as much as possible for accuracy 2017-07-17 17:00:51 +09:00
Hajime Hoshi
198ffa9ef8 text: doc 2017-07-17 16:17:01 +09:00
Hajime Hoshi
d8d36c58fb doc: Update 2017-07-17 06:43:37 +09:00
Hajime Hoshi
20a43a88e8 text: Remove 'lineHeight' argument 2017-07-17 06:42:48 +09:00
Hajime Hoshi
e0d0f477dc text: Fix comment 2017-07-17 06:39:06 +09:00
Hajime Hoshi
a2adda1ab6 examples/font: Change the import order 2017-07-17 04:58:45 +09:00
Hajime Hoshi
f64ac89d56 text: doc 2017-07-17 02:15:00 +09:00
Hajime Hoshi
b42f417e3b text: Update doc 2017-07-17 02:13:30 +09:00
Hajime Hoshi
b198ad9343 doc: Update font.png 2017-07-17 02:01:57 +09:00
Hajime Hoshi
3eb59e7725 doc: Update 2017-07-17 01:56:13 +09:00
Hajime Hoshi
9908fe0d31 text: Refactoring 2017-07-17 01:54:30 +09:00
Hajime Hoshi
4b4292a856 examples/font: Show more Kanji characters 2017-07-17 01:54:30 +09:00
Hajime Hoshi
1e84e21857 Add 'text' package (#363) 2017-07-17 01:54:24 +09:00
Hajime Hoshi
717efd097d loop: Bug fix: the clock needs to be stopped when the window is unfocused 2017-07-16 23:54:14 +09:00
Hajime Hoshi
f591ca3d2b ui: Bug fix: SetFullscreen didn't work without Run 2017-07-15 21:43:33 +09:00
Hajime Hoshi
c94c994bd1 ui: Allow SetFullscreen without Run 2017-07-15 20:29:13 +09:00
Hajime Hoshi
697c23a807 audio: Fix comment 2017-07-15 16:53:34 +09:00
Hajime Hoshi
b15ad9c1d0 audio: Refactoring 2017-07-15 16:31:08 +09:00
Hajime Hoshi
5fd8fe839b audio: Simplify player's Read/Seek 2017-07-15 03:15:54 +09:00
Hajime Hoshi
3cac19d1b8 examples/audio: Remove 'loading' message 2017-07-15 00:55:39 +09:00
Hajime Hoshi
59110ba5ec clock: Refactoring: Use clock.FPS everywhere 2017-07-14 03:19:50 +09:00
Hajime Hoshi
8dda875c30 doc: Explaing about audio syncing 2017-07-14 02:26:41 +09:00
Hajime Hoshi
bfb6a2bfe7 audio: Adjust buffer size (examples/audio might cause noises with /30) 2017-07-14 01:57:07 +09:00
Hajime Hoshi
7f320f9518 audio: Fix doc 2017-07-14 01:45:36 +09:00
Hajime Hoshi
3d8fc790b6 loop: Remove dependency on audio 2017-07-14 01:42:58 +09:00
Hajime Hoshi
5d1d0844e1 Add internal/clock 2017-07-14 00:34:05 +09:00
Hajime Hoshi
fe3f0b2f1f loop: Better syncing with audio 2017-07-14 00:03:59 +09:00
Hajime Hoshi
0de9828e20 loop: Fix FPS calculation 2017-07-13 23:48:06 +09:00
Hajime Hoshi
c3202b8e58 audio: Adjust the buffer size 2017-07-13 23:48:03 +09:00
Hajime Hoshi
3454b32cb6 audio: Bug fix: oto.Player must not be called on init 2017-07-13 01:34:02 +09:00
Hajime Hoshi
15f5d2a2cc loop: More stable FPS 2017-07-13 01:34:02 +09:00
Hajime Hoshi
80b10b2d49 audio: Use variables instead of channels to avoid GopherJS bugs 2017-07-13 01:34:02 +09:00
Hajime Hoshi
40ae782a67 loop: Early exit when no frame needs to be updated 2017-07-13 01:34:02 +09:00
Hajime Hoshi
fdaf03b209 audio: Make the game loop depend on the audio clock 2017-07-13 01:33:59 +09:00
Hajime Hoshi
7c277c3ab3 Update .travis.yml for new Oto implementation on Linux 2017-07-12 00:56:19 +09:00
Hajime Hoshi
db902dbbee audio: Bug fix: stream size must be multiple of 4 (#384) 2017-07-12 00:51:36 +09:00
Hajime Hoshi
1828830b4a audio/internal/convert/resampling: Better boundary check 2017-07-12 00:40:15 +09:00
Hajime Hoshi
8912563555 examples/audio: Bug fix: Wrong file name 2017-07-09 15:30:21 +09:00
Hajime Hoshi
d78a534a0b audio/internal/convert: Bug fix: invalid size comparison 2017-07-09 15:29:56 +09:00
Hajime Hoshi
079395dd6f audio: Better variable name 2017-07-09 05:14:13 +09:00
Hajime Hoshi
2552f1625d audio: Discard audio data when queue seems full 2017-07-09 05:06:34 +09:00
Hajime Hoshi
5cf7b2491a audio: Bug fix: noise on audio 2017-07-09 04:09:21 +09:00
Hajime Hoshi
16f84f6a89 audio/mp3: Use new go-mp3 API 2017-07-04 22:01:06 +09:00
Hajime Hoshi
46a3f1530e audio: Fix comment 2017-07-03 02:31:18 +09:00
Hajime Hoshi
26a83c0e00 opengl: Define Texture/Framebuffer Equals for JS performance 2017-07-02 22:18:49 +09:00
Hajime Hoshi
3a3a4af035 graphics: Avoid type assertions for Fill 2017-07-02 21:32:07 +09:00
Hajime Hoshi
d0778b5253 audio: Avoid using time.After on browsers for performance 2017-07-02 17:27:07 +09:00
Hajime Hoshi
45ca2a1f79 audio: Bug fix: possible overflow and closing nil channel 2017-07-02 16:28:02 +09:00
Hajime Hoshi
364819f361 restorable: Disable restoring on desktops and mobile browsers (#380) 2017-07-02 15:58:00 +09:00
Hajime Hoshi
e582a661c9 ui: Bug fix: Should add <meta> to <head> instead of <body> 2017-07-02 04:18:43 +09:00