Tag Archives: actionWithWaves

Using of CCWaves in iPhone

By | April 20, 2012

CCWaves is one of the interesting functionalities in Cocos2D iphone. Check out this following snippet to see how it works. [java] id my_wavesAction = [CCWaves actionWithWaves:7 amplitude:25 horizontal:NO vertical:YES grid:ccg(15,10) duration:10]; [my_sprite runAction: [CCRepeatForever actionWithAction:my_wavesAction n]]; [/java] Please leave your valuable comments on this post………………….