Commit Graph

39 Commits

Author SHA1 Message Date
Hajime Hoshi
ecb1ac03d6 examples/keyboard/keyboard: use text/v2
Updates #2454
2023-11-19 16:47:08 +09:00
Artem Sedykh
da54f19df5
add blend modes example (#2563) 2023-02-07 11:59:49 +09:00
Hajime Hoshi
38a6583438 examples/audio: change the sample rate from 32000 -> 48000 2023-01-27 14:58:17 +09:00
Hajime Hoshi
67400d242b examples/resource: use go:embed for images
Closes #1258
2022-09-17 23:27:45 +09:00
Hajime Hoshi
5305735055 examples/resource: use go:embed for audio and fonts
Updates #1258
2022-09-17 22:15:40 +09:00
Hajime Hoshi
d57cd39bb9 examples/resources/images/keyboard: fix comment 2022-09-15 23:18:49 +09:00
Hajime Hoshi
6e6145541d examples/keyboard/keyboard: use go:embed
Updates #1258
2022-09-15 22:58:57 +09:00
Hajime Hoshi
b858f36d54 remove the dependency on file2byteslice
Specify the version explicitly instead.
2022-08-23 16:34:55 +09:00
mattn
3cd0daac67
go generate ./... with Go 1.19 (#2228) 2022-08-03 20:48:02 +09:00
Hajime Hoshi
e41a8be9e4 add tools.go 2022-07-30 02:16:53 +09:00
divVerent
21207f827c
do not require installing file2byteslice to update go generate'd files. (#2221)
The tool is already referenced in go.mod, so it is trivial to just go run it -
that way, go generate can use it without the user explicitly installing it first.
2022-07-29 20:43:23 +09:00
Hajime Hoshi
583c2cf17e examples/resources: reorder items 2021-12-31 05:30:37 +09:00
Jacob Salmela
e77985139b
examples/resources: bug fix: add a missing item Spritesheet_png (#1924)
the Spritesheet_png was not included with go generate so this adds that in

Signed-off-by: Jacob Salmela <me@jacobsalmela.com>
2021-12-31 05:28:41 +09:00
Trevor Slocum
1019e15ccd
Add isometric demo (#1823)
Based on a prototype by Justin Cichra (@jrcichra).

Closes #1112
2021-10-01 11:10:48 +09:00
Hajime Hoshi
52d917eff0 go generate 2021-09-25 03:45:17 +09:00
Hajime Hoshi
95a98950b8 examples/resources: Unify jab.wav to 48000 Hz
Updates #1649
2021-05-25 22:32:50 +09:00
Hajime Hoshi
0247261d34 examples/flappy: Change the sample rate to 48000 2021-05-23 22:04:41 +09:00
Hajime Hoshi
44e96f2377 examples/resources/images: Add a license about alert.png 2021-05-04 18:17:17 +09:00
Hajime Hoshi
e1d0b902e1 examples/audio: Add buttons 2021-05-04 02:02:17 +09:00
Hajime Hoshi
6f462e824f examples/audio: Use the same audio file for Ogg and MP3
This also changes the sample rate to 32000 for some special
environments.
2021-02-21 17:57:06 +09:00
Hajime Hoshi
43734dc1a2 examples/resources/fonts: Remove Arcade_n.ttf 2020-10-03 20:40:33 +09:00
Hajime Hoshi
584916c694 examples/keyboard: Use golang.org/x/image/font/opentype
Updates #484
2020-10-03 15:32:10 +09:00
Hajime Hoshi
c9af0e9bd4 examples/blocks: Use golang.org/x/image/font/opentype
This change also adds a new font "Press Start 2P".

Updates #484
2020-09-29 22:02:48 +09:00
Hajime Hoshi
9906e4b882 go generate 2020-09-20 23:28:17 +09:00
Hajime Hoshi
d73472f4f2 Use the library style of file2byteslice 2020-08-14 00:50:09 +09:00
Magnus
95022ff1a5
examples/shader: dissolve shader (#1291)
Updates #1284
2020-08-12 00:43:07 +09:00
Hajime Hoshi
8dec91db43 examples/shader: Add the radial blur example
Updates #1284
2020-08-10 05:16:44 +09:00
Hajime Hoshi
a3f62559c6 examples/shader: Add lighting example
Fixes #1234
2020-07-19 15:42:35 +09:00
Hajime Hoshi
4eedeb6ab7 example: Add mascot
This change also revert ScreenSizeInFullscree from the deprecated
state.

Fixes #1108
2020-03-22 16:30:48 +09:00
Hajime Hoshi
0a35efbba9 Add examples/particles
Fixes #826
2019-02-24 01:20:06 +09:00
Hajime Hoshi
864eebbcd9 examples/resources: Add Ragtime_ogg 2018-09-02 23:08:02 +09:00
Hajime Hoshi
4a6faf5505 Add examples/animation
Fixes #640
2018-07-09 22:50:34 +09:00
Hajime Hoshi
07009501f9 examples: Move resource files 2018-05-12 17:09:42 +09:00
Hajime Hoshi
3fa2beb502 Fix the do-not-edit comment https://golang.org/s/generatedcode 2018-04-20 00:54:33 -07:00
Hajime Hoshi
dbe990a060 Use the latest file2byteslice 2018-04-14 04:19:11 +09:00
Hajime Hoshi
2a6672cc8b examples: Add examples/flappy 2018-04-07 22:15:45 +09:00
Hajime Hoshi
420c4306d0 examples/keyboard: Embed keyboard.png (#552) 2018-03-14 04:04:29 +09:00
Hajime Hoshi
b08f259674 examples/resources: Add more resources (#552) 2018-03-14 03:50:56 +09:00
Hajime Hoshi
cff14cbbd4 example: Embed resources (#552) 2018-03-14 03:13:46 +09:00