🌌Your Screensaver
This page describes how to make your own custom screensaver using Visual Studio.
Last updated
This page describes how to make your own custom screensaver using Visual Studio.
Last updated
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.
Press Create a new project
on Visual Studio homepage
Find Class Library
and double-click it
Write your screensaver name, like in our example, MyFirstScreensaver
.
Make sure that .NET 6.0
is used. Press Create
.
Right-click on Dependencies
-> Manage NuGet Packages
, find KS
, and install it.
Once the package is installed, go to the Class1.cs
source file
In your class, implement both BaseScreensaver
and IScreensaver
, ensuring that KS.Misc.Screensaver
is imported.
Override the methods and properties that start with Screensaver (ScreensaverPreparation()
and ScreensaverOutro()
are optional), just like below:
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.
Once you're done, click on Build Solution
.
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
.
Navigate to the output directory and copy the .dll
file to KSMods
under the %localappdata%/KS
folder.
Open Nitrocid KS to test your mod. Ensure that savescreen YourSaver
shows your own screensaver.