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
- Host: GitHub
- URL: https://github.com/mcleber/sfml_ray_casting
- Owner: mcleber
- License: mit
- Created: 2024-01-30T02:36:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T23:10:42.000Z (about 2 years ago)
- Last Synced: 2024-11-13T08:19:51.542Z (over 1 year ago)
- Topics: cpp, game, game-development, learning-cpp, raycasting, sfml, source-code
- Language: C++
- Homepage:
- Size: 1.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.