Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

ecnivs/RayPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RayPy

Overview

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.

swappy-20240808-225439

Prerequisites

  • Python 3.x
    • Pygame pip install pygame
    • Sys
    • Math

Installation

  1. Clone the repository:
git clone https://github.com/ecnivs/RayPy.git
cd RayPy
  1. Install dependencies:
pip install pygame
  1. Run the Software:
python main.py

Controls

  • W: Move forward
  • S: Move back
  • A: Move left
  • D: Move right
  • Left Arrow: Rotate left
  • Right Arrow: Rotate right

I'd appreciate any feedback or code reviews you might have!

Releases

No releases published

Packages

No packages published

Languages