Sparkle 2.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sparkle --version 2.1.0                
NuGet\Install-Package Sparkle -Version 2.1.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="2.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sparkle --version 2.1.0                
#r "nuget: Sparkle, 2.1.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=2.1.0

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

logo

A fast, Cross-platform .NET 7 C# 11 game engine

grafik

🪙 Installation - Nuget

dotnet add package Sparkle --version 2.1.0

📚 Libraries (https://www.nuget.org/packages)

🌋 Graphic Engine

💡 Features

OpenGL Angle Game Engine Renderer Graphics C#11 Net7 dotnet Modern Sparkle 2D 3D Raylib Fast Physics XNA Cross-platform Audio

🖥️ Example

public class GameTest : Game {
    
    public GameTest(GameSettings settings) : base(settings) {
        
        // Create your own config file!
        Config config = new ConfigBuilder("config", "test")
            .Add("Hello", "Hello World!")
            .Add("Bye", 1000)
            .Build();

        Logger.Info(config.GetValue<string>("Hello"));
    }

    protected override void Init() {
        base.Init();
        
        // Simple logger.
        Logger.Debug("Debug text!");
        Logger.Info("Info text!");
        Logger.Warn("Warn text!");
        Logger.Error("Error text!");

        // Simple time.
        float deltaTime = Time.DeltaTime;
        double totalTime = Time.TotalTime;
        
        // Stop the time!
        Time.WaitTime(10);

        // Load resources.
        Texture2D texture = this.Content.Load<Texture2D>("icon.png");
        
        // Create your own Scene.
        SceneManager.SetScene(new TestScene("earth"));
        
        // Open a url.
        this.OpenURL("https://www.youtube.com/");
        
        // Take a screenshot
        Window.TakeScreenshot("path");
    }

    protected override void Draw() {
        base.Draw();
        
        // Draw circle if "A" down and way more simple options to draw!
        if (Input.IsKeyDown(KeyboardKey.KEY_A)) {
            ShapeHelper.DrawCircle(new Vector2(50, 50), 20, Color.BLUE);
        }
    }
}

💸 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 net7.0 is compatible.  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. 
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 115 7/9/2024
4.0.0 75 7/7/2024
3.0.2 97 3/14/2024
3.0.1 71 3/14/2024
3.0.0 87 3/12/2024
2.2.0 99 2/11/2024
2.1.0 169 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.