I need to create a wave effect combined with the CCMove action. The CCJump action is very close to what I need but of course without the jumping so its smooth moving up and down until the sprite gets to its end x and y position. Below is the…
I have a class ButtonLayer with a method in it called redClick.
redClick's implementation looks like this..
-(void) redClick {
[red runAction: [CCTintTo actionWithDuration:0.1 red:200 green:200 blue:200]];
}
The variable red is a CCSprite in…
I am trying to animate my player for walking directions (like in a birds-eye-view RPG) so I have it if (joystick.velocity. y > 0){ [player runAction: walkUpAction] } of course this causes the problem of Terminating app due to uncaught exception…
I'm trying to implement a highlight animation to my sprites. The sprite should highlight to a given color and gradually reverse back to its original colors, with the following code:
- (void)highlight {
CCTintTo *tintAction = [CCTintTo…