This is the source code for my gravity simulation project. I made it when first learning C++ / programming in university back in 2016. The code was terrible and filled with poor solutions to simple problems. During Christmas 2024 I revisited it and replaced some of the old bad solutions with new bad solutions.
You can see a trailer I made in 2016 here: https://youtu.be/2ksVjpxY5mI?si=pwDCNEDP6Kb8V7mD
Gravity-Simulator uses the graphics library SFML 2.6.2 and the user interface library TGUI 1.7.0. It uses CMake for build management.
Built the solution with:
mkdir build
cd build
cmake ..
To create an installer, run:
make_installer.bat