- Notifications
You must be signed in to change notification settings - Fork2
Wolf3D @ 42 - raycasting renderer
License
pbondoer/42-wolf3d
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A Wolfeinstein-like renderer made in C using minilibX, with textures, basiclighting and basic map files.
Runmake
and you're set. Runs on Mac OS X and Linux (with XServer).Make sure to enable set theHI_RES = 1
macro if you want to use the highresolution textures included.
Run./wolf3d [map_file]
, a window should appear. You can navigate through themap using the arrow keys. Exit by closing the window or pressing ESC.
It's a very simple format. Open a file in your favorite text editor, make sureyou have a grid of integers (each one being it's block ID), and it should workright out of the box. Spawn position is the first empty space available from thetop left.
1 1 1 1 11 0 2 0 11 0 0 0 11 1 1 1 1
This project is licensed under the GNU General Public License 3.
Textures are by@wht_dragon. High resolutiontextures belong to their respective owners.