Skip to content

Instantly share code, notes, and snippets.

@tetek
tetek / gist:1224967
Created September 18, 2011 10:38
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;
}
}