SplashKit is a beginner-friendly, open-source Software Development Kit (SDK) with a comprehensive library of functions and tools designed for beginner programmers to develop games and applications. SplashKit provides fundamental capabilities for handling graphics, input, audio, networking, and more, making it an ideal toolkit for introductory programming projects and game development.
$ dotnet add package SplashKitSplashKit is a software development library designed to empower beginner programmers. It provides a range of methods and classes to help create interactive graphical programs, without taking any control away from the programmer.
To use this package you must install the skm tool from splashkit.io, and globally install the native library.
skm global install
The SplashKit NuGet package provides a .NET Standard library for creating 2D games and applications using the SplashKit framework. SplashKit is a free and open-source game development library that simplifies the process of building games and interactive applications.
To use the SplashKit NuGet package in your .NET project, follow these steps:
Install the Package: You can install the SplashKit NuGet package using the NuGet Package Manager in Visual Studio or by running the following command in the Package Manager Console:
dotnet add package SplashKit
Import the Namespace: In your C# code, add the following using statement to access the SplashKit classes and methods:
With Object Oriented Code:
using SplashKitSDK;
Using Top-level statements:
using static SplashKitSDK.SplashKit;
Create a SplashKit Window: To start using SplashKit, you'll need to create a window for your application. Here's an example:
With Object Oriented Code:
using SplashKitSDK;
public static void Main()
{
Window window = new Window("My SplashKit App", 800, 600);
// Your game or application code goes here
window.Close();
}
Using Top-level statements:
using SplashKitSDK;
using static SplashKitSDK.SplashKit;
Window window = OpenWindow("My SplashKit App", 800, 600);
// Your game or application code goes here
CloseWindow(window);
Explore the Documentation: The SplashKit documentation provides detailed information about the available classes, methods, and features. You can find the API documentation on the SplashKit website, which includes many examples to help demonstrated functionality.
If you'd like to contribute to the SplashKit library, please visit the SplashKit GitHub repository and follow the contribution guidelines.