An open API service indexing awesome lists of open source software.

https://github.com/mcleber/sfml_ray_casting

Ray Casting in C++ and SFML
https://github.com/mcleber/sfml_ray_casting

cpp game game-development learning-cpp raycasting sfml source-code

Last synced: 12 months ago
JSON representation

Ray Casting in C++ and SFML

Awesome Lists containing this project

README

          

# 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.