목표가 맞았을 때 점수를 만들고 싶습니다 ...어떻게 우리가 아이폰 게임에서 득점을 만들 수 있습니까?
목표에 도달 할 때마다int targetHit=0;
targerhit=targethit+1;
이제 레이블에 표시하고 싶습니다 ....
CCLabel* label2 = [CCLabel labelWithString:@"null" <-----i want to add score herer?and keep changing it ?how can i
fontName:@"Marker Felt"
fontSize:30];
label2.position = ccp(400, 295);
[self addChild:label2];