Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 535 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 535 Bytes

SFML Ray Casting

A 2D Ray Casting Simulator built with SFML in C++

You can draw walls and simulator how your walls would block a light source.

demo

Download: https://github.com/ansonk4/RayCastingWithSFML/releases/tag/v1.0.0

How to use

  • Press num1 to enter drawing mode
  • In drawing mode, left click to create a wall
  • Press num2 to enter lighting mode
  • In lighting mode, hold Q to show light rays.
  • Press num3 to clear all walls