Commit Graph

642 Commits

Author SHA1 Message Date
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
Hajime Hoshi
324e8653fb Update docs to use GopherJS (#54) 2015-01-06 00:44:39 +09:00
Hajime Hoshi
b69c526613 Update comment 2015-01-05 23:55:40 +09:00
Hajime Hoshi
f631653681 Add example/server to show examples on GopherJS; Update docs 2015-01-05 23:55:25 +09:00
Hajime Hoshi
3f45685136 Centering <canvas> 2015-01-05 22:22:47 +09:00
Hajime Hoshi
1a4b25b23f Change <title> on ui.Start (#56) 2015-01-05 22:08:22 +09:00
Hajime Hoshi
7b47e37d34 Spped up blocks (#59) 2015-01-05 22:02:56 +09:00
Hajime Hoshi
8145561219 Use new style methods of matrices (ColorM) 2015-01-05 10:31:48 +09:00
Hajime Hoshi
4226354e4a Use new style methods of matrices 2015-01-05 10:30:33 +09:00
Hajime Hoshi
2be0aa7f0c Fix comment 2015-01-05 10:08:54 +09:00
Hajime Hoshi
f697501531 Use ImageParts 2015-01-05 10:08:00 +09:00
Hajime Hoshi
cdc29210db Introduce ImageParts 2015-01-05 09:32:27 +09:00
Hajime Hoshi
8994ffad9b Avoid copying arrays 2015-01-04 22:26:20 +09:00
Hajime Hoshi
265a85e922 Update for newer gopherjs 2015-01-04 22:25:58 +09:00
Hajime Hoshi
9bec0cf1c6 Speed up: avoid allocating 2015-01-03 23:42:37 +09:00
Hajime Hoshi
ea98fefc4f Refactoring: matrix initialization 2015-01-03 22:54:01 +09:00
Hajime Hoshi
c53695eb56 Bug fix: Scale and Translate 2015-01-03 19:18:09 +09:00
Hajime Hoshi
ab2b884c49 Bug fix: responseType must be set after opening 2015-01-03 18:40:01 +09:00
Hajime Hoshi
2eea1afcd1 Optimize ColorM and GeoM 2015-01-03 18:35:44 +09:00
Hajime Hoshi
2f02a0a223 Avoid copying 2015-01-03 17:07:01 +09:00
Hajime Hoshi
abed162e91 Bug fix: initial capacity of vertices 2015-01-03 16:25:17 +09:00
Hajime Hoshi
f80850ef14 Reduce calling gl.Flush 2015-01-03 16:21:09 +09:00
Hajime Hoshi
52e610845b Avoid using struct key 2015-01-03 16:16:43 +09:00
Hajime Hoshi
3ad8d8ea2c Use attrib location cache 2015-01-03 15:56:54 +09:00
Hajime Hoshi
13a94d3446 Avoid type switch 2015-01-03 15:52:02 +09:00
Hajime Hoshi
71d463c102 Avoid copying for performance; Use location caches 2015-01-03 15:21:47 +09:00
Hajime Hoshi
1117862d19 Avoid copying for performance 2015-01-03 14:23:31 +09:00
Hajime Hoshi
447bda7d68 Remove calling gl.checkFramebufferStatus 2015-01-03 02:01:30 +09:00
Hajime Hoshi
449bc7931d Change receiver ColorM.Element and GeoM.Element to pointers (performance issue) 2015-01-03 01:54:12 +09:00
Hajime Hoshi
091cc215fb Remove NextPowerOf2 (for uint64) 2015-01-03 01:46:25 +09:00
Hajime Hoshi
1df0854193 Update docs 2015-01-03 01:24:37 +09:00