O'Reilly logo

Cocos2d Cross-Platform Game Development Cookbook - Second Edition by Siddharth Shekar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Effects

The topics covered in this chapter are as follows:

  • CCEffects
  • Adding the glass effect
  • Adding the motion streak effect
  • Adding the particle effect
  • Adding 2D lighting

Introduction

In Cocos2d, it is really easy to create awesome-looking games mainly because you can add effects such as motion streak and particles without much hassle. On top of this, Cocos2d also includes some basic effects that are built in and would be very hard to create otherwise using shaders.

Although this book doesn't cover shaders, it is a good starting point to understand what all is possible with shaders, which is virtually endless.

In this chapter, we will look at the basic effects that come with Cocos2d. We will also discuss how to add special effects such as motion ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required