Template for Creating Screen saver on Visual Studio
- Download
Screen_Saver.zip
file from releases page - Copy the archive here =>
Your User Profile/Documents/Visual Studio 20XX/Templates/ProjectTemplates
- Run Visual Studio
- Create a New Project and in template list select
Screen Saver
and click Next - Set your project name and location, then click Create
- Read the comments carefully in all source files before you modify it.
-
In Debug mode the output file is a normal
.exe
file, so you can use Visual Studio Debugger alongside with windowed Screen Saver, clickFile -> Configure
to show the configuration dialog. -
In Release mode the output file is a full screen
.scr
file, there are 3 options in this file extension if you right-click the file:- Test for running Screen Saver in fullscreen mode.
- Configure for show the Screen Saver configure dialog.
- Install for installing the Screen Saver to your system, it will show
Screen Saver Settings
dialog.
- More examples
- Use hardware accelerated rendering library like OpenGL or Direct3D
- Create .NET wrapper for a Screen Saver application (use WinForms or WPF, maybe I'll create a separated repo).