Thursday, August 23, 2012

Sin Blast Pooler Class

This is a demo of a sin-wave based particle effect I coded. In order to code this effect I made a "sinParticle" class and then a compound particle effect class called "sinBlast". I then made a pooling class that holds "sinBlast" instances so that their instantiation is easy to implement and efficient on memory and processing power. NOTE: You need to wait about 3 seconds before clicking as the screen needs to get ready. I'll work on fixing this glitch later.

No comments:

Post a Comment