Commit Graph

3872 Commits

Author SHA1 Message Date
Hajime Hoshi
6453273bac docs: Add <title> to examples 2015-01-09 03:29:59 +09:00
Hajime Hoshi
62dfd2adef Bug fix: Add favicon to example/*.html 2015-01-09 02:48:25 +09:00
Hajime Hoshi
638fbb9715 docs: Add example paint 2015-01-09 02:39:20 +09:00
Hajime Hoshi
fb19f05b83 Improve example/paint 2015-01-09 02:33:26 +09:00
Hajime Hoshi
1dd1403aac Bug fix: opengl.NewBuffer may accept integer value (glfw) 2015-01-09 02:28:16 +09:00
Hajime Hoshi
636ae84ad5 Resolve TODOs 2015-01-09 02:02:56 +09:00
Hajime Hoshi
02b1f7d798 docs: Check license year 2015-01-09 01:50:11 +09:00
Hajime Hoshi
4322122664 docs: Trim license 2015-01-09 01:00:30 +09:00
Hajime Hoshi
eb325c9684 Update docs 2015-01-08 23:45:30 +09:00
Hajime Hoshi
5dade52621 Bug fix: Use document.hidden (focus/blue event is not reliable when using <iframe>) 2015-01-08 11:56:21 +09:00
Hajime Hoshi
36a5bdf99a Support -> Supported 2015-01-08 04:24:27 +09:00
Hajime Hoshi
d933c54e20 Bug fix: Check window.top's focus in case that game is in <iframe> 2015-01-08 02:24:05 +09:00
Hajime Hoshi
a1214ff735 Stop the game when the window is not active (#69) 2015-01-08 01:35:09 +09:00
Hajime Hoshi
038613aaf9 More precise game loop 2015-01-08 00:56:21 +09:00
Hajime Hoshi
5f0bc87402 Implement rotating left (blocks) 2015-01-08 00:50:02 +09:00
Hajime Hoshi
6efb806cc2 Stabilize FPS for JS 2015-01-08 00:44:41 +09:00
Hajime Hoshi
81ed2e3f18 Add changelog 2015-01-08 00:04:26 +09:00
Hajime Hoshi
9915e6764a Bug fix: blurred canvas in Retina display (#68) 2015-01-08 00:01:18 +09:00
Hajime Hoshi
27cd0610d1 Add 'auto-generated' notices (#66) 2015-01-07 23:21:52 +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
6bdc875596 Bug fix: Ignore unknown keys 2015-01-07 23:02:58 +09:00
Hajime Hoshi
f78c79a5dd Bug fix: onkeydown function should return false to prevent browser shortcuts 2015-01-07 23:01:23 +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
a710db4c9e Bug fix: invalidate function keys, backspace on browsers 2015-01-07 11:22:48 +09:00
Hajime Hoshi
9f40da41fc Add backspace (not tested) 2015-01-07 11:22:25 +09:00
Hajime Hoshi
62d1395670 Arrange key's order 2015-01-07 11:00:15 +09:00
Hajime Hoshi
74e3c40740 Yield focus to canvas on clicking body 2015-01-07 04:39:33 +09:00
Hajime Hoshi
795e7c8eb2 Focus canvas on start (#64) 2015-01-07 04:34:47 +09:00
Hajime Hoshi
ad3f37ae75 Add example keyboard 2015-01-07 04:27:57 +09:00
Hajime Hoshi
03cf0a7069 Bug fix: glfw.MouseButton should be converted to MouseButton 2015-01-07 04:04:04 +09:00
Hajime Hoshi
7677d885a2 Remove MouseButtonMax 2015-01-07 03:08:33 +09:00
Hajime Hoshi
bc26690b14 Add genkey.go 2015-01-07 03:05:59 +09:00
Hajime Hoshi
9d12a23172 Bug fix: preventDefault may prevent other events 2015-01-07 02:24:47 +09:00
Hajime Hoshi
e604a969d4 Add mousebuttons.go 2015-01-07 01:04:13 +09:00
Hajime Hoshi
a9f1b4f0e9 Add keys_glfw.go and keys_js.go 2015-01-07 00:05:46 +09:00
Hajime Hoshi
a1d3815008 Fix spelling miss 2015-01-06 23:56:05 +09:00
Hajime Hoshi
4eaba93c73 Bug fix: image can't draw itself (#45) 2015-01-06 23:50:02 +09:00
Hajime Hoshi
0ab90197a3 Implement IsMouseButtonPressed / CursorPosition in JS (#53) 2015-01-06 23:41:03 +09:00
Hajime Hoshi
5fc8e624f5 Replace tab to space chars in doc 2015-01-06 23:04:57 +09:00
Hajime Hoshi
b85bae38e9 Change the way to generate assets not to use unsafe; Unsafe doesn't work in GopherJS at least 2015-01-06 22:59:15 +09:00
Hajime Hoshi
b769e0eb6c Update server/main.go to show GopherJS errors 2015-01-06 22:24:34 +09:00
Hajime Hoshi
c98631a703 Add input_glfw.go; Rename ui.go -> ui_glfw.go 2015-01-06 21:54:42 +09:00
Hajime Hoshi
1782bedb71 Update CSS 2015-01-06 11:48:47 +09:00
Hajime Hoshi
72d0a12757 Update .travis.yml for GopherJS; Update docs 2015-01-06 11:20:50 +09:00
Hajime Hoshi
cf5bf94d47 Simplify readme 2015-01-06 10:31:00 +09:00
Hajime Hoshi
c71f55a7a7 Add explanation to run developer's game on a web browser 2015-01-06 02:23:41 +09:00
Hajime Hoshi
1d8c3dbbb4 Add changelog (#60) 2015-01-06 01:56:58 +09:00
Hajime Hoshi
82d4dfeab0 Add a link to play blocks game 2015-01-06 00:57:58 +09:00