Forums › Programming › Programming – Everything else › CCCallFunc …
This topic contains 0 replies, has 1 voice, and was last updated by icanzilb 3 years, 3 months ago.
I have an action which is running once on a sprite :
id flyUp = [CCSpawn actions:
[CCScaleTo actionWithDuration:0.9 scale:1],
[CCRotateBy actionWithDuration: 0.9 angle: 360],
[CCMoveTo actionWithDuration:0.9 position:ballHighPoint],
id flyUpSeq = [CCSequence actions:
[CCCallFunc actionWithTarget:self selector:@selector(oponentServed)],
However when I have a breakpoint inside the “oponentServed” – it executes constantly. Correct me if wrong but CCallFunc executes the selector once right?
You must be logged in to reply to this topic.
Social Widgets powered by AB-WebLog.com.