PlayPlayMini
is an opinionated framework for making smallish 2D games with MonoGame
in .NET Core.
It provides a state engine with lifecycle events, dependency injection using Autofac
, and several built-in services to help with common tasks such as drawing sprites & fonts, and getting user input.
This repository contains the following libraries:
Name | Description | Links |
---|---|---|
PlayPlayMini |
The PlayPlayMini library itself. | NuGet Documentation |
PlayPlayMini.GraphicsExtensions |
Graphics extensions for PlayPlayMini, including shape primitives and font extensions. | NuGet Documentation |
PlayPlayMini.NAudio |
Use NAudio to play music, instead of MonoGame's built-in audio engine. This makes music loop seamlessly, and adds support for easy cross-fading of songs. | NuGet Documentation |
PlayPlayMini.UI |
Skinnable, object-oriented UI Framework for PlayPlayMini. | NuGet Documentation |
PlayPlayMini.BeepBoop |
Methods for generating wave forms on the fly. Preview release; very few features. | NuGet |
See also:
- PlayPlayMiniTemplates for project templates.
- Block-break, a demo game made with PlayPlayMini, EntityFramework (for saving settings & high scores), and Serliog, and which demonstrates multiple game states, player input, font-rendering, sprite sheets, pictures, and sounds.
- API documentation (work-in-progress; currently documents many classes and methods in
PlayPlayMini
,PlayPlayMini.GraphicsExtension
, andPlayPlayMini.NAudio
)