Commit Graph

2453 Commits

Author SHA1 Message Date
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
Hajime Hoshi
fb7bf03e15 Add Floppy to AUTHORS 2017-10-29 00:00:30 +09:00
Floppy
362c110c96 Added simple platformer example (#448) 2017-10-28 23:54:42 +09:00
Hajime Hoshi
fa43bc73d8 doc: Update comments about gamepad platforms
Now Safari and Edge can treat Gamepad API.
2017-10-27 11:07:05 +09:00
Hajime Hoshi
7bcc9ee79f ui: Add GamepadIDs and remove IsGamepadPresent (#447) 2017-10-26 23:59:09 +09:00
Hajime Hoshi
0357f80411 examples/gamepad: Simplify the message 2017-10-26 03:52:23 +09:00
Hajime Hoshi
79e46c555e examples/gamepad: Show multiple gamepad status 2017-10-26 03:44:49 +09:00
Hajime Hoshi
600baf2cc7 ui: Add IsGamepadPresent
Fixes #447
2017-10-26 02:59:33 +09:00
Hajime Hoshi
05e220e105 ui: Allow smaller window width (#444) 2017-10-20 03:25:21 +09:00
Hajime Hoshi
414170b138 ui: Refactoring 2017-10-20 02:50:39 +09:00
Hajime Hoshi
b46ed224a7 mp3: Add comment about error handling 2017-10-18 02:11:09 +09:00
Hajime Hoshi
31796150e7 graphics: Fix comments in ColorM.Apply 2017-10-15 00:00:44 +09:00
Hajime Hoshi
6ae67fc6dd graphics: Add ColorM.Apply (#432) 2017-10-14 23:58:09 +09:00
Hajime Hoshi
2624ed6824 audio: Refactoring 2017-10-14 19:45:32 +09:00
Hajime Hoshi
3cf5ca4df3 doc: Improve comments 2017-10-08 03:14:33 +09:00