Commit Graph

470 Commits

Author SHA1 Message Date
Hajime Hoshi
ebffaeba3d examples/minify: Better clipping 2018-11-09 01:08:32 +09:00
Hajime Hoshi
710f56531f graphics: Experimental: (*image.Image).SubImage
Fixes #722
2018-10-28 02:19:14 +09:00
Hajime Hoshi
8b82667df1 graphics: Bug fix: Violating edge pixels with linear filter
Fixes #724
2018-10-26 00:48:51 +09:00
Hajime Hoshi
d14202ef7b audio: Add Context.IsReady
Fixes #717
2018-10-16 00:02:19 +09:00
Hajime Hoshi
b6f7a0043c examples/windowsize: Show DeviceScaleFactor 2018-10-14 19:15:26 +09:00
Hajime Hoshi
443e3ae3a4 examples/windowsize: Bug fix: Strange delta of window size 2018-10-14 17:34:02 +09:00
Hajime Hoshi
13174cdb22 examples/flappy: Should use fullscreen on Wasm 2018-10-14 01:21:13 +09:00
Hajime Hoshi
56541a8c0a examples/blocks: Fix message 2018-10-14 00:55:27 +09:00
Hajime Hoshi
d6e109555d examples/blocks: Bug fix: multiple gamepad detection 2018-10-13 16:59:52 +09:00
Hajime Hoshi
8ed02efd28 examples/blocks: Improve gameover message 2018-10-13 16:59:52 +09:00
Hajime Hoshi
244e078810 examples/audioinfiniteloop: Fix message 2018-10-13 14:46:13 +09:00
Hajime Hoshi
0fb33e7c36 examples/highdpi: Bug fix: doesn't work well on multiple monitors 2018-10-13 03:59:31 +09:00
Hajime Hoshi
659f3ad8a0 examples/fullscreen: Fix offset 2018-10-12 01:11:14 +09:00
Hajime Hoshi
0509abfab6 examples: Use FilterDefault at NewImage 2018-10-12 00:40:48 +09:00
Hajime Hoshi
c758a1f8c6 ui: Rename MonitorSize -> ScreenSizeInFullscreen (#708) 2018-10-09 23:42:03 +09:00
Hajime Hoshi
8ac50a47f9 examples/blur: Fix comments 2018-10-01 02:37:53 +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
0224858b7b examples/wheel: Improve message 2018-09-30 17:13:22 +09:00
Hajime Hoshi
ecef9cab0f examples: Add wheel example 2018-09-30 17:03:40 +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
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
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
3d1d5d4355 examples/audio: Use Ogg again 2018-09-03 00:49:06 +09:00
Hajime Hoshi
864eebbcd9 examples/resources: Add Ragtime_ogg 2018-09-02 23:08:02 +09:00
Hajime Hoshi
f2b4dfd061 examples/polygon: Better coloring 2018-08-14 02:14:19 +09:00
Hajime Hoshi
340a4b4dfa examples: Rename triangles -> polygons 2018-08-14 01:56:08 +09:00
Hajime Hoshi
7807488cc7 examples/triangles: Fix terms 2018-08-14 01:55:22 +09:00
Hajime Hoshi
1b8cad4e1d examples/triangles: Draw polygons 2018-08-14 01:49:45 +09:00
Hajime Hoshi
5032546238 examples: Rename triangle -> triangles 2018-08-14 01:30:42 +09:00
Hajime Hoshi
2360b2930f graphics: Add DrawTriangles
Fixes #624
2018-08-14 01:23:14 +09:00
Hajime Hoshi
b02b2de626 examples/minify: Add rotation 2018-07-29 23:24:18 +09:00
Hajime Hoshi
a321155ab5 examples/minify: Improve minifying demonstration 2018-07-29 22:19:22 +09:00
Hajime Hoshi
c39c211d1f Add examples/minify 2018-07-29 18:58:30 +09:00
Hajime Hoshi
b9265d5120 Enable to go-generate under non-GOPATH directories 2018-07-28 19:21:19 +09:00
Hajime Hoshi
0593b77eb8 ui: Implement CurrentTPS 2018-07-18 02:11:00 +09:00
Hajime Hoshi
e99f2f9f69 ui: Rename TPS -> MaxTPS 2018-07-17 22:41:27 +09:00
Hajime Hoshi
eadbabffd9 examples/windowsize: Use more consts 2018-07-17 22:36:55 +09:00
Hajime Hoshi
a7a1f6b4c6 ui: Rename SetTPS -> SetMaxTPS, Introduce UncappedTPS 2018-07-17 22:33:53 +09:00
Hajime Hoshi
328c5ff7e1 examples/windowsize: Fix message 2018-07-17 21:58:58 +09:00
Hajime Hoshi
16c6ab4d07 ui: Introduce DefaultTPS and deprecate FPS 2018-07-17 02:07:03 +09:00
Hajime Hoshi
3a8ca5ad73 ui: Implement TPS/SetTPS
Fixes #605
Fixes #321
2018-07-17 01:58:00 +09:00
Hajime Hoshi
e25c237a01 Add IsVsyncEnabled / SetVsyncEnabled
This enables the game to work more efficiently (but consume much
more CPU).

Fixes #405.
2018-07-14 21:43:55 +09:00
Hajime Hoshi
3cd9dfd800 Rename IsRunningSlowly to IsDrawingSkipped
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
4a6faf5505 Add examples/animation
Fixes #640
2018-07-09 22:50:34 +09:00
Hajime Hoshi
21fd6a2edc examples/flappy: Remove println 2018-07-04 00:23:34 +09:00