๐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.
Press
Create a new project
on Visual Studio homepageFind
Class Library
and double-click itWrite your screensaver name, like in our example,
MyFirstScreensaver
.Make sure that
.NET 6.0
is used. PressCreate
.Right-click on
Dependencies
->Manage NuGet Packages
, findKS
, and install it.Once the package is installed, go to the
Class1.cs
source fileIn your class, implement both
BaseScreensaver
andIScreensaver
, ensuring thatKS.Misc.Screensaver
is imported.Override the methods and properties that start with Screensaver (
ScreensaverPreparation()
andScreensaverOutro()
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 toKSMods
under the%localappdata%/KS
folder.Open Nitrocid KS to test your mod. Ensure that
savescreen YourSaver
shows your own screensaver.
Last updated