๐ŸŒŒYour Screensaver

This page describes how to make your own custom screensaver using Visual Studio.

You're looking to create a screensaver for Nitrocid KS! That's great! Make sure that you have Visual Studio installed. Follow the steps to create your first screensaver.

  1. Press Create a new project on Visual Studio homepage

  2. Find Class Library and double-click it

  3. Write your screensaver name, like in our example, MyFirstScreensaver.

  4. Make sure that .NET 6.0 is used. Press Create.

  5. Right-click on Dependencies -> Manage NuGet Packages, find KS, and install it.

  6. Once the package is installed, go to the Class1.cs source file

  7. In your class, implement both BaseScreensaver and IScreensaver, ensuring that KS.Misc.Screensaver is imported.

  8. Override the methods and properties that start with Screensaver (ScreensaverPreparation() and ScreensaverOutro() are optional), just like below:

  9. Once you have all the required methods and properties overridden like below, you can start working on your state-of-the-art screensaver using the available console tools.

  10. Once you're done, click on Build Solution.

  11. Once the solution is built, open the file explorer to the solution directory by right-clicking on the solution and selecting Open Folder in File Explorer.

  12. Navigate to the output directory and copy the .dll file to KSMods under the %localappdata%/KS folder.

  13. Open Nitrocid KS to test your mod. Ensure that savescreen YourSaver shows your own screensaver.

Last updated