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

ecnivs/RayPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RayPy

Raycasting engine with pygame

swappy-20240808-225439

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.

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

Thank you for checking out this project!

Releases

No releases published

Packages

No packages published

Languages