/SFML_Ray_Casting

Ray Casting in C++ and SFML

Primary LanguageC++MIT LicenseMIT

Ray Casting in C++ and SFML

Based on the Raycaster in C++ from The Hello World Guy YouTube channel.

Run on Linux

  • Clone the repository.
  • Unzip and access the directory.
  • Open the terminal and type make.

Controls

Movements in Raycaster:

  • Arrow keys.

Accessing the Map Editor:

  • Press ESC to exit the Raycaster and enter the Editor, and ESC again to return.

Map Editor Movements:

  • Right-click pressed for panning.
  • Mouse scroll wheel for zooming.

Edit the Map:

  • Left-click to add walls.
  • To remove walls press the left Shift key and the left mouse button.