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
<PackageReference Include="BorrowedTorch.Engine" Version="1.1.3" />
<PackageVersion Include="BorrowedTorch.Engine" Version="1.1.3" />
<PackageReference Include="BorrowedTorch.Engine" />
paket add BorrowedTorch.Engine --version 1.1.3
#r "nuget: BorrowedTorch.Engine, 1.1.3"
#:package BorrowedTorch.Engine@1.1.3
#addin nuget:?package=BorrowedTorch.Engine&version=1.1.3
#tool nuget:?package=BorrowedTorch.Engine&version=1.1.3
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows10.0.19041 is compatible. |
-
net10.0-windows10.0.19041
- BorrowedTorch.Animations (>= 1.1.0)
- BorrowedTorch.Camera (>= 2.4.0)
- BorrowedTorch.Drivers (>= 1.2.0)
- BorrowedTorch.ECS (>= 1.2.0)
- BorrowedTorch.FrameRateCounter (>= 3.0.1)
- BorrowedTorch.InputBinder (>= 2.0.1)
- BorrowedTorch.MonoGame.Framework.Compute.WindowsDX (>= 3.8.6.101)
- BorrowedTorch.MonoInput (>= 2.1.0)
- BorrowedTorch.Nature (>= 0.11.2)
- BorrowedTorch.Ormh (>= 1.0.0)
- BorrowedTorch.Persistency (>= 1.1.0)
- BorrowedTorch.Randomness (>= 1.4.0)
- BorrowedTorch.RayTracing (>= 1.7.0)
- BorrowedTorch.ShapingFunctions (>= 1.6.1)
- BorrowedTorch.UI (>= 2.5.1)
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.