CocosDenshion with volume parameter

CocosDenshion with volume parameter
0.0 0



Finally I can push some of the changes I’ve made to cocos to add the ability to play each effect with a different volume parameter.
I’m slowly pushing the changes to that fork: from the 2.1.4 release and all the changes are going to be in the branch sound

More specifically this is the latest commit:

Expect the android (java code) in the following days and the ios version later next week.



This feature already implemented in 3.x (see gain parameter in SimpleAudioEngine::playEffect).


Oh well… :frowning:

I’ll keep uploading it anyway until 2.1.4 is fully deprecated.