Skip to content

Kohana55/KonsoleGameEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KonsoleGameEngine

KonsoleGameEngine seeks to make it easy to create Console games in C# .NET

Included Example Program

Program.cs is an example programme showing how to use the Konsole Game Engine!

The basic premise is to create the GameWorld and GraphicsManager objects then set them running in a loop calling their relevant Start(), Update() & Draw() functions.

Each custom element you wish to add to the GameWorld must derive from GameEntity and be registered with the GameWorld using the .RegisterEntity() function.

GameEntity is an abstract class that forces you to override the Update and Start functions and provides a reference to the GameWorld, which is set when you register the entity.

In the Example Program.cs we add a custom entity, Player.cs.

ToolSet

Cells and a GameWorld (of Cells)

Curser Entity to select Cells

AStar Pathfinding

GraphicsManager to draw the game in console neatly (without flickering)

GameEntity abstract class to create custom entities