Hajime Hoshi
5c4885c988
inpututil: Add AppendJustConnectedTouchIDs
...
Closes #1705
2021-07-10 23:30:04 +09:00
Hajime Hoshi
a79c287bb7
inpututil: Add AppendPressedKeys
...
Updates #1705
2021-07-10 22:18:15 +09:00
Hajime Hoshi
431cd33839
ebiten: Add AppendInputChars, AppendGamepadIDs, and AppendTouchIDs
...
These functions reduce unnecessary allocations of arrays.
Closes #1692
2021-07-10 03:03:24 +09:00
Hajime Hoshi
a615be69c7
examples: Add //go:build
2021-06-24 21:49:37 +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
7f67fb7b90
examples/flappy: Accept gamepads
2021-05-23 19:44:03 +09:00
Hajime Hoshi
f1f7b350de
audio, audio/mp3, audio/vorbis, audio/wav: Remove Close functions
...
Fixes #859
2020-10-07 23:39:58 +09:00
Hajime Hoshi
47065f5f2c
Remove supporting jsgo
...
Updates #1129
2020-10-07 00:46:07 +09:00
Hajime Hoshi
1b816eb249
ebiten: Remove the error returning value from NewImageFromImage
...
Updates #1380
2020-10-06 01:03:33 +09:00
Hajime Hoshi
944a19c6f7
audio: Remove the error returning value from NewContext
...
Updates #1380
2020-10-05 02:25:13 +09:00
Hajime Hoshi
fe97e7b0a5
ebiten: Remove the filter argument from NewImage and NewImageFromImage
...
Updates #503
2020-10-05 01:40:44 +09:00
Hajime Hoshi
8f00c8fbf5
ebiten: Remove the argument from Update
...
Fixes #1260
2020-10-04 19:33:10 +09:00
Hajime Hoshi
bf515bb594
Update version to v2.0.0-alpha
2020-10-04 04:30:40 +09:00
Hajime Hoshi
3f1d0788f5
examples: Use golang.org/x/image/font/opentype
...
Updates #484
2020-10-03 15:25:39 +09:00
Hajime Hoshi
9302160486
examples/flappy: Use RunGame
...
Updates #1111
2020-04-01 15:59:49 +09:00
Hajime Hoshi
00ae15082d
examples/flappy: Change the spelling: Gameover -> Game over
2019-10-18 02:15:37 +09:00
Hajime Hoshi
75721e6fc1
ui: Auto scaling on browsers
...
This change forces Ebiten apps on browsers 'fullscreen' mode.
After this change, 'scale' value is no longer used on browsers.
Note that this breaks backward compatibility, but as long as the
game works in an iframe, this should not be problematic.
Fixes #960
2019-10-15 00:02:02 +09:00
Hajime Hoshi
710f56531f
graphics: Experimental: (*image.Image).SubImage
...
Fixes #722
2018-10-28 02:19:14 +09:00
Hajime Hoshi
13174cdb22
examples/flappy: Should use fullscreen on Wasm
2018-10-14 01:21:13 +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
3cd9dfd800
Rename IsRunningSlowly to IsDrawingSkipped
...
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
21fd6a2edc
examples/flappy: Remove println
2018-07-04 00:23:34 +09:00
Hajime Hoshi
5f3a42aab9
examples/flappy: Add license comment
2018-05-28 02:38:55 +09:00
Hajime Hoshi
db3effe65a
inpututil: Rename JustPressedTouches -> JustPressedTouchIDs
2018-04-30 20:07:27 +09:00
Hajime Hoshi
f1fa8804d3
inpututil: Add JustPressedTouches and remove IsJustTouched
...
Fixes #576
2018-04-08 04:59:13 +09:00
Hajime Hoshi
ce2168c0d6
examples/flappy: Bug fix: wrong calculation of rotating
2018-04-08 00:38:52 +09:00
Hajime Hoshi
f2e2f602c5
examples/flappy: Bug fix: first touch ID might not be 0 on iPhone Safari ( #576 )
2018-04-07 23:36:38 +09:00
Hajime Hoshi
35557e845d
examples/flappy: Improve message
2018-04-07 23:26:28 +09:00
Hajime Hoshi
b952cb724f
examples/flappy: Fullscreen on browsers
2018-04-07 22:23:50 +09:00
Hajime Hoshi
2a6672cc8b
examples: Add examples/flappy
2018-04-07 22:15:45 +09:00