Animate An NSImage
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?
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| NSImage leaking? | Cirdan | 5 | 3,281 |
Nov 16, 2009 12:02 PM Last Post: SethWillits |
|
| Sending an NSImage on a Network | mindwalkernine | 1 | 2,779 |
Aug 9, 2006 04:23 AM Last Post: djork |
|
| NSImage and NSView problems | Joseph Duchesne | 1 | 3,308 |
Aug 19, 2005 07:36 AM Last Post: unknown |
|
| Faking a Z Coordinate With NSImage | Nick | 2 | 2,571 |
Jun 11, 2005 05:38 PM Last Post: Nick |
|
| Drawing: Transparent Pixels and NSImage | elhochme | 4 | 5,088 |
Jun 17, 2003 06:39 PM Last Post: elhochme |
|

