SplashkitTest 1.0.2
dotnet add package SplashkitTest --version 1.0.2
NuGet\Install-Package SplashkitTest -Version 1.0.2
<PackageReference Include="SplashkitTest" Version="1.0.2" />
<PackageVersion Include="SplashkitTest" Version="1.0.2" />
<PackageReference Include="SplashkitTest" />
paket add SplashkitTest --version 1.0.2
#r "nuget: SplashkitTest, 1.0.2"
#:package SplashkitTest@1.0.2
#addin nuget:?package=SplashkitTest&version=1.0.2
#tool nuget:?package=SplashkitTest&version=1.0.2
Splashkit NuGet Package
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.
Features
- 2D Graphics: Draw shapes, images, and text to the screen with ease.
- Input Handling: Respond to keyboard, mouse, and touch input.
- Audio: Play sounds and music in your applications.
- Networking: Communicate with other clients and servers over the network.
- File I/O: Load and save data to files.
- Math Utilities: Perform common mathematical operations.
- Timers and Scheduling: Schedule events and manage game time.
Getting Started
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:
Install-Package SplashkitImport the Namespace: In your C# code, add the following using statement to access the Splashkit classes and methods:
using Splashkit;Create a Splashkit Window: To start using Splashkit, you'll need to create a window for your application. Here's an example:
void Main() { OpenWindow("My Splashkit App", 800, 600); // Your game or application code goes here CloseWindow(); }Explore the Documentation: The Splashkit documentation provides detailed information about the available classes, methods, and features. You can find the documentation on the Splashkit website.
Examples
Here are a few examples of how you can use the Splashkit NuGet package:
Drawing a Circle
void Main()
{
OpenWindow("Drawing a Circle", 800, 600);
DrawCircle(Color.Blue(), 400, 300, 50);
WaitUntilKeyPressed();
CloseWindow();
}
Playing a Sound
void Main()
{
OpenWindow("Playing a Sound", 800, 600);
LoadSound("coin", "coin.wav");
PlaySound("coin");
WaitUntilKeyPressed();
CloseWindow();
}
Responding to Mouse Input
void Main()
{
OpenWindow("Mouse Input", 800, 600);
while (!WindowCloseRequested())
{
if (MouseClicked(MouseButton.LeftButton()))
{
int x, y;
ReadMousePosition(out x, out y);
DrawCircle(Color.Red(), x, y, 20);
}
RefreshWindow();
}
CloseWindow();
}
Contributing
If you'd like to contribute to the Splashkit NuGet package, please visit the Splashkit GitHub repository and follow the contribution guidelines.
License
The Splashkit NuGet package is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.