Pavle Goloskokovic
42b47d2674
Fixed few references
2017-11-30 22:56:54 +01:00
Pavle Goloskokovic
9e90b9eec2
Moved logic for audio sprite creation to BaseSoundManager addAudioSprite method
2017-11-30 22:14:20 +01:00
Pavle Goloskokovic
28ae0811e6
Defining detune property in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations
2017-11-27 17:35:35 +01:00
Pavle Goloskokovic
1c1e75ac85
Defining rate property in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations
2017-11-27 17:35:09 +01:00
Pavle Goloskokovic
27ad50d276
Setting _detune field in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations
2017-11-27 17:34:27 +01:00
Pavle Goloskokovic
92ac9d41c5
Setting _rate field in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations
2017-11-27 17:33:37 +01:00
Pavle Goloskokovic
94e834fa96
Updating all sounds on sound manager update
2017-11-26 16:59:12 +01:00
Pavle Goloskokovic
ab9a9c951f
bound onBlur and onFocus methods to corresponding game events
2017-11-21 18:06:18 +01:00
Pavle Goloskokovic
dd824c4a79
added onBlur and onFocus methods to BaseSoundManager
2017-11-21 18:04:54 +01:00
Pavle Goloskokovic
f00421f112
changed muteOnPause flag to be pauseOnBlur for BaseSoundManager
2017-11-21 18:02:24 +01:00
Pavle Goloskokovic
52cbffcf2e
added detune field to BaseSoundManager
2017-11-16 17:21:49 +01:00
Pavle Goloskokovic
dd17f6083f
moved sounds array declaration above other properties
2017-11-16 16:04:07 +01:00
Pavle Goloskokovic
716a1d4652
updated field descriptions for BaseSoundManager class
2017-11-16 15:23:35 +01:00
Pavle Goloskokovic
ca1b81ae12
added sounds array initialisation
2017-11-14 17:21:58 +01:00
Pavle Goloskokovic
d43eb0de50
added basic methods and properties to the BaseSoundManager class
2017-11-13 19:39:32 +01:00
Pavle Goloskokovic
0fe8757054
moved create method meant for instantiating global sound manager object form BaseSoundManager class to dedicated SoundManagerCreator class
...
moved setting local game reference from WebAudioSoundManager class to BaseSoundManager class constructor
fixed bug with audio context creation condition in WebAudioSoundManager class
2017-11-10 19:05:26 +01:00
Pavle Goloskokovic
0b348f83ec
updated conditional logic for choosing correct sound manager and audio files implementation
2017-11-10 13:36:13 +01:00
Pavle Goloskokovic
24dfdb1e54
renamed SoundManager class to BaseSoundManager
2017-11-10 13:05:29 +01:00