KKE Engine

Last updated

This was a 3D software renderer that can load simple maps from an editor program that is also part of the project. It’s not really a game, more of a programming exercise. The name is borrowed from a friend’s project, which we planned at multiple points to develop a game for, but nothing ever came to fruition. This project instead ended up being a sort of spiritual predecessor to Rovgend’s Labyrinth, which was also built on a software-rendered engine written in C.

The level and renderer are somewhat inspired by DOOM, but much simpler. Levels are constructed out of rectangular sectors, which each have a floor and ceiling height. Neighbouring sectors are joined together to become one singular space. The renderer works by drawing all of the visible edges in the player’s current sector, then recursively draws connected sectors in a subsection of the screen to draw the rest of the level. The renderer isn’t fully functional, if you walk around the test level enough, you will definitely find some bugs. Additionally, certain level structures (such as a bunch of pillars next to each other) can grind the renderer to a halt.

The whole project was created on an old computer running Windows XP and written in C using Visual C++ 6.0. All of the code is written from scratch using the Win32 API.

Downloads

Screenshots

A view of various blue walls and halls Editing sector properties in MapCrafter