Skip to content

A FPS game using the raycasting inspired by Wolfenstein3d in rust

License

Notifications You must be signed in to change notification settings

jfortin42/wolf3d_rs

Repository files navigation

wolf3d_rs

Build Status License

This is an implementation of Wolf3d in the Rust Programming Language.

preview



Build Instructions

Before building wolf3d_rs, you will need to install the developpement libraries for SDL2, preferably with the package manager that comes with your operating system.

Example for Debian/Ubuntu:

sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev

Example for Mac OSX

brew install sdl2 sdl2_image sdl2_ttf

You might also like to read the README for these projects:

To build wolf3d_rs, type the following commands:

git clone https://github.com/jfortin42/wolf3d_rs
cd wolf3d_rs
cargo build --release

How to Play

For a quick start, try this:

cargo run --release -- microban.slc
  • Use the arrow keys to move the player.
  • Type R to retry the current level.
  • Type N to skip the current level.

Graphics Options

By default, the game will start in 1024x768 windowed mode. You can modify the width and height of the window as well as switch to fullscreen mode.

Example:

cargo run --release -- microban.slc --width=1920 --height=1080 --fullscreen

About

A FPS game using the raycasting inspired by Wolfenstein3d in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published