Book Image

Learning Cocos2d-JS Game Development

By : Emanuele Feronato
Book Image

Learning Cocos2d-JS Game Development

By: Emanuele Feronato

Overview of this book

Table of Contents (18 chapters)
Learning Cocos2d-JS Game Development
Credits
Foreword
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
9
Creating Your Own Blockbuster Game – A Complete Match 3 Game
Index

Chapter 5. Become a Musical Maestro

Although you might think the games you created while reading this book are complete, they lack some kind of atmosphere due to a simple reason: they are mute.

No sounds, no background music, nothing. A complete, fully polished game must have background music and sound effects, and that's what you are going to learn in this chapter.

Follow me, and you will be able to:

  • Add sound effects to your games

  • Add background music to your games

  • Loop sounds

  • Start and stop sounds

  • Changing the volume of music and sound effects

Also, just because the more you learn the better it is, you will also see how to create option menus.

Now, surf the Web and choose some great music and sound effects.