Skip to main content
gamedev.net
🔒 Locked

Screen saver programming?

Started by blueshogun96 Apr 8, 2006 at 10:50 AM 2 replies 500+ views
Original Post
blueshogun96
blueshogun96
Hey. Lately, I've been wanting to code some screensavers for friends and family. I saw the tutorial on nehe's website and it makes sense, but how do you set up your visual studio project in order to compile for a screensaver (*.scr)? Thanks.
Kambiz
Kambiz
Just rename the .exe to .scr when you want to use it as an screensaver.
Or you can do this: click on Project - Properties – Linker – General and set Output file to $(OutDir)\$(ProjectName).scr
Windows will start your screen saver with one of these command line options:
/c Show the options dialog
/p Show the preview
/s Show screensaver form
blueshogun96
blueshogun96
Oh, didn't know it was so easy, thanks
Colin Jeanne
Colin Jeanne
Here are some more instructions on how to create a screensaver for Windows using C++.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.