Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Ray Casting Engine on C (simple Wolfenstein 3D implementation) (project from school 42)

NotificationsYou must be signed in to change notification settings

Iipal/Wolf3D-42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

made by tmaluh(_ipal)
README.md contain not all info about project and after update project after last changes in libft its may work unstability

Video preview

Installation:

SDL2

Ubuntu:

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

Fedora:

sudo dnf install SDL2-devel SDL2_mixer-devel SDL2_ttf-devel

MacOS:

All ready for use. Just typemake.

Windows:

Compiling

Usemake for compiling all files.

When you have already installed SDL2 library you can use this simple rules:

  • make: Compile all.
  • make clean: Delete temporary files.
  • make del: Delete temporary Wolf3D files only(if you changed code usemake del && make for re-compile only Wolf3D executable without libft).
  • make fclean: Delete executable Wolf3D file & libft.
  • make re: It's rules -make fclean &make in one.

Usage:

./wolf3d maps/map_name.w3d
  • [W | S]: Moving forward | backward.
  • [A | D]: Rotate left | right.
  • [T]: Toggle Textured\Flat rendering method.
  • [M]: Toggle mini-map rendering.
  • [F]: Toggle Fog rendering.
  • [C]: Switch Fog colors.
  • [LShift]: Step & rotate boost.
  • [Z] - Stop\Play steps sounds.
  • [Q]: Stop\Play background in-game music.
  • [+ | -]: Inc\Decrease background volume.
  • [R]: Toggle FPS\ms rendering info.
  • [H]: Toggle blur effect rendering.
  • [Y | N]: Inc\Decreaase bluring effect.
  • [ESC]: Close Wolf3D.

<===> MLX <===>

If you are crazy and want to run this project using MLX library and without many features - follow this rules:

git clone https://github.com/Iipal/Wolf3D-42.git wolf3dcd wolf3dgit checkout 5acec91make

About

Ray Casting Engine on C (simple Wolfenstein 3D implementation) (project from school 42)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp