Commit graph

102 commits

Author SHA1 Message Date
Richard Davey
9bdf022bed The BaseSoundManager.getAll method used to require a key parameter, to return Sounds matching the key. This is now optional and if not given, all Sound instances are returned. 2022-11-22 18:49:37 +00:00
Richard Davey
45fbebb53a BaseSoundManager.getAllPlaying is a new method that will return all currently playing sounds in the Sound Manager.
Fix #6147
2022-11-21 21:38:54 +00:00
Richard Davey
d71b53a7f5 Updated jsdocs. Fix #5981 2022-11-18 22:14:59 +00:00
Richard Davey
6c70869ea4 Lots of jsdoc / TS fixes 2022-09-20 22:17:21 +01:00
Richard Davey
ec412b08a5 Tidy up 2022-09-07 18:24:26 +01:00
Richard Davey
59fbcc5ca3 Updated copyright year 2022-02-28 14:29:51 +00:00
Richard Davey
4f0232e8c8 Restored the 3.55.2 sound system + fixes for iOS 2022-02-04 16:59:13 +00:00
Richard Davey
b69889fbc2 Can at least use the body reference to save some space #5948 2022-02-03 16:23:40 +00:00
J.C
57dee7c461 1, add missing polyfill for IE9,10
2, IE9, 10, function alias causes error and all audio can't work properly
2021-12-21 17:09:55 +08:00
Richard Davey
5456267b2a Added pendingUnlock, tidied up the events, added unlock method 2021-11-22 23:53:44 +00:00
Richard Davey
ef711f1444 Drop the iife 2021-11-08 21:55:08 +00:00
Richard Davey
b4a7dab08b Drop the iife 2021-11-08 21:51:33 +00:00
Richard Davey
78c141c84e Removed unlock handler from main loop 2021-11-08 18:00:54 +00:00
Richard Davey
18b9643d8f Return all sound types. Fix #5578 2021-11-08 16:04:11 +00:00
Richard Davey
a03b6e6592 Lint fixes 2020-04-27 12:59:28 +01:00
Richard Davey
46a42f1440 Fix blur / focus event issue (re: #5013) 2020-04-27 11:13:54 +01:00
Richard Davey
3149cd6bcc
Merge pull request #5095 from samme/feature/new-soundmanager-methods
Add new Sound Manager methods
2020-04-27 10:07:14 +01:00
samme
e8381c1b9b Add new Sound Manager methods
- BaseSoundManager#get()
- BaseSoundManager#getAll()
- BaseSoundManager#removeAll()
- BaseSoundManager#stopByKey()
2020-04-04 14:29:31 -07:00
samme
cae9d2ec07 Description for BaseSoundManager#playAudioSprite 2020-03-24 13:56:22 -07:00
samme
677cfae424 Docs for Sound Managers 2020-02-20 09:10:25 -08:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
samme
974ffd93ee Docs for Phaser.Sound.BaseSoundManager#play
Always adds a new sound
2020-01-03 13:44:07 -08:00
Richard Davey
89c30fe42f BaseSoundManager.forEachActiveSound will now only invoke the callback if the sound actually exists and isn't pending removal. Fix #3383 2019-10-02 12:50:10 +01:00
Richard Davey
2829d27e8a Fixed return type. Fix #4772 2019-09-30 13:32:14 +01:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
dc18d06f10 Sound Types 2019-05-09 12:38:12 +01:00
Richard Davey
0db663d901 More typedefs 2019-02-13 15:38:50 +00:00
Richard Davey
eb9ed3463f Lots of namespace and jsdoc fixes 2019-02-01 18:02:58 +00:00
Richard Davey
44cff816ba Added all the Sound Events. 2019-01-17 17:20:54 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
Richard Davey
a9063604dc Replace @readOnly with @readonly 2018-10-09 13:40:00 +01:00
Chris Andrew
5f3767f43d Polished some DataManagerPlugin and EachActiveSoundCallback descriptions. 2018-05-23 08:18:49 +01:00
Chris Andrew
f95b35eae7 Finished off descriptions for Data, Plugins and Sound. 2018-05-23 08:09:24 +01:00
Richard Davey
d595da49fd Now use the prestep event to update instead 2018-05-11 01:50:02 +01:00
Richard Davey
d780cda233 Audio Sprites now support loop property 2018-05-04 02:38:01 +01:00
Richard Davey
18585de81d Lots of jsdoc fixes 2018-04-16 14:43:24 +01:00
Pavle Goloskokovic
403f5b3e33 Not unlocking sound manager by default in base class 2018-04-14 17:48:16 +02:00
Richard Davey
747f09af86 jsdoc fixes 2018-03-28 15:04:09 +01:00
Richard Davey
a76b9a1827 BaseSoundManager.rate and BaseSoundManager.detune would incorrectly called setRate on its sounds, instead of calculateRate. 2018-03-28 14:12:37 +01:00
Richard Davey
d78a9d097f eslint fixes 2018-03-22 13:22:23 +00:00
Richard Davey
0ef92e1172 Merge branch 'pr/3439' 2018-03-21 16:06:56 +00:00
Richard Davey
645c03f2e9 Added setRate and setDetune methods 2018-03-21 14:40:07 +00:00
orblazer
90cf919b10 Fix "object" types on Sound and Time 2018-03-21 15:02:10 +01:00
orblazer
e60d573912 Fix "object" types in Actions 2018-03-20 23:36:41 +01:00
orblazer
9375bb0530 Fix multiple types on Tilemaps 2018-03-20 16:11:33 +01:00
orblazer
fa13b597e3 Add more callbacks 2018-03-19 23:08:05 +01:00
Richard Davey
3eef3213be Spacing 2018-03-19 16:34:39 +00:00
Pavle Goloskokovic
e0b85dd3f2 Updated forEachActiveSound method docs to make scope param optional 2018-02-23 15:27:40 +01:00
Richard Davey
df341be520 Removed local properties that were overwritten by the getters / setters 2018-02-22 01:26:36 +00:00