Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Wolf3D @ 42 - raycasting renderer

License

NotificationsYou must be signed in to change notification settings

pbondoer/42-wolf3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wolf3d screenshot

A Wolfeinstein-like renderer made in C using minilibX, with textures, basiclighting and basic map files.

Compiling

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.

Running

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.

Map file format

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

License

This project is licensed under the GNU General Public License 3.

Textures are by@wht_dragon. High resolutiontextures belong to their respective owners.

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp