Hey guys,
What is the primary difference between each of the different Director Types? I know there are 4 of them:
CCTimerDirector - Uses an NSTimer
CCDisplayLinkDirector - Uses CADisplayLink
CCFastDirector - Uses NSInvocation
CCThreadedFastDirector - Uses NSThread
What is the best use for each one of them? From playing around I discovered:
CCTimerDirector works best with UIView elements like UIScrollView with a small modification to CCDirector.m, though it's a little slow.
CCDisplayLinkDirector uses CADisplayLink which is recommended by Apple for OS 3.1+ devices as it's the fastest, though it freezes with UIScrollView elements.
The CCFastDirector works with UIScrollView elements except it breaks the momentum scroll,
And lastly the CCThreadedFastDirector is in between the timer director and display link in terms of performance, with native support for UIScrollView elements.
Which is best for what, and which should be avoided altogether? I'm only testing on a Simulator now, so I can't exactly see if the results translate to a device.
-robodude666