Commit Graph

308 Commits

Author SHA1 Message Date
Hajime Hoshi
2d5ac9e987 audio: Add comments, add IsPlaying 2015-01-24 21:46:35 +09:00
Hajime Hoshi
2c7430171d audio: Add comments 2015-01-24 15:48:48 +09:00
Hajime Hoshi
d020824b3a audio: Move to exa/audio 2015-01-23 23:04:56 +09:00
Hajime Hoshi
8d250c6b25 audio: Add channel.nextInsertion 2015-01-23 10:58:18 +09:00
Hajime Hoshi
4b74411922 audio: Introduce channels 2015-01-23 03:02:23 +09:00
Hajime Hoshi
4c37efd673 Merge branch 'master' into audio 2015-01-21 10:12:14 +09:00
Hajime Hoshi
fe62cbd357 Reduce the size of keyboard.png 2015-01-21 01:06:48 +09:00
Hajime Hoshi
e03076ef67 Comment fix 2015-01-21 00:02:42 +09:00
Hajime Hoshi
d994f34d53 Add image.ReplacePixels; Add example/noise (#89) 2015-01-20 23:58:58 +09:00
Hajime Hoshi
d2d32d3956 example/blocks: Use gamepad 2015-01-20 10:36:21 +09:00
Hajime Hoshi
f8c0fff6a7 example: Bug fix: the path from runtime.Caller is not useful on JavaScript (#99) 2015-01-19 22:09:08 +09:00
Hajime Hoshi
d12477fb2a example/shape: Bug fix: The positions must be rounded (#97) 2015-01-19 10:15:46 +09:00
Hajime Hoshi
73bb576b0e Remove unneeded file 2015-01-18 21:55:17 +09:00
Hajime Hoshi
ff020e8b1c example/keyboard: Add a keyboard image 2015-01-18 21:33:59 +09:00
Hajime Hoshi
a5e335819d Add example/internal and move font rendering into it 2015-01-18 14:31:21 +09:00
Hajime Hoshi
0bd0a4dbc2 Rename image.FillRect -> DrawFilledRect (FillRect is confusing with Fill) 2015-01-18 04:19:38 +09:00
Hajime Hoshi
db22bf6242 Add exp/shape package 2015-01-18 01:26:57 +09:00
Hajime Hoshi
c892f84816 example/blocks: Use FillRect (imageEmpty is no longer needed) 2015-01-18 00:05:15 +09:00
Hajime Hoshi
f0d40b4e1f Revert rectangles' vetices (float64 -> int) 2015-01-17 23:31:09 +09:00
Hajime Hoshi
1659e9abab Bug fix: Line's vertices should be moved by 0.5 2015-01-17 23:04:19 +09:00
Hajime Hoshi
7835f5cb2e Add image.DrawRect / DrawRects (leaving some bugs) 2015-01-17 15:46:56 +09:00
Hajime Hoshi
8c15b57d58 Add image.DrawLine / DrawLines 2015-01-17 14:17:42 +09:00
Hajime Hoshi
887e2fc675 Add image.DrawRect; Change Rects.Points -> Rects.Rect 2015-01-17 03:46:00 +09:00
Hajime Hoshi
f186d1b286 example/sprites: Speed up by caching the image size 2015-01-17 01:48:28 +09:00
Hajime Hoshi
edce4027bd Rename example/server -> example/_server (#93) 2015-01-17 01:32:28 +09:00
Hajime Hoshi
952f6be822 example/sprites: Speed optimization 2015-01-17 00:33:52 +09:00
Hajime Hoshi
155be5a88d Add Rect.Color 2015-01-16 01:57:10 +09:00
Hajime Hoshi
cb26342b3d Bug fix (#85): The limit of the size of vertices was wrong 2015-01-14 23:29:14 +09:00
Hajime Hoshi
665ef46064 Add example/sprites (#83) 2015-01-13 23:03:37 +09:00
Hajime Hoshi
0328b049d0 Add image.DrawRects (experimental) 2015-01-13 10:36:19 +09:00
Hajime Hoshi
243208b849 Rename programColorMatrix -> programFragmentShader 2015-01-12 18:34:02 +09:00
Hajime Hoshi
8987f7a645 Implement Gamepad API for JavaScript (working on Firefox so far) 2015-01-12 14:36:13 +09:00
Hajime Hoshi
a500d3a3f8 Improve example/gamepad 2015-01-12 13:33:21 +09:00
Hajime Hoshi
a6b7eab71b Add Gamepad API 2015-01-12 02:29:56 +09:00
Hajime Hoshi
a220251716 Play music at example/audio 2015-01-11 19:52:11 +09:00
Hajime Hoshi
355da1bcbc Add Experimental Audio API 2015-01-11 18:03:51 +09:00
Hajime Hoshi
fb19f05b83 Improve example/paint 2015-01-09 02:33:26 +09:00
Hajime Hoshi
636ae84ad5 Resolve TODOs 2015-01-09 02:02:56 +09:00
Hajime Hoshi
eb325c9684 Update docs 2015-01-08 23:45:30 +09:00
Hajime Hoshi
5f0bc87402 Implement rotating left (blocks) 2015-01-08 00:50:02 +09:00
Hajime Hoshi
4eaa16b8d1 Rename mod key names 2015-01-07 23:18:40 +09:00
Hajime Hoshi
90ab31a872 Add function keys to example/keyboard 2015-01-07 23:08:06 +09:00
Hajime Hoshi
ba5f613f44 Bug fix: Add 'backspace' to example/keyboard 2015-01-07 11:28:49 +09:00
Hajime Hoshi
2a3d41ba9a Improve keyboard example 2015-01-07 11:23:03 +09:00
Hajime Hoshi
ad3f37ae75 Add example keyboard 2015-01-07 04:27:57 +09:00
Hajime Hoshi
bc26690b14 Add genkey.go 2015-01-07 03:05:59 +09:00
Hajime Hoshi
0ab90197a3 Implement IsMouseButtonPressed / CursorPosition in JS (#53) 2015-01-06 23:41:03 +09:00
Hajime Hoshi
b769e0eb6c Update server/main.go to show GopherJS errors 2015-01-06 22:24:34 +09:00
Hajime Hoshi
324e8653fb Update docs to use GopherJS (#54) 2015-01-06 00:44:39 +09:00
Hajime Hoshi
f631653681 Add example/server to show examples on GopherJS; Update docs 2015-01-05 23:55:25 +09:00