This project demonstrates the use of the raycasting techniques to create a 3D perspective in a 2D environment. It serves as a foundation for anyone looking to understand the fundamentals of raycasting and how it can be used to simulate a 3D perspective in a 2D environment.
- Python 3.x
- Pygame
pip install pygame
- Sys
- Math
- Pygame
- Clone the repository:
git clone https://github.com/ecnivs/RayPy.git
cd RayPy
- Install dependencies:
pip install pygame
- Run the Software:
python main.py
W
: Move forwardS
: Move backA
: Move leftD
: Move rightLeft Arrow
: Rotate leftRight Arrow
: Rotate right