As we are building a two-player game, let's take a quick look at how we build the Heads-Up Display to provide feedback to the players:
Filename: OPPlayfieldLayer.mm
-(void) createPlayerScores { CCLabelTTF *player1 = [CCLabelTTF labelWithString:@"P1" fontName:@"Verdana" fontSize:14]; [player1 setPosition:ccp(20,460)]; [self addChild:player1]; CCLabelTTF *player2 = [CCLabelTTF labelWithString:@"P2" fontName:@"Verdana" fontSize:14]; [player2 setPosition:ccp(300,460)]; [self addChild:player2]; player1TargetLbl = [CCLabelTTF labelWithString:@" " fontName:@"Verdana" fontSize:8]; [player1TargetLbl setPosition:ccp(20,440)]; [self addChild:player1TargetLbl z:2]; player2TargetLbl = [CCLabelTTF labelWithString...