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:

http://www.cocos2d-iphone.org/forum/topic/370

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:

1 2 3 4 5

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 :)


☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆



This entry was posted in cocos2d, Develop, Simple Demo. Bookmark the permalink.

3 Responses to Simple “Lightning effect” Demo

  1. sal says:

    hey what plugin do you use for the wp share list container. the thing with the social icons that hover scroll above “This entry was posted in cocos2d, Develop, Simple Demo. Bookmark the permalink” . By the way i can only access the downloads page through a post would be good if you added a link on the menu. thx

  2. Pingback: Computer Programming: How can you use lighting in Cocos2D? - Quora

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>