- The Goal of this project is to create a game by using a third party SDL library in 3D using raycasting!
- simple DirectMedia Layer(SDL) is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve’s award winning catalog and many Humble Bundle games. SDL officially supports Windows, mac 0S X, Linux, ios, and Android.
- SDL is written in C, works natively with C++, and there are bindings available for several other languages.
- It gives an api for processing video ,audio processing, etc.
- compile using make or
gcc -Wall -Werror -Wextra -pedantic ./src/*.c -lm -o maze sdl2-config --cflags sdl2-config --libs
- Execute ./maze
- Use up and down arrow keys to move forward and backward (keys w and s serve the same function)
- Use right and left arrow keys to turn the camera arround (keys d and a serve the same function)