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.
cargo build --release
cargo run --release
Key(s) | Action |
---|---|
Up Arrow | Move Forward |
Down Arrow | Move Backward |
Left Arrow | Turn Left |
Right Arrow | Turn Right |
This project is licensed under the [MIT] License - see the LICENSE.md file for details