- (void) flipReveal : (CCNode *) node
{
  float d = 1.0; // duration
  CCEaseExponentialIn *flipHalf = [CCEaseExponentialIn 
    actionWithAction:[CCActionTween actionWithDuration:d key:@"scaleX" from:-1.0 to:0.0]
  ];
  CCCallFuncN *showSp...
UITextView *textView = [[UITextView alloc] 
                         initWithFrame:CGRectMake(100,100, 480/2, 320/2)];
textView.backgroundColor = [UIColor clearColor];
textView.textColor = [UIColor redColor];
textView.text = @"I am First enemy&q...

EnemySprite.h

#import <Foundation/Foundation.h>
#import "cocos2d.h"

@interface EnemySprite : CCSprite {
  int healthpoint;
}
@property (readwrite) int hp;

@end

EnemySprite.m

#import "EnemySprite.h"

@implementation EnemySprite
@synthesi...
CCMenuItemImage *redButton = [CCMenuItemImage itemFromNormalImage:@"redbtn.png" selectedImage:@"redbtn_pushed.png" target:self selector:@selector(timerGo:)];
CCMenu *menu =  [CCMenu menuWithItems:redButton, nil];
menu.position = ccp(370,175);
[self a...