Skip to content

pedro-git-projects/raycasting-engine-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raycasting Engine

A simple raycasting engine inspired by Wolfenstein 3D, implemented in Rust using SDL2.

Table of Contents

Overview

This project is a raycasting engine written in Rust, designed to recreate the visual style of Wolfenstein 3D. It utilizes the SDL2 library for graphics rendering.

Dependencies

Installation

Prerequisites

Before running the raycasting engine, make sure you have SDL2 installed on your computer. You can download SDL2 from sdl2's website or install it using your system's package manager.

Building the Project

To run the raycasting engine, follow these steps:

  1. Clone the repository:

    git clone https://github.com/pedro-git-projects/raycasting-engine-rs.git
  2. Change into the project directory:

    cd raycasting-engine-rs 
  3. Build the project:

    cargo build --release

    This command will download and build the required dependencies.

Usage

Once the project is built, you can run the raycasting engine using:

cargo run --release

This command will launch the application, and you should see the raycasting engine window.

Controls

  • Move forward: Up arrow
  • Move backward: Down arrow
  • Rotate left: Left arrow
  • Rotate right: Right Arrow
  • Quit the application: Esc

Adjust the controls as needed in the source code.

About

Raycasting engine written in Rust with SDL2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages