MainframeEngine 1.1.1

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

Mainframe Engine

A modular C# game engine on Vulkan: a Godot-style scene tree with source-generated serialization, PBR materials, cascaded shadows, RmlUi game UI, Jitter2/Box2D physics, SoundFlow audio, multiplayer, gettext localization and Spine animation.

This package is everything a game needs to build and run, with no engine checkout and no editor required:

  • MainframeEngine.dll (and the bundled spine-csharp.dll)
  • the source generator for [Export], [Signal], [Replicated] and [Rpc] members
  • the native libraries for win-x64, linux-x64 and osx-arm64/osx-x64
  • the engine content (compiled shaders, UI widgets, fonts), which is copied into your app's Content/ folder
  • build integration: .po → .mo localization, the DEMO define from project.mfproj, and macOS development app bundles

Requirements: .NET 10, plus a GPU with Vulkan 1.2 (MoltenVK is included on macOS).

Start a game

The quickest way is the mfgame template from the engine repository, or New Project in the optional Mainframe Editor. Both create a game library, a desktop project and project.mfproj that reference this package.

To add the engine to an existing project:

dotnet add package MainframeEngine
using MainframeEngine;

// Reads project.mfproj next to the app (window, input map, autoloads, main scene) and runs it.
return GameHost.Run(args, typeof(MyNode).Assembly);

Copy project.mfproj and your Content/ to the output folder, as the template's desktop project does.

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
1.1.1 86 10/12/2026