Kindling engine
Packages
Parts of Kindling are already on NuGet as standalone libraries you can use in your own projects. Each card lists what the package needs.
Core
BorrowedTorch.ECS
A small, dependency-free entity component system. Generational entity handles, sparse-set component stores, by-reference queries over one to three component types, and type-erased access for editors and tools.
.NET 8+ · no dependencies
BorrowedTorch.Math
Small maths helpers for System.Numerics — tolerance-aware comparisons, clamping, angle conversion, inverse lerp and remap, frame-rate-independent damping, and a safe LookRotation.
.NET 10 · no dependencies
BorrowedTorch.ShapingFunctions
44 shaping (easing) functions for animation, interpolation and signal shaping, with tunable parameters, a browsable catalogue for picker UIs, and IDs that are safe to save.
.NET 10
Rendering & simulation
BorrowedTorch.RayTracing
GPU and CPU ray casting for MonoGame — a binned-SAH BVH with per-mesh and per-scene acceleration structures, GPU upload, stackless any-hit traversal in HLSL, and the depth / normal G-buffer that traced passes start from.
Windows · MonoGame compute fork
BorrowedTorch.FabricSimulator
GPU cloth solver for MonoGame. A compute shader integrates particles, relaxes constraints and builds normals with positions kept on the GPU; supports colliders, self-collision, tearing and wind. Solver only — you render the cloth.
Windows · MonoGame compute fork
Textures
BorrowedTorch.Ormh
Packs ambient occlusion, roughness, metallic and height into one RGBA texture — the .ormh descriptor format and the packer, with no image decoder of its own. Bring yours; the content pipeline extension and the ORMH Converter pack the same bytes with it.
.NET 8+ · no dependencies
BorrowedTorch.ContentPipeline
MonoGame content pipeline extension that builds ORMH textures from the separate maps an .ormh descriptor names, through the stock texture processor for mipmaps and compression. Hands mgcb its reference on every build, so Content.mgcb needs no line for it.
MonoGame 3.8.3+ content builder · development dependency
Camera & editor tools
BorrowedTorch.Camera
Cameras for MonoGame — quaternion orientation, mouse-picking rays and a floating origin for large worlds; free-flight and path-following controllers; Catmull-Rom camera paths with constant-speed travel, eased stops and holds at waypoints, and a path visualiser.
Windows · MonoGame compute fork
BorrowedTorch.TransformGizmo
A screen-sized move / rotate / scale gizmo with drawing, picking and dragging. Per-target flags choose the modes offered and world or local space; works with any object that exposes its pose.
Windows · MonoGame compute fork
BorrowedTorch.SceneGizmo
A small X / Y / Z orientation widget pinned to a screen corner. It turns with the camera, highlights an axis on hover and lets you click an axis to snap the view.
Windows · MonoGame compute fork
UI
BorrowedTorch.UI
UI framework for MonoGame — WPF-style measure and arrange layout, dependency properties set by hand, by styles or bound to view models, and ready-made controls from buttons and sliders to tree views, windows and rich text boxes, all drawn with one SpriteBatch.
Windows 10 · .NET 10 · MonoGame DesktopGL or WindowsDX
BorrowedTorch.UI.Markup
Builds BorrowedTorch.UI element trees from XML markup — elements by type name, properties as attributes, items and content as child elements, events by handler name, bindings to a view model, style dictionaries, files included in others, animations in steps started on load or by an element's event, and where each element is written — for UI written as data, loaded at run time or edited live in a tool.
Windows 10 · .NET 10 · BorrowedTorch.UI 2.2.0+
BorrowedTorch.UIDPGenerator
Build tool that generates BorrowedTorch.UI dependency properties and style classes from .dpg files before every build.
.NET 10 SDK
Input
BorrowedTorch.MonoInput
One API for keyboard, mouse, gamepad and MIDI in MonoGame, with a pressed / down / up state for every input, per-frame deltas, gamepad vibration and change events.
Windows 10 · .NET 10 · MonoGame 3.8.1+
BorrowedTorch.InputBinder
Binds inputs to game actions — buttons, one-axis and two-axis actions with several bindings each, player rebinding with conflict handling, and modifier keys.
.NET 8+ · no dependencies
Audio & localisation
BorrowedTorch.Audio
Audio manager with 3D positional sound and HRTF, distance attenuation, air absorption and Doppler, per-emitter effect chains, a shared reverb bus, and WAV / Ogg playback from memory or disk.
Windows · .NET 10
BorrowedTorch.LocalizationManager
Simple, efficient switching between languages. Reads the folders produced by Borrowed Torch Localization Helper and returns translated text by string ID.
.NET 10 · no dependencies
Procedural generation
BorrowedTorch.Randomness
Seeded random streams and noise that give the same numbers on every platform and .NET version — PCG32 with forkable sub-streams, stable string hashing, and 2D gradient and fractal noise, so a world seed always rebuilds the same world.
.NET 8+ · no dependencies
BorrowedTorch.Architecture
Procedural level architecture for grid and tile games — footprint masks, layouts whose edges are walls, openings or doors, a seeded maze generator with distance and dead-end queries, and tilers for thick- or thin-wall tile maps.
.NET 8+ · BorrowedTorch.Randomness
Utilities
BorrowedTorch.Capabilities
What the machine a game runs on offers — its video cards with memory and vendor, the one the game draws with and Windows' per-app graphics preference to pick another, and its displays with bounds, scale, exact refresh rate and every resolution each supports. For a settings screen, and for the game's start.
Windows 10 · .NET 10 · no dependencies
BorrowedTorch.FrameRateCounter
A simple FPS counter that also tracks frame time and the worst frame in the window, to expose stutters an average would hide.
.NET Standard 2.0 · no dependencies