Learn how to catch soundDidFinishPlaying callback. Here is a sample project which you can download. Before watching this tutorial you might want to watch: Sound sorcery
After you have watched this tutorial, you might want to watch: How to show an image.
i have a question,
im using simpleaudioengine for my project,and it does the job well,everything is working gr8.
only problem is that there is this 1 particular sound that is a looping sound,and i cant play a looping soundeffect with simpleaudioengine.
and hence im forced to use cdaudiomanager for this,
is there a way that i can leave the current code as it is with simpleaudioengine,and just use the cdaudiomanager or cdsoundengine for playing this one loopingsound without having to mess with the rest of the sounds and the background music ?
how do i play a looping sound-effect with cdaudiomanager?
kindly help me with this, im sure i will move to cdaudiomanager in the future,as i see my audio needs increasing, but for the current project,replacing sae seems like overkill
Another request for a tutorial would be Hudlayers / Advanced hudlayers.
Hudlayers with items ( Highscore , amount of lives left, amount of powerups left , or an image showing up if you picked up an powerup)
Request for a tutorial :
First learn chipmunk and spacemanager (haha just kidding)
Making a slidingmenugrid (no need to reinvent the wheel so we could use this one :
http://brandonreynolds.com/blog/2011/01/09/cocos2d-sliding-menu-grid/) or of course if you feel like it you can make your own.
And in that menu how would you add items in a menu and keep track of them. For example I got Level 1 and in that level you can collect three stars each star has a tag? How would you keep track of the stars in the slidingmenugrid and show the appropriate star that has been collected in the menu. A little counter in the right bottom of the slidingmenugrid would also be nice with the total of stars that can be collected and the amount of stars that has been collected already.
You must be logged in to post a comment.