Novolis.Avalonia.Gaming 2026.1.6.230

dotnet add package Novolis.Avalonia.Gaming --version 2026.1.6.230
                    
NuGet\Install-Package Novolis.Avalonia.Gaming -Version 2026.1.6.230
                    
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.Avalonia.Gaming" Version="2026.1.6.230" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.Avalonia.Gaming" Version="2026.1.6.230" />
                    
Directory.Packages.props
<PackageReference Include="Novolis.Avalonia.Gaming" />
                    
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.Avalonia.Gaming --version 2026.1.6.230
                    
#r "nuget: Novolis.Avalonia.Gaming, 2026.1.6.230"
                    
#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.Avalonia.Gaming@2026.1.6.230
                    
#: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.Avalonia.Gaming&version=2026.1.6.230
                    
Install as a Cake Addin
#tool nuget:?package=Novolis.Avalonia.Gaming&version=2026.1.6.230
                    
Install as a Cake Tool

Novolis

Novolis · Docs · Source

Novolis.Avalonia.Gaming

Avalonia game shell for menus and HUD over Silk / TwoD rendering (code-only, no XAML).

Use this when interactive UI (pause, encyclopedia, options, status strips) must sit above a GL viewport instead of being drawn into TwoDScene sprites.

Install

dotnet add package Novolis.Avalonia.Gaming

Prerequisites: Avalonia 12+, .NET 10. Novolis.Avalonia.Rendering (and thus Novolis.Rendering.TwoD + Silk).

Local multi-repo iteration before GPR has the new build — keep the PackageReference and use ProjectReference mode:

pwsh -File d:\novolis\novolis-governance\build\Generate-Platform-Slnx.ps1
dotnet build d:\novolis\<consumer>\path\to\App.csproj -p:NovolisUseProjectReferences=true

Quick start

using Novolis.Avalonia.Gaming;
using Novolis.Avalonia.Rendering;
using Novolis.Rendering.TwoD;

var hud = new HudStrip();
hud.SetTexts("WEEK 13", "9280  |  60  |  200", "ENCYCLOPEDIA");

var shell = GameShell.CreateWithTwoD(hud); // HardPause by default
shell.TwoDViewport!.Scene = new TwoDScene();
shell.TwoDViewport.FrameUpdating += (_, e) =>
{
    if (!shell.ShouldAdvanceSimulation())
        return;
    // advance sim with e.DeltaSeconds
};

// Blocking menu — freezes sim under HardPause
shell.ShowModal(new TextBlock { Text = "Paused", FontSize = 24 });

window.Content = shell;

Headless / autopilot:

shell.PauseMode = GamePauseMode.RunAlways;

API

Type Role
GameShell Viewport + HUD + modal layers; ShouldAdvanceSimulation()
GamePauseMode HardPause (human session default) / RunAlways
GameSimGate Pure tick gate (unit-testable)
HudStrip Left / center / right status row
ModalMenuHost Dimmed menu overlay (Escape / outside click → dismiss)

Boundaries

Package Role
Novolis.Avalonia.Rendering GL hosts only (TwoDSceneControl, CPU frames)
Novolis.Avalonia.Gaming Avalonia chrome over those hosts
Novolis.Avalonia.Studio Editor chrome (status/flash/busy) — not game loops
Novolis.Avalonia.Briefing Post-run scorecards / feeds

Game / campaign domain (Rebellion windows, Calypso captain copy) stays in the app. This package is host plumbing only.

Windows OpenGL

Same as Rendering — prefer WGL so OpenGlControlBase initializes:

appBuilder.UsePlatformDetect()
    .With(new Win32PlatformOptions { RenderingMode = [Win32RenderingMode.Wgl] });
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1.6.230 35 10/6/2026
2026.1.6.229 50 10/4/2026
2026.1.6.228 47 10/4/2026
2026.1.6.226 49 10/4/2026
2026.1.6.221 46 10/4/2026
2026.1.6.220 48 10/3/2026
2026.1.6.218 52 10/3/2026
2026.1.6.196 45 10/2/2026
2026.1.6.195 48 10/2/2026
2026.1.6.194 48 10/1/2026
2026.1.6.192 60 9/30/2026