Skip to content
forked from inkaonkala/Cube

It's Wolfstein3D inspired 2D game made to look 3D!

Notifications You must be signed in to change notification settings

Yunchia-Hsu/Cub3D

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cub3D

A 3D game inspired by Wolfstein3D written in C!

Game Goal

You need to survive the labyrint and find the exit door, not get hit by the cute ghosty on the way.

Game Screenshot

🎥 Watch Demo Video

The MLX42 graphics library is used for this project. Detailed information about required dependencies and installation steps for various operating systems is available in its GitHub repository.

How to play it:

Installing:

  • Install the dependencies for MLX42 graphics library
  • Clone cub3D repository
  • git clone https://github.com/Yunchia-Hsu/Cub3D.git
  • Run make or make bonus to see more features

Running:

  • Select the Makefile that matches your system (Linux or macOS)
  • Run ./cub3d path_to_map (eg ./maps/bonus_maps/3.cub)

Instruction:

  • Use the "W", "A", "S", and "D" keys to move the player
  • Press key "E" to open the Door to escape
  • Use the left or right arrow keys to adjust the player's view angle
  • Mouse can be used to control the player's movement and view

Credits:

About

It's Wolfstein3D inspired 2D game made to look 3D!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 89.0%
  • C++ 7.5%
  • Python 1.3%
  • CMake 0.7%
  • Makefile 0.5%
  • JavaScript 0.4%
  • Other 0.6%