The engine is not ready to make AAA games, but has basic features required to make simple ones. My work was to create the logic part of the engine that will use different libraries and make them work together. It’s like building the motherboard of a computer, and plug devices on it to add functionalities (we used Box2D as physics engine, SFML library as a graphic engine and inputs handler, ImGui framework to display debug information in-game, etc…). The logic part was greatly inspired by Unity, with a system of scenes, game objects and components. Virgil worked on adapting the Tiled editor to use it as Pancake Engine editor. We can create scenes, place objects and change their parameters. Nicolas also worked on using the Lua language as scripting language for the engine, and it works pretty well (more info about it here).
In the video above, you can see a short demo of a multiplayer game created in a few hours using the engine. You can also see how debug info are displayed.
The goal of the student project was only to create a simple game in 2D. But we wanted more, and we get a lot of fun doing this. We learned A LOT about what is a game engine, and how it is built. It is certainly one of the most complicated projects I worked on. I realized that engine programming was very interesting, but that I’m more into creating games, rather than creating tools to do it.
And you ? Have you ever built a game engine ?