Commit Graph

3861 Commits

Author SHA1 Message Date
Hajime Hoshi
8ac50a47f9 examples/blur: Fix comments 2018-10-01 02:37:53 +09:00
Hajime Hoshi
5f87cc8acb docs: Add examples 2018-09-30 23:21:25 +09:00
Hajime Hoshi
502919dea0 examples/blur: Add comments 2018-09-30 23:17:17 +09:00
Hajime Hoshi
66ca53529b examples: Add blur example 2018-09-30 23:07:33 +09:00
Hajime Hoshi
308c8091cd ui: Fix comments 2018-09-30 18:53:38 +09:00
Hajime Hoshi
8df596396c input: Bug fix: wheel direction is opposite on browsers 2018-09-30 17:14:52 +09:00
Hajime Hoshi
0224858b7b examples/wheel: Improve message 2018-09-30 17:13:22 +09:00
Hajime Hoshi
803e42714e input: Implement wheel event on browsers
Fixes #630
2018-09-30 17:08:18 +09:00
Hajime Hoshi
ecef9cab0f examples: Add wheel example 2018-09-30 17:03:40 +09:00
Hajime Hoshi
237f6a2014 input: Rename MouseWheel -> Wheel 2018-09-30 17:01:45 +09:00
Hajime Hoshi
b6f0ea0100 input: Remove unused variables 2018-09-30 15:40:16 +09:00
Hajime Hoshi
25a5f1dd83 ui: Sleep when vsync doesn't work (#692) 2018-09-30 14:44:54 +09:00
Hajime Hoshi
2923bec0dc examples: Use TPS instead of FPS to indicate how fast the app works 2018-09-30 02:27:33 +09:00
Hajime Hoshi
15260537a2 graphics: Bug fix: fullscreen rendering was wrong
After fad65f2f5d, the viewport size
is always same as the framebuffer size. The 'screen' image size
was the actual rendering region size, and padding was not
considered in the size. The padding is added on the fullscreen
mode.

This fix adds the extra padding values to the 'screen' image size
so that the 'screen' framebuffer will be same size as the monitor
size.

Fixes #693
2018-09-29 21:47:41 +09:00
Hajime Hoshi
fad65f2f5d graphics: Use the viewport size same as the framebuffer size
Fixes #691
2018-09-29 19:53:22 +09:00
Hajime Hoshi
c4abed0a22 opengl: Add coments about #629 2018-09-29 02:20:23 +09:00
Hajime Hoshi
eb0f0e6ced examples: Adjust samplerate not to cause resampling
Fixes #687
2018-09-28 03:55:28 +09:00
Hajime Hoshi
d243957ab1 examples/audioinfiniteloop: Refactoring: Remove magic numbers 2018-09-28 01:52:30 +09:00
Hajime Hoshi
56d8ce9935 examples/audioinfiniteloop: Use NewInfiniteLoopWithIntro
Fixes #656
2018-09-28 01:45:40 +09:00
Hajime Hoshi
1a703ae34b graphics: Extend the range to 4000 in TestImageStretch (#611) 2018-09-28 01:13:25 +09:00
Hajime Hoshi
161eaa1544 docs: Add examples/polygons 2018-09-26 02:32:24 +09:00
Hajime Hoshi
c14e6f3e90 Update gopherwasm version 2018-09-23 02:00:37 +09:00
Hajime Hoshi
17a47f80ef ebitenutil: Fix comments 2018-09-22 05:23:26 +09:00
Hajime Hoshi
ae94bbfe62 Add ryosama to AUTHORS 2018-09-22 05:22:46 +09:00
ryosama
f0d6853631 ebitenutil: Add the DebugPrintAt function (#684)
Fixes #683
2018-09-22 05:21:13 +09:00
Hajime Hoshi
e1347c58ca examples/shapes: Use DrawTriangles for rectangles (#680) 2018-09-15 19:00:57 +09:00
Hajime Hoshi
76ca296cdd examples/shapes: Bug fix: correct calculation 2018-09-15 18:15:16 +09:00
Hajime Hoshi
5587af9d7e examples/shapes: Use DrawTriangles (#680) 2018-09-15 17:20:35 +09:00
Hajime Hoshi
aae79e39ab docs: Update README (add link) 2018-09-13 02:08:42 +09:00
Hajime Hoshi
3953598214 docs: Update README 2018-09-13 02:06:16 +09:00
Hajime Hoshi
18cc7f69e8 docs: Update 2018-09-11 08:26:22 +09:00
Hajime Hoshi
ce8d9df647 graphics: Update glTexImage2D signature 2018-09-10 12:44:42 +09:00
Hajime Hoshi
17ed5bab2e Update go.mod (Oto) 2018-09-10 12:41:58 +09:00
Hajime Hoshi
660f4a02e1 Update go.mod 2018-09-03 08:57:40 +09:00
Hajime Hoshi
3d1d5d4355 examples/audio: Use Ogg again 2018-09-03 00:49:06 +09:00
Hajime Hoshi
3d24ffe3e0 clock: Bug fix: function registerd OnStart might not be called
Fixes #645
2018-09-03 00:35:55 +09:00
Hajime Hoshi
d5ca4c3953 audio/vorbis: Bug fix: compilation error 2018-09-02 23:55:59 +09:00
Hajime Hoshi
70044013e9 audio/vorbis: Rename []uint8 -> []byte 2018-09-02 23:54:50 +09:00
Hajime Hoshi
dfb8f017c4 Update go.sum 2018-09-02 23:26:00 +09:00
Hajime Hoshi
e8eefeb18a Update go.mod 2018-09-02 23:09:31 +09:00
Hajime Hoshi
42757b735b internal/png: Update 2018-09-02 23:09:08 +09:00
Hajime Hoshi
864eebbcd9 examples/resources: Add Ragtime_ogg 2018-09-02 23:08:02 +09:00
Hajime Hoshi
7af9e69605 graphics: Fix misspelling
Fixes #676
2018-08-30 23:08:18 +09:00
Hajime Hoshi
8827520d4a graphics: Bug fix: avoid jaggy rendering on macOS by adjusting texels (#669) 2018-08-30 00:17:03 +09:00
Hajime Hoshi
fe4f12fa6f text: Fix style 2018-08-27 23:42:17 +09:00
Hajime Hoshi
411b99efcf Update bitmapfont version 2018-08-27 23:04:45 +09:00
Jake Bentvelzen
2938afd82a ebitenutil: Fix OpenFile() so it works with wasm (#674)
Fixes #673 

* Change to use `js.NewCallback`
* Use `uint8contentWrapper := js.Global().Get("Uint8Array").New(content)`, without this all the bytes in `data` stays zeroed. (TypedArray cannot use `set` on an ArrayBuffer)
2018-08-27 03:46:15 +09:00
Hajime Hoshi
c25f5b03e0 Make TravisCI happy again 2018-08-27 03:19:24 +09:00
Hajime Hoshi
794bd1747c Update .travis.yml for GopherJS 2018-08-26 19:41:27 +09:00
Hajime Hoshi
1c088dc8b6 text: Use bitmapfont package for testing 2018-08-19 20:16:57 +09:00