Skip to content

Instantly share code, notes, and snippets.

@tetek
Created September 18, 2011 10:38
Show Gist options
  • Select an option

  • Save tetek/1224967 to your computer and use it in GitHub Desktop.

Select an option

Save tetek/1224967 to your computer and use it in GitHub Desktop.
loop
float maxCollisionDistance = playerImageSize*0.4 + starImageSize*0.4;
for (int i = 0; i< [stars count]; i++) {
CCSprite *star = [stars objectAtIndex:i];
if ([star numberOfRunningActions] == 0) {
continue;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment