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 102 7/9/2024
4.0.0 71 7/7/2024
3.0.2 92 3/14/2024
3.0.1 67 3/14/2024
3.0.0 83 3/12/2024
2.2.0 95 2/11/2024
2.1.0 164 11/13/2023
2.0.1 110 10/26/2023
2.0.0 108 10/7/2023
1.0.2 123 7/18/2023
1.0.1 103 6/18/2023
1.0.0 141 6/10/2023 1.0.0 is deprecated.