About My Game Engine Class Project

So I hadn’t had as much time as I’d have liked to work on projects, but I spent this past semester working on a game engine class project. My teacher wrote a functional but basic game engine in C++ and Lua called PrimeEngine. We were tasked with implementing game logic, physics, and other math functionality as homework. We were given a choice of what we wanted to work on for our final project, and I worked on level loading and unloading functionality. Since the engine did not have any way of unloading a game object from memory, I had to modify low level code that managed the game object hierarchy.

I learned a lot about the Lua C API, since the way that the engine handles messages is by registering handler methods to a tree of Lua tables. Passing variables and modifying the tree required manipulating the Lua stack, and I now feel pretty comfortable with using Lua in future C projects.

Here is a YouTube playlist of the project progress:

Related posts

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.