Novolis.Rendering.TwoD 2026.1.1.72

dotnet add package Novolis.Rendering.TwoD --version 2026.1.1.72
                    
NuGet\Install-Package Novolis.Rendering.TwoD -Version 2026.1.1.72
                    
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.72" />
                    
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.72" />
                    
Directory.Packages.props
<PackageReference Include="Novolis.Rendering.TwoD" />
                    
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 Novolis.Rendering.TwoD --version 2026.1.1.72
                    
#r "nuget: Novolis.Rendering.TwoD, 2026.1.1.72"
                    
#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.72
                    
#: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.72
                    
Install as a Cake Addin
#tool nuget:?package=Novolis.Rendering.TwoD&version=2026.1.1.72
                    
Install as a Cake Tool

Novolis

Novolis · Docs · Source

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 with a backend:

using Novolis.Rendering.Backends.TwoD.Silk;

SilkTwoDGame.Run("Platformer", 800, 600, ctx =>
{
    ctx.Scene.Update(ctx.DeltaSeconds);
    ctx.Renderer.DrawScene(ctx.Scene);
});

Packages

Package Role
Novolis.Rendering.TwoD Scene, collision, HUD, menus
Novolis.Rendering.Backends.TwoD.Silk Silk.NET OpenGL renderer + game loop

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 Vector3 on 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 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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Novolis.Rendering.TwoD:

Package Downloads
Novolis.Avalonia.Rendering

Avalonia hosts for Novolis.Rendering.TwoD (OpenGL) and CPU RGBA frames.

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.72 0 10/4/2026
2026.1.1.71 109 10/1/2026
2026.1.1.70 86 9/30/2026