My implementation of a MODE 7 engine written in C using SDL2 library. This was done solely for educational purposes and has many flaws: Inefficient algorithm, fisheye effect, no 'roll' movement and poor 'yaw'. Reads raw data from uncompressed BMPs as textures.
- sdl2
- sdl2_image
Clone the project
git clone https://github.com/blr-ophon/simpleM7
Compile using:
cd simpleM7
make
Run the executable directly or use make:
make run
Use WASD to move
Use L-shift and space to ascend and descend
Use J and K to turn camera plane up or down
Use esc
to quit