Monogame.ImGuiNet
1.0.4
See the version list below for details.
dotnet add package Monogame.ImGuiNet --version 1.0.4
NuGet\Install-Package Monogame.ImGuiNet -Version 1.0.4
<PackageReference Include="Monogame.ImGuiNet" Version="1.0.4" />
paket add Monogame.ImGuiNet --version 1.0.4
#r "nuget: Monogame.ImGuiNet, 1.0.4"
// Install Monogame.ImGuiNet as a Cake Addin #addin nuget:?package=Monogame.ImGuiNet&version=1.0.4 // Install Monogame.ImGuiNet as a Cake Tool #tool nuget:?package=Monogame.ImGuiNet&version=1.0.4
<img src="Images/ReadMeBanner.png" alt="Monogame.ImGuiNet_Logo" width="100%">
Monogame.ImGuiNet
MonoGame.ImGuiNet is a superset of ImGuiNet with additional Components designed for MonoGame.
Getting Started
The project is a NuGet Package, which could be installed by typing the following command in your Project Command Line Interface (CLI):
dotnet add package Monogame.ImGuiNet
Once installed in your project, you can use the library by typing:
using Monogame.ImGuiNet
In your game's Initializtion code, create an instance of the ImGuiRenderer class:
private ImGuiRenderer _imGuiRenderer;
protected override void Initialize()
{
// ...
_imGuiRenderer = new ImGuiRenderer(this);
_imGuiRenderer.RebuildFontAtlas();
// ...
}
Next, in your game's Draw method, draw the Interface:
protected override void Draw(GameTime gameTime)
{
// ...
_imGuiRenderer.BeforeLayout(gameTime);
ImGui.Text("Works!");
_imGuiRenderer.AfterLayout();
// ...
}
And you should be good to go!
It'll be recommended to visit the Wiki page! It will provide general information on the library, Usage examples, as well as every method you could use currently!
Notable Mentions
Dovker - For the original Monogame.ImGui
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- ImGui.NET (>= 1.89.7.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Monogame.ImGuiNet:
Package | Downloads |
---|---|
MonoDreams
A code-first and data-driven opensource 2D game engine powered by MonoGame |
GitHub repositories
This package is not used by any popular GitHub repositories.
Hey! my last package was broken, so here's the updated one which should work. Check out the github page as I'll be updating it with more components soon!