Skip to content

MonoGame.Forms 3.1.0

Choose a tag to compare

@BlizzCrafter BlizzCrafter released this 21 Aug 11:33
· 15 commits to master since this release
1e208d8

Added:

  • Implemented "GameComponentCollection" from original MonoGame "Game" class to enable adding "GameComponent"'s (IGameComponent, IDrawable, IUpdatable) to a MonoGame.Forms.Control.
    • Camera2D and FPSCounter are real GameComponent's now, so it's possible for the user to create their own corresponding components (for now there is only a ICamera2D interface).
  • Added methods for adding and removing default editor components like Camera2D and FPSCounter or remove all components at once.
  • Generated new documents file, which updates the Github-Wiki to a class library which points to the new 3.1.0 release dll.
  • Added comments on abstract usage for custom MonoGame.Forms.Controls.
  • Added new Templates via dotnet and nuget for MonoGame.Forms projects and items.
  • Added Blazor sample branch.

Changed:

  • Upgrade to .NET 6.0.
  • Renamed to MonoGame.Forms.NET.
  • Set "ClientSize" to 1 to easily initialize a MonoGameControl by code, so that it is not neccessary anymore to embed such a control directly using the designer.
  • Removed custom "IServiceContainer" and unified the service system by using the MonoGame built-in "GameServiceContainer" - getable with "Services" inside a MonoGame.Forms.Control.
  • Renamed GFXService to EditorService, so that it is more obvious to the user what this service is meant to be.
  • Easier and more obvious to use the EditorService class by distinguishing between internal and protected methods (Initialize, Update, Draw), which hides elements the user shouldn't use or call.
  • Modernized the Readme.md file with better visuals, instructions and info.
  • NET 6.0 lib, Net-Framework lib and Blazor samples are now on seperated branches.

Fixed:

  • Correctly checking for "DesignMode" to avoid exeptions when working with MonoGame.Forms.Controls during design time.

Removed:

  • Removed content folder and info.
  • Removed unnessecary draw call in a GameControl.
  • Removed old Visual Studio vsix style templates (added dotnet and nuget style ones).

Thanks to all your ongoing support! 🤜🤛

Without your input & suggestions the MonoGame.Forms library wouldn't be as feature-rich and good as it is today.

Take care and have a nice time!! 💖