Novolis.Rendering.TwoD
2026.1.1.76
dotnet add package Novolis.Rendering.TwoD --version 2026.1.1.76
NuGet\Install-Package Novolis.Rendering.TwoD -Version 2026.1.1.76
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="Novolis.Rendering.TwoD" Version="2026.1.1.76" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.Rendering.TwoD" Version="2026.1.1.76" />
<PackageReference Include="Novolis.Rendering.TwoD" />
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 Novolis.Rendering.TwoD --version 2026.1.1.76
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Novolis.Rendering.TwoD, 2026.1.1.76"
#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 Novolis.Rendering.TwoD@2026.1.1.76
#: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=Novolis.Rendering.TwoD&version=2026.1.1.76
#tool nuget:?package=Novolis.Rendering.TwoD&version=2026.1.1.76
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Novolis.Rendering.TwoD
Host-neutral 2D scene model for orthographic platformers (Mario-style): backgrounds, sprite animation, static polygons with colliders, HUD, and menus.
Install
dotnet add package Novolis.Rendering.TwoD
Prerequisites: .NET 10 SDK (net10.0).
Quick start
var scene = new TwoDScene();
var texture = scene.Textures.Register(pixels, width, height, "hero.png");
var sheet = TwoDScenePrimitives.CreateSpriteSheet(scene, texture, 32, 32);
var run = TwoDAnimationClip.FromRow(sheet, row: 0, startColumn: 0, count: 4);
scene.AnimatedSprites.Add(new TwoDAnimatedSprite { Clip = run, Transform = { Position = Vector3PlanarExtensions.Xz(4, 2) } });
scene.AddPlatform(0, 0, 20, 1, Rgba32.Chartreuse);
scene.Hud.AddText("MARIO 000000", screenX: 16, screenY: 16);
scene.Menus.Push(new TwoDMenuScreen("SUPER NOVOLIS", [
new TwoDMenuItem("1 PLAYER", tag: "start"),
new TwoDMenuItem("OPTIONS", tag: "options"),
]));
Draw by tessellating into Math and submitting through a Silk host:
using Novolis.Rendering.TwoD;
using Novolis.Silk;
var scene = new TwoDScene();
SilkGame.Run("Platformer", 800, 600, frame =>
{
scene.Update(frame.DeltaSeconds);
frame.Submit(scene.Tessellate(frame.Width, frame.Height));
});
Packages
| Package | Role |
|---|---|
Novolis.Rendering.TwoD |
Scene, collision, HUD, menus, tessellate to PlanarDrawList |
Novolis.Silk |
GLFW / OpenGL host (Submit / Blit) — compose in apps and labs |
In-memory layered grids (tests / debug)
Rasterize a scene to per-layer DenseGrid<Rgba32> without a GPU:
var grids = scene.ToLayeredGrids(TwoDGridRasterOptions.WorldCells(
cellSize: 1f,
worldBounds: new TwoDWorldBounds(0f, 0f, 40f, 40f)));
var ascii = grids.ToAscii(TwoDDrawLayer.World);
var merged = grids.CompositedToAscii();
| Mode | Cell meaning |
|---|---|
WorldCells |
One cell per world XZ slab (CellSize world units) |
ScreenPixels |
One cell per framebuffer pixel |
Layers: Background, World, Foreground, Hud, Menu, plus Composited in draw order.
Conventions
- World space uses BCL
Vector3on the XZ plane (Y = 0). - Screen-space HUD/menu uses pixel coordinates (origin top-left).
- Textures are registered in
TwoDTextureRegistry; PNG loading is provided by the Silk backend.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Novolis.Math.Arrays (>= 2026.1.1.57)
- Novolis.Math.Geometry (>= 2026.1.1.57)
- Novolis.Math.Topology (>= 2026.1.1.57)
- StbImageSharp (>= 2.30.16)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Novolis.Rendering.TwoD:
| Package | Downloads |
|---|---|
|
Novolis.Rendering.Backends.TwoD.Silk
Silk.NET OpenGL backend for Novolis.Rendering.TwoD. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.1.76 | 108 | 10/6/2026 |
| 2026.1.1.75 | 161 | 10/5/2026 |
| 2026.1.1.74 | 87 | 10/5/2026 |
| 2026.1.1.73 | 103 | 10/5/2026 |
| 2026.1.1.72 | 296 | 10/4/2026 |
| 2026.1.1.71 | 433 | 10/1/2026 |
| 2026.1.1.70 | 195 | 9/30/2026 |