Skip to content

zmcj1/BoxheadConsoleGameEngine

Repository files navigation

BoxheadConsoleGameEngine

中文

free, portable and powerful Windows Console/Terminal low-level library.

What is this?

This is a low-level Console Lib for Windows Console, you can use it to draw in the console, get user input etc.

The purpose is to develop upper-level softwares such as text editors, 3D renderer, music player, etc with this library :).

If you think this project has brought you help, please leave a star!🌟

If you want to contribute code, welcome submit a pull request!👍

Examples:

MazeExample:

ConFPSSample:

ConFPSSample

Architecture:

MinConsole is a C# wrapper, provide cross-platform interface.

MinConsoleNative C++ interface of the Console APIs, the kernel of this project.

MinConsoleNativeExample is bunch of examples about how to use MinConsoleNative.

Features:

  1. CellRenderer/GridRenderer/NativeRenderer and GDIRenderer!

  2. Navigation and Maze support!

  3. Simple but powerful class Audio, and you can use AudioPool too!

  4. Clipboard interface

  5. powerful Console class (Package of Windows Console API)

  6. Render RGB true color in the console(Break the limit of 16 colors!)

  7. Database class for basic data reading and writing

  8. EventSystem class! Support mouse wheel input, mouse coordinates(You can even use mouse in Windows Terminal!)

  9. Nice Input class(Allows you to handle the mouse)

  10. PaletteSystem!

  11. High precision Timer class

  12. VTConverter class helps you generate VT sequence without manual spelling

  13. Window class encapsulates common window operations

How can I use it?

The current reliable method is to use VS2019 to compile MinConsoleNative.

MinConsoleNativeExample provides a series of examples.

History: Why I develop this repository?

By chance, I used Windows Console as my 2D renderer in a console game(text-based) gamejam in January 2018.

In These years I have studied Unity, UE4. I master C# and know well C/C++. I always come back to are C/C++, Windows Console.

I spent a lot of time researching Windows Console, Win32API, C/C++, C#, 3D Math. I have checked a lot of ConsoleGameEngine repos in github. I have also tried to write them myself, but after many times, I'm still not satisfied, I always want to do more!

During this research I find the Windows console has great potential beyond your imagination!

About 2 weeks ago, I wanted to restart and create a awesome Console library and share my skills with Windows Console.

Make some intresting stuffs.

No hate, only fast code and bugs.

Third Party:

WinReg(MIT License): High-level C++ Wrapper Around the Low-level Windows Registry C-interface API.

Links:

olcConsoleGameEngine

gui.cs

Console Framework

Pastel

Postscript:

On April 11, 2021, this project is officially open source!

Made in Minsk, Belarus.