Hajime Hoshi
02a2fc2d44
ui: Bug fix: Force to adjust window size when scale is changed
...
Fixes #644
2018-10-03 03:26:11 +09:00
Hajime Hoshi
eef9c01735
gofmt -s -w
2018-10-03 03:25:44 +09:00
Hajime Hoshi
cf41e0aa0a
devicescale: Rename logPixelSx -> logPixelsX
2018-10-03 03:13:36 +09:00
Hajime Hoshi
399317a2cf
devicescale: Get the current monitor's scale on Windows ( #644 )
2018-10-03 03:09:42 +09:00
Hajime Hoshi
c494b53822
ui: Refactoring: Add deviceScale struct
2018-10-02 23:06:56 +09:00
Hajime Hoshi
635d624b77
ui: Update device scale on browsers ( #644 )
2018-10-02 11:43:45 +09:00
Hajime Hoshi
21c1ee5dfb
ui: Cache devicescale value on mobiles
2018-10-02 03:51:13 +09:00
Hajime Hoshi
9906c935f6
ui: Remove unnecessary lock protection
2018-10-02 03:25:30 +09:00
Hajime Hoshi
fce82e1502
ui: Use frame counter to update device scale
2018-10-02 03:21:59 +09:00
Hajime Hoshi
78f2946797
ui: Bug fix: timer condition was wrong
2018-10-02 02:53:17 +09:00
Hajime Hoshi
bf850e12a4
ui: Recalc device scale repeatedly for multiple displays ( #644 )
2018-10-02 02:49:08 +09:00
Hajime Hoshi
26731f1ee2
Update dependencies
2018-10-01 11:14:05 +09:00
Hajime Hoshi
7921f67295
Update Oto version to v0.1.4
2018-10-01 10:46:12 +09:00
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