mindwalkernine
2006.06.17, 10:51 PM
I want to animate an NSImage. I want to increase its size and decrease it's size in an NSView. I also want to move the image left to right.
Lets say I want a black background with a white ball moving across the NSView.
To give the illusion of movement, should I:
1. paint the background.
2. paint the ball in the new position.
3. repeat for all movements.
Is that a good way to do it, or is there a better way?
Lets say I want a black background with a white ball moving across the NSView.
To give the illusion of movement, should I:
1. paint the background.
2. paint the ball in the new position.
3. repeat for all movements.
Is that a good way to do it, or is there a better way?