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
Hajime Hoshi
e54da620dd
Reupdate go.mod
2018-08-15 01:06:48 +09:00
Hajime Hoshi
8772d310fe
Revert "Revert "graphics: Fix documentation about DrawImage""
...
This reverts commit f16c7cb90d
.
Reason: Oops, I reverted a wrong commit
2018-08-14 12:27:18 +09:00
Hajime Hoshi
f16c7cb90d
Revert "graphics: Fix documentation about DrawImage"
...
This reverts commit 610bf6e39f
.
Reason: This caused a new black line at the bottom (macOS).
2018-08-14 12:26:28 +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
08e931782a
Update go.mod
2018-08-14 01:13:31 +09:00
Hajime Hoshi
a82201cfe8
graphics: Use an even number for screen height offset
...
Fixes #622
2018-08-12 20:12:05 +09:00
Hajime Hoshi
610bf6e39f
graphics: Fix documentation about DrawImage
2018-08-11 02:14:37 +09:00
Hajime Hoshi
cc17fbc166
Revert "Revert "ebitenutil: Use ColorM""
...
This reverts commit 7f46b46f66
.
2018-08-11 01:49:33 +09:00
Hajime Hoshi
690c3cf981
graphics: Embed 'scale' part of the color matrix
...
If the color matrix includes only 'scale' part, they are embedded
into vertices in order to reduce draw calls.
Fixes #662
2018-08-10 23:20:55 +09:00
Hajime Hoshi
e46f9c6305
graphics: Bug fix: compile error
2018-08-10 03:10:57 +09:00
Hajime Hoshi
a03b335c24
graphics: Add logging when 'ebitendebug' tag is specified
...
Fixes #563
2018-08-10 02:39:07 +09:00
Hajime Hoshi
1aabdd58f1
restorable: Fix comments
2018-08-09 01:27:38 +09:00
Hajime Hoshi
3daaef2cab
restorable: Refactoring: Use ReplacePixels(nil, ...) for clearing an image
2018-08-09 01:16:46 +09:00
Hajime Hoshi
ebb1d26e67
Update go.sum
2018-08-09 00:20:24 +09:00