Nothing to be sad about with SadConsole
- Posted: May 18, 2016 at 6:00AM
This project's subtitle says it all, "A .NET ascii/ansi console engine written in C# for MonoGame and XNA. Create your own text roguelike (or other) games!"
SadConsole is an MonoGame 3.4-based game library that provides an engine to emulate old-school console and command prompt style graphics. One or more textures are used to represent the standard ascii character set. SadConsole allows you to create console instances which can be managed independently of each other. A console is made up of individual cells which can have a foreground, background, character, and a special effect applied to it.
Right now, SadConsole targets Windows and Linux using MonoGame 3.4. SadConsole 2.0 dropped XNA 4.0 support; it could be re-added by an interested party, pull requests are welcome.
There is source code for a screen editor written in SadConsole. It's the most comprehensive project to date using SadConsole and is available at https://github.com/Thraka/SadConsoleEditor/
See the wiki for more information.
Some sample games are provided in the SampleGames folder and are now part of the Visual Studio solution file.
Here are some of the features SadConsole supports.
- Show any number of consoles
- Uses PNG graphic fonts supporting more than 256 characters
- Multiple fonts in your game
- Draggable console windows whithin the game
- Text GUI controls
- Full keyboard support
- Full mouse support
- Read ansi files from the good old DOS days
- Animation engine
- Instruction engine
... [click through]
Of course you can build console games with .NET, but that's not what we're talking about today. We're talking about gaming in text with Andy De George, the author of SadConsole.