This is a template for the Nova 2D C++ game development framework that provides the minimum amount of code to get a window up and running with an ImGui demo window. It uses CMake as the build system and also as dependency manager (with FetchContent) to fetch Nova.
-
Clone, fork or generate a new repository from this repository
-
Open the CMakeLists.txt file and change the project name to whatever you want
-
Build the project (you can use CMake directly or your favourite IDE):
# you can set BUILD_TYPE to one of "Debug", "RelWithDebInfo" or "Release"
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build-
Run the resulting executable (in bin/<build_type_chosen>)
-
Have fun!