SadConsole.Templates
1.0.0
See the version list below for details.
dotnet new install SadConsole.Templates::1.0.0
Create new SadConsole projects and files via the .NET CLI with these templates.
Project
dotnet new sadconsole8 -n MyGame
This template generates a new project with starter code that is ready to run. The MyGame
name represents the name of your game project file and namespace.
Console
dotnet new sadconsole8console
This template generates a new console class in the current folder with the appropriate namespaces added and the class defined.
Options:
-n|--name The name of the class to generate.
-w|--width The width of the console in cells.
int - Optional
Default: 80
-he|--height The height of the console in cells.
int - Optional
Default: 25
-na|--namespace The namespace to use for the class.
text - Optional
Default: MyGame
Font
dotnet new sadconsole8font
Creates a new font json file. You must provide the graphics file,
Options:
-n|--name The name of the .font file without an extension.
-f|--fontName The name of the new font registered when loaded.
text - Required
-g|--graphicFile The file name of the graphic file containing the font glyphs.
text - Required
-gl|--glyphWidth The pixel width of each glyph in the graphic file.
int - Required
-p:g|--glyphHeight The pixel height of each glyph in the graphic file.
int - Required
-r|--rows The count of glyphs along the Y-axis of the graphic file.
int - Optional
Default: 16
-c|--columns The count of glyphs along the X-axis of the graphic file.
int - Optional
Default: 16
-s|--solidGlyphIndex The glyph index of the glyph that is a solid white box.
int - Optional
Default: 219
-
.NETCoreApp 3.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
10.5.0 | 289 | 12/7/2024 |
10.4.3 | 602 | 7/15/2024 |
10.4.2 | 105 | 7/15/2024 |
10.4.1 | 282 | 6/13/2024 |
10.4.0 | 472 | 4/1/2024 |
10.0.14 | 352 | 3/14/2024 |
10.0.13 | 4,097 | 11/1/2023 |
10.0.12 | 380 | 10/30/2023 |
10.0.11 | 320 | 10/29/2023 |
10.0.10 | 769 | 10/15/2023 |
10.0.9 | 322 | 10/11/2023 |
10.0.8 | 273 | 10/11/2023 |
10.0.7 | 299 | 10/11/2023 |
10.0.6 | 284 | 10/11/2023 |
10.0.4 | 431 | 8/26/2023 |
10.0.1 | 462 | 6/4/2023 |
10.0.0 | 186 | 6/4/2023 |
3.0.0 | 1,271 | 12/31/2021 |
2.0.2 | 1,328 | 8/7/2021 |
2.0.1 | 379 | 8/7/2021 |
2.0.0 | 1,876 | 6/6/2021 |
1.0.5 | 919 | 8/15/2020 |
1.0.4 | 523 | 7/14/2020 |
1.0.3 | 489 | 7/14/2020 |
1.0.2 | 633 | 4/24/2020 |
1.0.1 | 490 | 4/22/2020 |
1.0.0 | 501 | 4/21/2020 |