Likon
1
Hi
I moved to cocos2d 3.8 but my projects were generated for 3.7
I have this problem:
cc.log(jsb.AudioEngine.getVolume());
and I have jsb.AudioEngine is undefined error.
How to use it correctly? I’m trying to run it on iOS.
Preload, or play2d methods also don’t work.
alexgg
2
if you are using cocos2d js this should be cc.audioEngine.getMusicVolume() or cc.audioEngine.getEffectsVolume() depending on what you want.
Likon
3
I don’t think so. You’re sure? the new audio engine I think is jsb.AudioEngine… cc.audioEngine doesn’t have preload method…
alexgg
4