Need smooth animation suggestions
Need smooth animation suggestions
- Subject: Need smooth animation suggestions
- From: Larry Wilson <email@hidden>
- Date: Mon, 1 Mar 2004 22:28:43 -0800
What is the recommended way to achieve smooth animation on Cocoa? I've
tried using an NSTimer (set to fire at apx 30 fps) and notifications,
but I'm getting a bit of stutter in the drawing - particularly if I
move another application window (the animation momentarily stops or
slows).
I'm currently performing a [NSView compositeToPoint:aPoint
fromRect:aFrame operation:NSCompositeSourceOver] from an offscreen
buffer, and then setting [self setNeedsDisplay:YES];
Any suggestions?
Thanks.
-Larry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.