Commit Graph

2767 Commits

Author SHA1 Message Date
Hajime Hoshi
7378192fc2 graphics: Fix TestImageOutside 2017-12-14 00:49:53 +09:00
Hajime Hoshi
98532d8983 graphics: Add TestImageOutside 2017-12-14 00:25:35 +09:00
Hajime Hoshi
704d4cf464 graphics: texel should be represented as highp for precision
Fixes #460
2017-12-13 23:45:05 +09:00
Hajime Hoshi
4928899566 examples/moire: Enable to see the problem on mobile browsers (#459) 2017-12-12 03:54:00 +09:00
Hajime Hoshi
aea2e491c3 graphics: Temporary hack for mobile browers
roundTexel doesn't work well on moible browsers
2017-12-12 03:27:56 +09:00
Hajime Hoshi
723d153800 Reland(2): graphics: Appropriate rendering of edges on linear filter 2017-12-12 00:03:01 +09:00
Hajime Hoshi
362d1c417f Revert 'graphics: Appropriate rendering of edges on linear filter (Reland)' (#458) 2017-12-11 20:30:54 +09:00
Hajime Hoshi
7b74a8f29f graphics: Improve roundTexel implementation 2017-12-07 03:24:46 +09:00
Hajime Hoshi
1152439e65 graphics: Appropriate rendering of edges on linear filter (Reland)
Fixes #456
2017-12-07 02:26:16 +09:00
Hajime Hoshi
8091aa5190 Revert 'graphics: Appropriate rendering of edges on linear filter' #456 2017-12-06 23:40:29 +09:00
Hajime Hoshi
bc0432f310 graphics: Appropriate rendering of edges on linear filter
Fixes #315
2017-12-06 21:40:24 +09:00
Hajime Hoshi
e206c16fc6 graphics: Improve TestImageTooManyFill 2017-12-06 20:53:02 +09:00
Hajime Hoshi
f350f55088 Add examples/moire 2017-12-05 23:18:47 +09:00
Hajime Hoshi
264ca49a43 graphics: Bug fix: revert viewport size for Edge 2017-12-05 03:13:40 +09:00
Hajime Hoshi
f74c1e67ea graphics: Use power-of-2 size for the default framebuffer 2017-12-05 02:33:04 +09:00
Hajime Hoshi
6bbf6c53ce ebitenutil: Give up using linear filter for lines
The edges of a source texture would be unexpectable with linear filterling
2017-12-03 23:41:05 +09:00
Hajime Hoshi
95906e9630 ebitenutil: Bug fix: line should use linear filter 2017-12-03 23:12:02 +09:00
Hajime Hoshi
d832f1e3cb ebitenutil: emptyImage should use nearest filter 2017-12-03 23:08:58 +09:00
Hajime Hoshi
eeea25f202 opengl: Remove 'normalize' argument from VertexAttribPointer 2017-12-03 19:21:59 +09:00
Hajime Hoshi
2e1e4adb84 graphics: Fix some variables in GLSL 2017-12-03 19:07:12 +09:00
Hajime Hoshi
71ca838193 opengl: Refactoring 2017-12-03 03:55:59 +09:00
Hajime Hoshi
847ba9de0c graphics: Refactoring: Move adjustment logic for glClearColor to opengl package 2017-12-03 03:51:42 +09:00
Hajime Hoshi
8e7e960b56 graphics: Limit source-rectangle range
Remove texture adjustment introduced due to #317
2017-12-02 23:13:44 +09:00
Hajime Hoshi
c2fab6cca3 graphics: Bug fix: glClear doesn't treat 0 or 1 correctly
Fixes #452
2017-12-02 22:25:02 +09:00
Hajime Hoshi
4a5420d6f2 opengl: Remove Node.js support (#141) 2017-12-02 16:46:55 +09:00
Hajime Hoshi
6956e15b08 audio: Fix comments 2017-12-02 16:26:20 +09:00
Hajime Hoshi
65b44928ad examples: Remove callsites of audio.Context.Update 2017-12-01 02:20:37 +09:00
Hajime Hoshi
3db965d547 audio: Fix doc 2017-12-01 01:38:47 +09:00
Hajime Hoshi
0379e3c591 audio: Deprecate Update 2017-12-01 00:26:28 +09:00
Hajime Hoshi
dba7124e38 audio: Use safer buffer size as experiment (#451) 2017-11-23 23:31:26 +09:00
Hajime Hoshi
362f002d36 ui: Delete local variables asap on Android 2017-11-13 01:30:08 +09:00
Hajime Hoshi
88c84dc5ac docs: Add a link to the playground to example pages 2017-11-10 02:07:16 +09:00
Hajime Hoshi
a00d6eb360 docs: Touch typewriter.html 2017-11-10 01:48:01 +09:00
Hajime Hoshi
773faf5439 docs: Bug fix: Add typewriter.html 2017-11-10 01:35:35 +09:00
Hajime Hoshi
68d95b5af2 docs: Add examples/typewriter 2017-11-10 01:32:18 +09:00
Hajime Hoshi
cd70bc039b examples/typewriter: Enable backspace 2017-11-10 01:27:43 +09:00
Hajime Hoshi
cea9bd5a19 input: Bug fix: runeBuffer should be reset on each frame 2017-11-10 01:21:15 +09:00
Hajime Hoshi
4b83a060fe ui: Add more keys not for charCode 2017-11-10 00:46:37 +09:00
Hajime Hoshi
fb8bef99c3 ui: Bug fix: key event on Edge browser 2017-11-10 00:39:46 +09:00
Hajime Hoshi
dc4dc92dd0 doc: Update gamepad.html 2017-11-10 00:36:42 +09:00
Hajime Hoshi
37ca48dc38 ui: Rename functions from Safari to Edge 2017-11-10 00:35:46 +09:00
Hajime Hoshi
0c0cd7e9d6 ui: Bug fix: call preventDefault for arrow keys
Fixes #450
2017-11-10 00:32:47 +09:00
Hajime Hoshi
f789c285ad examples: Rename inputchars -> typewriter 2017-11-10 00:11:03 +09:00
Hajime Hoshi
ededc5874b ui: Bug fix: Scale was wrong when magnifier is enabled
Fixes #244
2017-11-09 02:06:35 +09:00
Hajime Hoshi
d5bb59c333 docs: Update license.md 2017-11-02 02:31:50 +09:00
Hajime Hoshi
bfffa9fc70 docs: Remove duplicated directory 2017-11-02 02:28:06 +09:00
Hajime Hoshi
555648212f docs: Add a link to the playground 2017-11-02 02:24:14 +09:00
Hajime Hoshi
c761dc7e8b examples/platform: Remove settings
Add them again when necessary.
2017-10-31 03:36:10 +09:00
Hajime Hoshi
73a0a6a92b examples/platformer: Enable arrow keys 2017-10-29 00:07:26 +09:00
Hajime Hoshi
38293f13d5 examples/platformer: Refactoring 2017-10-29 00:06:50 +09:00