This is a collection of templates for PlayPlayMini.
The available templates are:
playplaymini.skeleton
- A basic PlayPlayMini project, with no other dependencies.
- Creates a template
Startup
andPlaying
game state to help you get started.
playplaymini.serilog
- Based on
playplaymini.skeleton
, and adds Serilog to log exceptions, and other information.
- Based on
dotnet new install BenMakesGames.PlayPlayMini.Templates
To create a new PlayPlayMini project, run the following command from the directory where you keep all your projects:
dotnet new TEMPLATENAME -n GAMENAME
- Replace
TEMPLATENAME
with one of the templates listed above (ex:playplaymini.skeleton
). - Replace
GAMENAME
with the name of your game. - A new directory will be created in the current directory called
GAMENAME
.
For example:
dotnet new playplaymini.skeleton -n TetrisClone
A new directory called TetrisClone
will have been created in the current directory.