Skip to content

An implementation of the raycasting technique used in classic games like Wolfenstein 3D, developed using C++ and SFML. It simulates pseudo-3D environments on 2D grid maps, combining efficient rendering with modern input handling and customizable levels.

License

Notifications You must be signed in to change notification settings

ItsM3U/SFML-Raycaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFML Raycaster

This project is an implementation of the raycasting technique used in classic games like Wolfenstein 3D, developed using C++ and SFML. It simulates pseudo-3D environments on 2D grid maps, combining efficient rendering with modern input handling and customizable levels.

Raycaster Screenshot

Features

  • Pseudo-3D rendering with raycasting.
  • Smooth player movement, rotation, and strafing.
  • Real-time UI: position, direction, plane, and FPS.
  • Mini-map for navigation.
  • Customizable levels with textured walls and objects.

Controls

  • WASD: Move and strafe.
  • Arrow Keys: Rotate the view.
  • Esc: Exit.

References

Special thanks to:

Build and Run

  1. Install dependencies (SFML).
  2. Build the project using CMake:
    mkdir build
    cd build
    cmake ..
    make
  3. Run the executable:
    ./Main

About

An implementation of the raycasting technique used in classic games like Wolfenstein 3D, developed using C++ and SFML. It simulates pseudo-3D environments on 2D grid maps, combining efficient rendering with modern input handling and customizable levels.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published