MonoGame.Invisible
1.0.2
dotnet add package MonoGame.Invisible --version 1.0.2
NuGet\Install-Package MonoGame.Invisible -Version 1.0.2
<PackageReference Include="MonoGame.Invisible" Version="1.0.2" />
paket add MonoGame.Invisible --version 1.0.2
#r "nuget: MonoGame.Invisible, 1.0.2"
// Install MonoGame.Invisible as a Cake Addin #addin nuget:?package=MonoGame.Invisible&version=1.0.2 // Install MonoGame.Invisible as a Cake Tool #tool nuget:?package=MonoGame.Invisible&version=1.0.2
Welcome to MonoGame.Invisible!
MonoGame.Invisible makes your MonoGame window fully transparent!
Look for yourself:
https://github.com/user-attachments/assets/0cd45914-a175-4d84-8b2e-ff4d6d358aab
Now you can create one of those hyped "Desktop-Games" with the MonoGame.Framework... if you know what I mean 😃
How To Use It?
Creating an invisible MonoGame window with this library is as easy as:
protected override void Initialize()
{
TransparentWindowManager.Setup(this, graphics);
_windowManager = TransparentWindowManager.Create(this, TransparencyMode.ColorKey, new Color(1, 1, 1));
_windowManager.Initialize();
base.Initialize();
}
protected override void Draw(GameTime gameTime)
{
_windowManager.BeginDraw(gameTime);
spriteBatch.Begin();
// Your Drawings here!
spriteBatch.End();
_windowManager.EndDraw(gameTime);
}
Only the Windows platform is supported!
Check out the integrated sample project, which shows the invisible MonoGame window in action. It's much smoother than in the video. You need to see it for yourself!
Now Have Fun with MonoGame.Invisible!
PS: If you create such a Desktop-Game with MonoGame.Invisible, then please let me know. I will be happy to add a link to your game here on this site! 😃
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. |
-
net8.0-windows7.0
- MonoGame.Framework.WindowsDX (>= 3.8.2.1105)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.