Simple “Lightning effect” Demo

This demo shows how to use the OpenGL ES to implement a cool lightning effect.

The origin post is found in cocos2d’s forum here:

Thanks to “mobilebros” and their great “Lightning class”.

I made a little change to the source code so that I can set all the strike point of the lighting effect.

Here is the screen snap:

To Download Page…


If you feel all the stuffs in this site helped you a lot and you would buy me a beer 🙂

Or get a game I made 🙂