Steve Oldmeadow and I wrote this project to demonstrate how to use the CocosDenshion sound library, and to give an example of how to put together some of the concepts from the tutorials on this site into a complete game. The art was made by my lovely wife, as usual!
What Does it Include?
Tom the Turret demonstrates how to do the following in a simple game with Cocos2D:
How to use the CocosDenshion sound engine effectively
How to have multiple scenes (loading scene, main menu, story scene, action scene)
How to have multiple levels and monsters
How to shoot in 360°
How to draw health bars
How to use Spritesheets and animations (I’ll be posting a tutorial on this soon btw!)
And much more!
So be sure to check it out – and choose your favorite ending!
Open up the cocos2d-iphone.xcodeproj, set your Active Target and Active Executable to “CocosDenshion – Tom the Turret”, compile, run, and enjoy!
After you check out the project, if you have any questions or would like anything explained, feel free to post below!
Steve Oldmeadow may be writing some notes about the audio implementation in this game on the Cocos2D forums and the Cocos2D wiki, so stay tuned there as well!
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.