Learn to create robust and engaging cross-platform HTML5 games using Cocos2D-JS
Without any dreary theory, which often discourages technical book readers, each chapter will guide you through the creation of different games, each packed with new and exciting features.
You will begin by learning the basics of a cross-platform game. You'll also learn to animate, rotate, scroll, and tween sprites. You will learn to make your game more enticing by adding your own special touch using features such as music, sound effects, and physics. You'll also learn to protect, sitelock, export, and publish the games you have created. By the end of the book, you'll have created a complete cross-platform game right from scratch, featuring leader boards and third-party adverts, complete with the final polish every game should require.
What You Will Learn
Discover the basics behind each game genre, from endless runners to puzzles, and from physics games to match games
Target different resolutions, screen sizes, screen ratios, and deal with landscape and portrait screens
Place and move sprites on the screen, using scrolling and tweening for smooth movements
Enhance your game by adding sound effects and background music
Create physics-driven games with unmatched realism
Create and destroy bodies with a single touch while managing forces, collisions, and gravity
Improve your game's visual appeal by adding particles to generate explosions, fire trails, and other appealing effects
Manage resources and save memory by packing all your graphic assets in a single file
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.