Hajime Hoshi
f0ef1ecad0
all: add float32 version of audio APIs
...
This change adds these APIs
* (*audio.Context).NewPlayerF32
* (*audio.Context).NewPlayerF32FromBytes
* audio.NewInfiniteLoopF32
* audio.NewInfiniteLoopWithIntroF32
* audio.ResampleF32
* mp3.DecodeF32
* vorbis.DecodeF32
* wav.DecodeF32
Closes #2160
2024-07-21 19:12:18 +09:00
Hajime Hoshi
002e375d64
examples/audio: remove unneeded resampling
2024-05-18 22:15:24 +09:00
Hajime Hoshi
4a212181e7
examples/audio: show milliseconds
...
Updates #2901
2024-03-16 22:42:01 +09:00
BioErrorLog
d05afcbcfa
all: fix typos ( #2859 )
2023-12-08 13:35:52 +09:00
Hajime Hoshi
fbea792fe4
audio: rename Seek -> SetPosition and Current -> Position
...
Seek and Current are not removed but marked as deprecated.
Closes #2698
2023-08-02 01:24:52 +09:00
Hajime Hoshi
8bd7ce5c20
vector: add anti-alias options to the utility functions
...
Closes #2606
2023-03-18 11:01:48 +09:00
Hajime Hoshi
38a6583438
examples/audio: change the sample rate from 32000 -> 48000
2023-01-27 14:58:17 +09:00
Hajime Hoshi
f054a7634a
ebiten: deprecate (*Image).Size
...
Closes #2351
2023-01-20 01:26:37 +09:00
Artem Yadelskyi
86e694941f
examples: remove example
build tag ( #2433 )
...
Closes #1462
2022-11-03 20:24:09 +09:00
Artem Yadelskyi
5b53cef59e
all: remove old // +build
comments ( #2431 )
...
Closes #2325
2022-11-03 12:55:14 +09:00
Hajime Hoshi
6ba14fdb00
vector: rename functions
...
Fill* was confusing especially when the color is a transparent color.
Closes #2403
2022-10-22 20:29:31 +09:00
Hajime Hoshi
5e15bafde8
vector: add FillCircle
and StrokeCircle
...
Updates #2387
2022-10-22 01:24:51 +09:00
Hajime Hoshi
6f7b1a81d7
vector: add StrokeLine
, FillRect
, and StrokeRect
...
Updates #2387
2022-10-21 22:35:01 +09:00
Hajime Hoshi
5404e4d68a
all: replace io/ioutil
with io
and os
...
Closes #1770
2022-09-15 02:54:25 +09:00
Hajime Hoshi
6b1502ee71
examples/audio: handle errors
...
Updates #2287
2022-09-09 16:52:03 +09:00
Hajime Hoshi
f7c44f086f
replace Ebiten with Ebitengine in comments
2022-08-29 11:17:17 +09:00
Hajime Hoshi
4d03b9fd98
examples/audio: use ebitenutil.DrawCircle
...
Updates #2250
2022-08-18 15:42:45 +09:00
Hajime Hoshi
0f52381580
ebiten: rename TPS functions
...
* SetMaxTPS() -> SetTPS()
* MaxTPS() -> TPS()
* CurrentTPS() -> ActualTPS()
* CurrentFPS() -> ActualFPS()
Closes #2071
2022-07-17 11:30:12 +09:00
Hajime Hoshi
75e84f6eda
audio/mp3, audio/vorbis, audio/wav: add DecodeWithoutResampling
...
Updates #2055
2022-07-01 01:46:37 +09:00
Hajime Hoshi
92bc5c1908
audio: Add (*Context).NewPlayer and (*Context).NewPlayerFromBytes
...
Closes #1708
2021-07-22 16:41:04 +09:00
Hajime Hoshi
1dc8002689
examples: Reduce global variables
...
Closes #1669
2021-07-22 01:38:55 +09:00
Hajime Hoshi
5c4885c988
inpututil: Add AppendJustConnectedTouchIDs
...
Closes #1705
2021-07-10 23:30:04 +09:00
Hajime Hoshi
a615be69c7
examples: Add //go:build
2021-06-24 21:49:37 +09:00
Hajime Hoshi
e1d0b902e1
examples/audio: Add buttons
2021-05-04 02:02:17 +09:00
Hajime Hoshi
311d53ce2e
examples/audio: Enable to touch
2021-02-21 19:20:24 +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
19d6f8d20a
examples: Update resolutions
...
Fixes #1408
2020-10-31 02:06:45 +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
944a19c6f7
audio: Remove the error returning value from NewContext
...
Updates #1380
2020-10-05 02:25:13 +09:00
Hajime Hoshi
29b4087ebf
audio: Remove the error returning value from NewPlayerFromBytes
...
Updates #1380
2020-10-05 02:18:27 +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
e16a4cd85c
examples: Use RunGame
...
Updates #1111
2020-04-12 19:03:04 +09:00
Hajime Hoshi
978ee26898
ui: Add function aliases *OnUnfocused for *InBackground
...
Now a window can be floating with SetWindowFloating, the functions
that have suffix 'IsBackground' seems misleading. However, we
cannot rename them due to backward compatibility. Then, let's add
aliases and revisit them when updating the major version of Ebiten.
Fixes #1102
2020-03-21 00:42:00 +09:00
Hajime Hoshi
32c04767da
examples/audio: Switchable to MP3 from Ogg
2019-10-30 00:33:29 +09:00
Hajime Hoshi
5cd66b6d6b
examples/audio: Remove unused functions
2019-01-15 02:13:18 +09:00
Hajime Hoshi
5a612f60b6
examples/audio: Bug fix: Do not close after Run
...
Now Run can return immediately on GopherJS.
In general, graceful shutdown should not be expected since there
is no 'end' phase on some environments.
Fixes #784
2019-01-15 02:11:23 +09:00
Hajime Hoshi
348e50c5e7
examples/audio: Show the current volume ( #730 )
2019-01-05 01:43:22 +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
3d1d5d4355
examples/audio: Use Ogg again
2018-09-03 00:49:06 +09:00
Hajime Hoshi
3cd9dfd800
Rename IsRunningSlowly to IsDrawingSkipped
...
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
eecb04eaea
examples: Add jsgo build tag experimentally
2018-03-15 01:26:21 +09:00
Hajime Hoshi
cff14cbbd4
example: Embed resources ( #552 )
2018-03-14 03:13:46 +09:00
Hajime Hoshi
658c7cf452
examples: Use inpututil ( #415 )
2018-02-04 23:27:54 +09:00
Hajime Hoshi
80e4ee0998
ebitenutil: Remove JoinStringsIntoPath; Always use slash for ebitenutil.OpenFile
...
#428
2018-01-29 23:38:11 +09:00
Hajime Hoshi
20e12a7ea9
examples/audio: Refactoring
2018-01-22 02:15:04 +09:00
Hajime Hoshi
5c55df87d7
audio: Deprecate Size() and add Length() ( #466 )
2018-01-09 01:25:38 +09:00
Hajime Hoshi
10080d83e6
ebitentutil: Add JoinStringsIntoFilePath
...
Fixes #428
2017-12-16 23:29:35 +09:00