Skip to content

dolovnyak/raycast-engine

This branch is 7 commits ahead of, 1 commit behind GodFlight/Wolf3D:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

58c08d9 · Mar 12, 2023
Jun 4, 2021
Aug 28, 2019
Aug 29, 2019
Mar 12, 2023
Mar 12, 2023
Aug 29, 2019
Aug 19, 2019
Aug 19, 2019
Mar 12, 2023
Aug 19, 2019
Jul 31, 2019
Mar 12, 2023
May 14, 2021
Mar 12, 2023
Aug 29, 2019
Jun 4, 2021
Sep 6, 2019

Repository files navigation

raycast-engine

Partial implementation of the "Wolfenstein 3D engine".

MacOS - Build

Build and run on MacOS:

make
./wolf3d

# You can change ./json/config.json to setup game with another resolution/map/textures

Controls

ESC - Close the program.
W/A/S/D - Movement in space.
RIGHT - Camera rotation to the right.
LEFT - Camera rotation to the left.
SHIFT - Acceleration.
SPACE - Turn on/off music.

Map file format

1   1   1   1  
1   910 9   1  
1   0   0   1  
1   999 0   1  
1   1   1   1  

0 - void, wall/flr cast ignore it, physic ignore it.
1-99 - default walls without states and interactions, can be place several identical id.
900-998 - objects.
999 - player position.

Screenshots:

Image alt Image alt Image alt

Releases

No releases published

Packages

No packages published

Languages

  • C 96.6%
  • Makefile 2.3%
  • CMake 1.1%