Any tutorials on how to make a slider for cocos2d that controls sounds that you guys recommend? Some of tutorials look a bit shady.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the slider provides by the CCControlExtension and use the callback method to change the volume of your sound as explained here.
Here a “pseudo” code to show you how to achieved this:
I hope it’ll help you.