In this small post I will demonstrate that how easily you can create a rolling ball of fire in Cocos2d framework with the use of particle effects.

Implementation:

Let's first create the level without the ball of fire. This means we will use regular images to represent the ball. We are using SpaceManager for the physics framework. If you are new to the SpaceManager framework then check out this link. The implementation is shown below:
 


The result will be following:



Now, let's add the code for the CCParticleSun.



And the effect is shown below:



NOTE: The fire.png file is part of the Cocos2d download.

Go and have fun with it and I hope you use it in your new app!! :)