Simple CMake Setup for RayLib

This is a barebone CMake setup for building a C++ project that uses RayLib. NOTE: Be sure that the RAYLIB_DIR variable in the CMake points to where your RayLib root directory is (this will be where RayLib’s CMakeLists.txt exists). A small main.cpp to go along with the CMake above that will create a window using … Read more

Basic Game Loop

When programming a game you’ll notice there is a main loop that handles: input, physics/gameworld, and output – this is the game loop. What is a Game Loop? A game loop is a fundamental structure used in most video games to control the flow of the game. It is essentially an infinite loop that repeatedly … Read more

C++ Project Template Using CMake

I’ve always found the worst part about development is setting up the dev. environment. So, to bypass that, I have made a basic CMake dev. environment that uses a build_all script to build the entire project. Clone or download the repo. from my GitHub here. What is in the Template Repository? The Project contains the … Read more