One of my first more or less serious C++ projects.
I like it, as well as the ray casting technique, although there is actually not much written about it.
I hope it will be useful to someone.
C++ project using Raylib + raygui.
- C++17 compatible compiler (AppleClang, GCC, MSVC)
- Raylib 5.x
- CMake 3.10 or higher
• brew install raylib cmake
• sudo apt install libraylib-dev cmake build-essential
• Install Raylib using vcpkg or from source • Install CMake and a compiler (Visual Studio recommended)
From the project root:
cd /path/to/BDe2 # go to project root
rm -rf build # remove old build folder
mkdir build && cd build # create and enter build folder
cmake .. && make # generate and build
./BDe2 # run the application
The src/ folder contains raygui.h and other source files. No need to modify CMakeLists.txt for basic builds. Works on macOS, Linux, and Windows with proper Raylib installation. The compiled binary is named BDe2.