ccie18473 / raycaster_flat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

raycaster_flat v1

Description

Based the on Lode's Computer Graphics Tutorial

Raycasting is a rendering technique to create a 3D perspective in a 2D map. Back when computers were slower it wasn't possible to run real 3D engines in realtime, and raycasting was the first solution. Raycasting can go very fast, because only a calculation has to be done for every vertical line of the screen. The most well known game that used this technique, is of course Wolfenstein 3D.

Dependencies

Build and run

cargo build --release

cargo run --release

Controls

Key(s) Action
Up Arrow Move Forward
Down Arrow Move Backward
Left Arrow Turn Left
Right Arrow Turn Right

Author

License

This project is licensed under the [MIT] License - see the LICENSE.md file for details

About

License:MIT License


Languages

Language:Rust 96.0%Language:HTML 4.0%