Sparkle 3.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Sparkle --version 3.0.0
NuGet\Install-Package Sparkle -Version 3.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sparkle" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sparkle --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sparkle, 3.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sparkle as a Cake Addin #addin nuget:?package=Sparkle&version=3.0.0 // Install Sparkle as a Cake Tool #tool nuget:?package=Sparkle&version=3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
โจSparkle
A fast, Cross-platform .NET 8 C# 12 game engine.
๐ช Installation - Nuget
dotnet add package Sparkle --version 3.0.0
โญ Getting Started
We trust you'll relish your time with Sparkle! To kick things off, head over to our Wiki for a seamless start.
๐ Libraries - Nuget
๐ Graphic Engine
๐ฅ๏ธ Basic Example
public class GameTest : Game {
public Texture2D Texture;
public GameTest(GameSettings settings) : base(settings) {
// Create your own config file!
JsonConfig config = new JsonConfigBuilder("config", "test")
.Add("Hello", "Hello World!")
.Add("Bye", 1000)
.Build();
Logger.Info(config.GetValue<string>("Hello"));
}
protected override void Init() {
base.Init();
// Open a url.
Window.OpenUrl("https://www.youtube.com/");
}
protected override void Load() {
base.Load();
// Load resources.
this.Texture = this.Content.Load(new TextureContent("icon.png"));
}
protected override void Draw() {
base.Draw();
// Draw circle if "A" down.
if (Input.IsKeyDown(KeyboardKey.A)) {
ShapeHelper.DrawCircle(new Vector2(50, 50), 20, Color.Blue);
}
// Draw texture if "B" down.
if (Input.IsKeyDown(KeyboardKey.B)) {
TextureHelper.Draw(this.Texture, Vector3.Zero, Color.White);
}
}
}
๐ธ Sponsors
Please consider SPONSOR me to further help development and to allow faster issue triaging and new features to be implemented.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Jitter2 (>= 2.2.0)
- Newtonsoft.Json (>= 13.0.3)
- OpenTK.Graphics (>= 5.0.0-pre.10)
- Raylib-cs (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.