This project is my first step in the game dev universe ! Entirely made in C with SDL2 using my own standard C library. The game is limited to 60 FPS.
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 type make.
Use make 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 use
make 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.
Description | Key(s) |
Close the program (aka quit/exit) | esc |
Move Up | W or ▲ |
Move Down | S or ▼ |
Move left | A or ◄ |
Move right | D or ► |
Show Light | L |
Dim Light | K |
Up The darkness | + |
Dim darkness | - |
Description | Control(s) |
Fire | left button |
Usage message and controls:
Program running: