Sparkle 4.0.1

dotnet add package Sparkle --version 4.0.1                
NuGet\Install-Package Sparkle -Version 4.0.1                
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="4.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sparkle --version 4.0.1                
#r "nuget: Sparkle, 4.0.1"                
#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=4.0.1

// Install Sparkle as a Cake Tool
#tool nuget:?package=Sparkle&version=4.0.1                

logo

✨Sparkle

A fast, Cross-platform .NET 8 C# 12 game engine.

grafik

🪙 Installation - Nuget

dotnet add package Sparkle --version 4.0.1

⭐ 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

💻 Platforms

  • Windows Using OpenGL-4.3
  • Linux Using OpenGL-4.3
  • Mac Using OpenGL-3.3

✉️ Reach us

🖥️ 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 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.1 121 7/9/2024
4.0.0 78 7/7/2024
3.0.2 98 3/14/2024
3.0.1 71 3/14/2024
3.0.0 87 3/12/2024
2.2.0 103 2/11/2024
2.1.0 171 11/13/2023
2.0.1 115 10/26/2023
2.0.0 113 10/7/2023
1.0.2 129 7/18/2023
1.0.1 109 6/18/2023
1.0.0 150 6/10/2023 1.0.0 is deprecated.