BorrowedTorch.Engine 1.1.3

Prefix Reserved
dotnet add package BorrowedTorch.Engine --version 1.1.3
                    
NuGet\Install-Package BorrowedTorch.Engine -Version 1.1.3
                    
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="BorrowedTorch.Engine" Version="1.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BorrowedTorch.Engine" Version="1.1.3" />
                    
Directory.Packages.props
<PackageReference Include="BorrowedTorch.Engine" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BorrowedTorch.Engine --version 1.1.3
                    
#r "nuget: BorrowedTorch.Engine, 1.1.3"
                    
#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.
#:package BorrowedTorch.Engine@1.1.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BorrowedTorch.Engine&version=1.1.3
                    
Install as a Cake Addin
#tool nuget:?package=BorrowedTorch.Engine&version=1.1.3
                    
Install as a Cake Tool

BorrowedTorch.Engine

Kindling, Borrowed Torch's game engine, for a game's own code to build against. A game's code is a class library in its project's Code folder: the Kindling editor and player load it and run its features with the engine's own.

A feature registers what it adds, the way the engine's own features do:

using BorrowedTorch.ECS.Components.Base;
using BorrowedTorch.Engine.Features;

public struct SpinComponent : IComponent
{
    public float DegreesPerSecond;
}

public sealed class MyGameFeature : IEngineFeature
{
    public string Id => "MyGame";

    public void Register(EngineFeatureBuilder builder)
    {
        builder.Components.Add<SpinComponent>();

        builder.Update.Step("myGame.spin", UpdateStage.Animate, services => frame =>
        {
            // ...while frame.PlayState is PlayState.Playing
        });

        builder.Ui.Handler("StartGame", services => e => { /* a button's OnClick="StartGame" */ });
    }
}

Reference this package at the version of the editor you run (ExcludeAssets="runtime": the editor and the player bring the engine themselves). The editor's File > New game code writes such a project for you.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on BorrowedTorch.Engine:

Package Downloads
BorrowedTorch.Editor

Kindling, Borrowed Torch's game engine: the editor SDK a game's editor code builds against - its features adding inspectors, panels, tools, menus, surface-graph nodes, viewport modes and overlays to the Kindling editor

BorrowedTorch.Engine.AdditionalFeatures

Kindling, Borrowed Torch's game engine: its additional features - sound, post effects, vegetation, fabric, sprites, collisions and culling - for a game's own code to build against beside the engine

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.3 51 11/21/2026
1.1.2 49 11/21/2026
1.1.1 64 11/17/2026
1.1.0 64 11/17/2026