ST-ASCII 1.0.0

dotnet add package ST-ASCII --version 1.0.0
NuGet\Install-Package ST-ASCII -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ST-ASCII" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ST-ASCII --version 1.0.0
#r "nuget: ST-ASCII, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ST-ASCII as a Cake Addin
#addin nuget:?package=ST-ASCII&version=1.0.0

// Install ST-ASCII as a Cake Tool
#tool nuget:?package=ST-ASCII&version=1.0.0

ST_ASCII - Multi-purpose console ascii engine

Have you ever tried to create a game using only ascii or unicode characters but never found a good way to do this?

This engine is created for this concrete reason. Though it is Windows exclusive, it supports many features like:

  • Drawing by coordinates
  • Basic geometry shapes
  • Ability to implement custom rendering method for your custom drawables
  • Playing audio
  • Color support
  • Game engine with its gameloop
  • Gui elements (Coming soon!)
  • Simple and very beginner friendly structure

Below is the example how you can start using this engine (Look in folder Examples):

public static void Main(string[] args)
{

    Ascii ascii = new Ascii(80, 25);
    Rectangle rectangle = new Rectangle(10, 5, "friend"); 

    for (;;) {
        ascii.Clear(); // Clear screen
        ascii.Draw(5, 5, "Hello world!", ConsoleColor.Green, ConsoleColor.DarkGray);
        ascii.Draw(0, 0, rectangle, ConsoleColor.Red, ConsoleColor.DarkRed);
        ascii.Refresh();
    }   
}

This engine is still work in progress, so I will constantly add more documentation and features. I will accept pull requests as well as new ideas. Hope you enjoy my little work here)

Package available on NuGet: ST_ASCII

Warning! Console window is not resizable, because console buffer starts behaving very strange when you resize it.

Although you can use windows aero function (drag window on top of the screen and hold) to break this rule and see what happens =)

If you want to make window bigger, just hold Ctrl and use your mouse wheel to scale console window.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • 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
1.0.0 230 5/20/2022