Traffic simulator implemented in C++
Demo video: https://youtu.be/TYzOSeK_qxM?t=178
Project template: https://github.com/lutrarutra/SFML-Project-Template
- CMake (to generate makefile)
- GNU make (to build)
- OpenGL (dependency in SFML and ImGui)
- Unix including Mac OS
- Windows will probably work but you will have to figure out how to build this yourself
- Clone
git clone https://github.com/lutrarutra/trafsim
- Create build directory inside of the project folder:
mkdir build
- Open navigate into new "build" folder with terminal:
cd build
- Generate makefile with CMake:
cmake ..
- Build generated makefile:
make
- Run it:
./a
Refer to https://github.com/lutrarutra/SFML-Project-Template
-
SFML - Simple and Fast Multimedia Library
-
ImGui - Immediate Mode Graphical User interface for C++
-
ImGui - Library which allows you to use ImGui with SFML