Commit Graph

3003 Commits

Author SHA1 Message Date
Hajime Hoshi
0893b04cbf examples: Refactoring 2018-01-22 23:07:55 +09:00
Hajime Hoshi
13d3918ec6 examples/blocks: Bug fix: record axes default values
Fixes #483
2018-01-22 23:06:27 +09:00
Hajime Hoshi
fb4343af21 examples/blocks: Reduce members from GameScene 2018-01-22 21:07:07 +09:00
Hajime Hoshi
507fc7cbbb example/blocks: Add comments 2018-01-22 21:03:43 +09:00
Hajime Hoshi
4e432ca816 example/blocks: Remove Input.gamepadButtonStates 2018-01-22 20:55:57 +09:00
Hajime Hoshi
8a7687687f example/blocks: Refactoring 2018-01-22 20:48:01 +09:00
Hajime Hoshi
20e12a7ea9 examples/audio: Refactoring 2018-01-22 02:15:04 +09:00
Hajime Hoshi
3ee42c0c1e example/airship: Add comments 2018-01-22 00:34:03 +09:00
Hajime Hoshi
a0ad4710f7 examples/airship: Better line scaling 2018-01-21 23:51:56 +09:00
Hajime Hoshi
a6a1c51df7 examples/additive: Refactoring 2018-01-21 19:43:48 +09:00
Hajime Hoshi
96c5621879 examples/2048: Remove unused functions 2018-01-21 18:48:22 +09:00
Hajime Hoshi
5590cdc073 doc: Update 2048 2018-01-19 12:17:46 +09:00
Hajime Hoshi
f1cb294913 examples/2048: high resolution 2018-01-19 12:12:29 +09:00
Hajime Hoshi
6334320762 examples/2048: Use M+ font 2018-01-19 12:07:34 +09:00
Hajime Hoshi
d4796cd3bf examples/flood: Simplify logic 2018-01-19 03:17:14 +09:00
Hajime Hoshi
efdb845328 Rename examples/fill -> flood 2018-01-19 03:15:34 +09:00
Hajime Hoshi
5f0471273d Add examples/fill 2018-01-19 00:50:27 +09:00
Hajime Hoshi
8f32d34536 Fix path in .travis.yml 2018-01-14 16:21:08 +09:00
Hajime Hoshi
a49fb7fcdf Add gofmt test to .travis.yml 2018-01-14 16:18:09 +09:00
Hajime Hoshi
406edf28c2 graphics: Use 0.0 instead of type conversion; gofmt 2018-01-14 16:05:18 +09:00
Hajime Hoshi
abc20ca160 Add seebs@ to AUTHORS 2018-01-14 16:04:13 +09:00
seebs
0b7ba8e573 Do GeoM projection on CPU (#477)
Handling GeoM projection on CPU may seem like a weird choice, given
how fast GPU is, but it pays off:

* You only have to do a very small subset of the actual matrix
  multiply.
* You don't have to construct a matrix in the vertex shader.
* Six fewer float32 values per vertex.
* You do still have to do the matrix computation for each vertex,
  though.

Signed-off-by: Seebs <seebs@seebs.net>
2018-01-14 16:01:55 +09:00
Hajime Hoshi
38c72faf95 ui: Deprecate SetCursorVisibility and add SetCursorVisible (#407) 2018-01-09 02:01:33 +09:00
Hajime Hoshi
5c55df87d7 audio: Deprecate Size() and add Length() (#466) 2018-01-09 01:25:38 +09:00
Hajime Hoshi
ef282f7f4f audio/internal/convert: Remove unused functions 2018-01-09 00:26:54 +09:00
Hajime Hoshi
e83810fc57 audio/internal/convert: Add resampling_test.go
Fixes #369
2018-01-08 23:44:44 +09:00
Hajime Hoshi
2dab8ccc6e examples/piano: Refactoring 2018-01-08 22:44:15 +09:00
Hajime Hoshi
b30703eb00 examples/piano: Refactoring 2018-01-08 22:18:19 +09:00
Hajime Hoshi
8b2dfdb3e7 examples: Use iframe to show example
Fixes #475
2018-01-08 03:08:19 +09:00
Hajime Hoshi
d8c0d88960 clock: Add comments 2018-01-07 21:12:25 +09:00
Hajime Hoshi
1e33cbb66f clock: Remove limitation of the number of frames to be updated 2018-01-07 20:20:02 +09:00
Hajime Hoshi
d5d5ebb0b3 clock: Make ProceedAudioTimer take a number of frames 2018-01-07 18:32:19 +09:00
Hajime Hoshi
d12a3d4073 clock: Refactoring 2018-01-07 17:10:56 +09:00
Hajime Hoshi
0b3495b81f audio: Use mock sync on browsers 2018-01-07 15:26:18 +09:00
Hajime Hoshi
0a911b28b2 ui: Remove unneeded variable deviceScale 2018-01-07 14:51:25 +09:00
Hajime Hoshi
34d2e9a3fb ui: Remove unused function 2018-01-07 05:25:29 +09:00
Hajime Hoshi
b62df75e36 graphics: Don't update the screen when not necessary 2018-01-07 03:13:13 +09:00
Hajime Hoshi
0469ef386b ui: Fix comment 2018-01-06 23:53:35 +09:00
Hajime Hoshi
61646e5d03 Refactoring: Remove updater 2018-01-06 23:30:11 +09:00
Hajime Hoshi
364823e70c doc: Add link to 'Works' 2018-01-06 22:09:04 +09:00
Hajime Hoshi
a76d564147 docs: Update 2018-01-06 02:59:32 +09:00
Hajime Hoshi
407cc6a0e2 doc: Bug fix: example resources are generately at a wrong place 2018-01-06 02:57:33 +09:00
Hajime Hoshi
11a1e6ec39 audio/internal/convert: Adjust window size again (confirmed this worked well on iPhone 6) 2018-01-06 01:49:55 +09:00
Hajime Hoshi
5b2dbf6036 audio/internal/convert: Adjust resamplingBufferSize again 2018-01-06 01:46:54 +09:00
Hajime Hoshi
ab70f6fc58 audio/internal/convert: Much faster sine/cosine functions 2018-01-06 00:15:07 +09:00
Hajime Hoshi
005d18ceff audio/internal/convert: Use int64 (now it is fast enough on browsers?) 2018-01-05 20:03:17 +09:00
Hajime Hoshi
c020101afc audio/internal/convert: Use cosine table 2018-01-05 19:40:12 +09:00
Hajime Hoshi
2884fb7070 audio/internal/convert: Fix algorithm 2018-01-05 18:21:14 +09:00
Hajime Hoshi
4bcb2e5682 devicescale: Rename XFCE -> Xfce 2018-01-04 17:16:02 +09:00
Hajime Hoshi
ee87a0fd71 devicescale: Add other desktops 2018-01-04 03:29:58 +09:00