RetroReborn.MG
2.1.0-alpha.15
dotnet add package RetroReborn.MG --version 2.1.0-alpha.15
NuGet\Install-Package RetroReborn.MG -Version 2.1.0-alpha.15
<PackageReference Include="RetroReborn.MG" Version="2.1.0-alpha.15" />
<PackageVersion Include="RetroReborn.MG" Version="2.1.0-alpha.15" />
<PackageReference Include="RetroReborn.MG" />
paket add RetroReborn.MG --version 2.1.0-alpha.15
#r "nuget: RetroReborn.MG, 2.1.0-alpha.15"
#:package RetroReborn.MG@2.1.0-alpha.15
#addin nuget:?package=RetroReborn.MG&version=2.1.0-alpha.15&prerelease
#tool nuget:?package=RetroReborn.MG&version=2.1.0-alpha.15&prerelease
RetroReborn.MG
MonoGame host entry point for the RetroReborn engine. Registers all MonoGame services via a single DI call.
Install
dotnet add package RetroReborn.MG
What's included
AddRetroRebornMonoGame()— registers the MonoGame graphics stack (AddGraphicsMG()), including:IGraphicsDevice/INativeGraphicsDevice<GraphicsDevice>— the MonoGame device handleICamera→OrthographicCameraMonoGame(transient)ISpriteRenderer→SpriteBatchRendererMonoGame(singleton)ITextureStore/ITextureStore<Texture2D>→ContentFolderTextureStore(singleton)
Usage
services
.AddRetroReborn() // core engine
.AddRetroRebornMonoGame(); // MonoGame rendering
The MonoGame game class must set INativeGraphicsDevice<GraphicsDevice>.GraphicsDevice after the window is initialised:
protected override void Initialize()
{
_graphicsDevice.GraphicsDevice = GraphicsDevice;
base.Initialize();
}
Changes
See CHANGELOG.md.
| 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. |
-
net10.0
- RetroReborn (>= 2.1.0-alpha.15)
- RetroReborn.Graphics.MG (>= 2.1.0-alpha.15)
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 |
|---|
2.1.0: Added ICamera (transient), CameraProfile, PresentationFrame redesign, MonoGame.Extended camera, IDisposable on GPU resources, input validation with descriptive exceptions, DI wiring for Game/Localisation/Pilgrimage, ComponentTypes/SpriteProperties/TransformProperties constants. See CHANGELOG.md for breaking changes and migration guidance.