This project is a simple raycaster engine written in C++ using SFML library.
Currently I'm using slightly modified Wolfenstein 3D textures.
- C++
- SFML
Clone the repo:
git clone https://github.com/piotoor/sfmlRaycaster.git
Install SFML library:
sudo apt-get install libsfml-dev
You may also need to install make and cmake:
sudo apt-get install build-essential
sudo apt-get install cmake
Go to the root directory of sfmlRaycaster project and build:
mkdir build
cd build
cmake .. -G "Unix Makefiles"
make
Now you can run the engine:
cd src
./sfmlRaycaster_run
Prerequisites:
Clone the repo:
git clone https://github.com/piotoor/sfmlRaycaster.git
Update the submodules:
cd sfmlRaycaster/lib
git submodule update --init --recursive
Go to the root directory of the sfmlRaycaster project and build:
cd ..
mkdir build
cd build
cmake .. -G "MinGW Makefiles"
mingw32-make.exe
Now you can run the engine:
cd src
sfmlRaycaster_run.exe
You can walk around the map using arrow keys.
Project is being refactored.