Sparkle 1.0.2

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

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

logo

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

grafik

🪙 Installation - Nuget

dotnet add package Sparkle --version 1.0.2

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

🌋 Graphic Engine

💡 Features

Audio Texture Model Font 3D Camera Material Overlay GUI Scene Entity Directed/Pointed Light Content Manager Config Physics

🖥️ Example

public class GameTest : Game {
    
    public GameTest(GameSettings settings, Scene scene) : base(settings, scene) {
        
        // 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.
        double 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
        this.Window.TakeScreenshot("path");
    }

    // Just runs when !Game.Headless [Support for servers!]
    protected override void Draw() {
        base.Draw();
        
        // Draw circle if "A" down and way more simple options to draw!
        if (Input.IsKeyDown(KeyboardKey.KEY_A)) {
            this.Graphics.ShapeRenderer.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 123 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.