Moving on the screen
Moving on the screen
- Subject: Moving on the screen
- From: Mike Wood <email@hidden>
- Date: Sat, 19 Apr 2003 17:56:15 -0700
Hi, I am developing my first cocoa application, where a small
image/character can wander around your screen. I have a design problem that
I would like to solve. I have been able to create the image in an NSWindow,
and use an NSTimer to call a method to move the window on the screen. This
has been very processor intensive to animate this way.
I have also tried experimenting with making a the window the size of the
screen, and animate objects inside the NSView using NSAffineTransform (but I
haven't had any luck with this). Would anybody be able to help me down the
right path to write an application like this, where I can move an image
freely around the screen?
Thanks very much in advance.
Mike.
_______________________________________________
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.