Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A raycasting graphics engine written in C with SDL2. A demonstration of the technology behind the Wolfenstein 3D videogame.

arnovandash/Wolf3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wolf3D

This is a simple Wolfenstein 3D-like raycasting engine I created as a class project back in 2016.

Usage

./wolf3d map.txt [options]

eg.

./wolf3d map.txt --width 800 --height 600 --vsync

Options

  • --width <width>: Set the window width (default: 1920).
  • --height <height>: Set the window height (default: 1080).
  • --vsync: Enable VSync.

Screenshots

Screenshot1 Screenshot2 Screenshot3

Reference

https://lodev.org/cgtutor/raycasting.html

Wishlist / TODO

  • Complete refactor
  • Textures & Skybox
  • Improved collision detection
  • Sprites and animations
  • 1Bit Graphics mode
  • Dithered fog
  • Anti-aliasing
  • Map editor

About

A raycasting graphics engine written in C with SDL2. A demonstration of the technology behind the Wolfenstein 3D videogame.

Resources

Stars

Watchers

Forks