Hajime Hoshi
|
8564ba8541
|
Use (un)signed short vertices (#90)
|
2015-01-16 10:37:26 +09:00 |
|
Hajime Hoshi
|
155be5a88d
|
Add Rect.Color
|
2015-01-16 01:57:10 +09:00 |
|
Hajime Hoshi
|
037f35b0db
|
Pass color values for each vertex on drawing rects
|
2015-01-16 01:57:07 +09:00 |
|
Hajime Hoshi
|
b2924d193b
|
Use vertices for DrawTexture
|
2015-01-16 01:01:52 +09:00 |
|
Hajime Hoshi
|
2ec8c39cdd
|
Remove the first argument of FillFramebuffer
|
2015-01-15 23:42:08 +09:00 |
|
Hajime Hoshi
|
3e376cae18
|
Update for the latest GopherJS (js.Object can't be casted to other types)
|
2015-01-15 23:26:05 +09:00 |
|
Hajime Hoshi
|
59ed15b2f7
|
Bug fix: Use prevent default properly
|
2015-01-15 22:28:05 +09:00 |
|
Hajime Hoshi
|
25cf2dab22
|
sprites: Speed up: use float64 as often as possible
|
2015-01-14 23:58:34 +09:00 |
|
Hajime Hoshi
|
3200ae58a4
|
Fix a comment
|
2015-01-14 23:38:25 +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
|
f27ba0ea03
|
Enable gopherjs test
|
2015-01-14 23:16:06 +09:00 |
|
Hajime Hoshi
|
6aef42d6fa
|
Bug fix: limit for the number of vertices
|
2015-01-14 10:31:09 +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
|
f0519b8604
|
Use location cache
|
2015-01-12 23:16:34 +09:00 |
|
Hajime Hoshi
|
9418d4c577
|
Change useProgramTexture not to return program
|
2015-01-12 21:04:52 +09:00 |
|
Hajime Hoshi
|
243208b849
|
Rename programColorMatrix -> programFragmentShader
|
2015-01-12 18:34:02 +09:00 |
|
Hajime Hoshi
|
02dbeef1b9
|
Add docs for gamepad API (I checked it worked on Chrome)
|
2015-01-12 14:59:12 +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
|
3b02993a5d
|
Modify comments
|
2015-01-10 19:59:47 +09:00 |
|
Hajime Hoshi
|
15c7341816
|
Replace .on* = func -> addEventListener = func
|
2015-01-10 15:51:07 +09:00 |
|
Hajime Hoshi
|
e656b607f6
|
Add TODO comment
|
2015-01-10 01:02:26 +09:00 |
|
Hajime Hoshi
|
6dbe57ec11
|
Change test import paths
|
2015-01-10 00:55:53 +09:00 |
|
Hajime Hoshi
|
e7599a6d85
|
docs: Move example *.js and *.js.map files to another repository
|
2015-01-10 00:45:21 +09:00 |
|
Hajime Hoshi
|
d96de18074
|
Remove TODOs
|
2015-01-09 12:13:29 +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
|
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
|
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
|
6efb806cc2
|
Stabilize FPS for JS
|
2015-01-08 00:44:41 +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
|
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
|
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
|
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
|
a9f1b4f0e9
|
Add keys_glfw.go and keys_js.go
|
2015-01-07 00:05:46 +09:00 |
|
Hajime Hoshi
|
0ab90197a3
|
Implement IsMouseButtonPressed / CursorPosition in JS (#53)
|
2015-01-06 23:41:03 +09:00 |
|