Hi, I’ve been working with Cocos2D-x for a little while now and I really like it. The one thing I can’t get working though is sound. I tried using playEffect and no sound came out at all. The wierd thing is that I can get music to play just fine. I’ve tried loading the same music files as sound effects and seeing if they play, but they don’t. I use .ogg files for all my audio. Does Cocos denshion even support Android for sound effects?
Cocos denshion not working on Android
Have you preloaded these effects? Or check the volume, it must between 0.0 ~ 1.0
I haven’t tried preloading the effects yet. I’ll look at that and the volume as soon as I can get to my code.