This project is a simple 3D raycasting game, inspired by early first-person shooters. It uses the raycasting technique to simulate a 3D environment on a 2D screen. It is made in Python using the Pygame library.
Make sure you have Python and Pygame installed on your system. You can install Pygame using the following command:
pip install pygame
Clone the repository:
git clone https://github.com/Diego2250/Raycasting.git
cd Raycasting
Run the game using the following command:
python main.py
- W: Move forward
- S: Move backward
- A: Turn left
- D: Turn right
- Left Arrow: Turn left
- Right Arrow: Turn right
- Esc: Exit the game
- Space: Hit
- 3D raycasting game
- Player movement
- Walls and textures
- Sound effects
- Background music