A .NET ascii/ansi console engine written in C# for MonoGame and XNA. Create your own text roguelike (or other) games!
Clone or download
Thraka Merge pull request #154 from Thraka/develop
7.0.4 release - Changed Helpers.Flag signature
Latest commit 6418ec2 Sep 8, 2018

README.md

SadConsole Logo

Join us on Reddit Join the chat at https://gitter.im/Thraka/SadConsole GitHub commits

NuGet

SadConsole is an MonoGame 3.6-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.

SadConsole targets Windows and Linux using MonoGame 3.6.

Some sample games are provided in the SampleGames folder and are now part of the Visual Studio solution file.

Features

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 within the game
  • Text GUI controls
  • Full keyboard support
  • Full mouse support
  • Read ansi files from the good old DOS days
  • Animation engine
  • Instruction engine

String display and parsing

string pic

GUI library

GUI library pic

Scrolling

scrolling console

Demo video

http://youtu.be/ZukjZIqDfJw

Dependencies

SadConsole uses NuGet for its .NET dependencies.

Demo Project

DemoProject shows how to use SadConsole in a multi-platform environment and demonstrates various things you can do with SadConsole.