Book Image

Mastering Cocos2d Game Development

By : Alex Ogorek
Book Image

Mastering Cocos2d Game Development

By: Alex Ogorek

Overview of this book

Table of Contents (15 chapters)
Mastering Cocos2d Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Prerequisites


Make sure you've copied the sound files to your project. If they aren't there, no matter how many times you try to preload, unload, play, or loop, the sound files simply won't play. Unlike the sprite sheets used with TexturePacker and the BMFonts created with Glyph Designer, it's best to drag the sound files into your project and have the Copy items if needed checkbox checked, as shown in the following screenshot. This will ensure that the files are in your project until you decide to delete them.