Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > anyone experienced in .saver developement?

anyone experienced in .saver developement?
Thread Tools
Mac Enthusiast
Join Date: Sep 2000
Status: Offline
Reply With Quote
Apr 17, 2001, 06:07 PM
 
I would really like to port a lot of the old Setting Sun 'faders' to OS X .savers -- but I don't have the first idea of how to do it... I haven't yet even talked to Purple Shark Software, so who knows...
Even Einstein feared the power of "spooky action at a distance"
     
Dedicated MacNNer
Join Date: Nov 2000
Location: Glasgow
Status: Offline
Reply With Quote
Apr 18, 2001, 05:29 AM
 
Writing screensavers is really easy in OSX. Go to http://www.epicware.com and dlownload the source for some of the savers there.

It's basically a case of subclassing ScreensaverView and overriding a few methods. You can read up the docs on the developer CD, but it's kind of like:

-(void)startAnimation; // called at the start
-(void)animateOneFrame; // Called repeatedly to animate.

You can also override drawRect instead of animateOneFrame.

HTH,
Fraser
PowerBook G4 17"
Power Mac G4/800, 1Gb RAM, 80Gb HDD, Superdrive, GeForce 4MX, Gateway 21" CRT, Apple Pro Speakers, iSub - Running Mac OS X Server 10.2
iBook 500, 192MbRAM - Running Mac OS X 10.2
iPod 5Gb
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:20 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2