Skip to content

Raspurrin/Addams-cub3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Escape Addam's cub3d

Index:

Description

This is a raycasting engine. It is pretty bare bones, I don't have enough time to make it amazing atm, BUT this will eventually become a Addam's family themed escape room! :D

Controls

  • WASD for walking around.
  • arrow keys or mouse for looking around. With the mouse you can control the speed of rotation.
  • Spacebar for pausing the game and unlocking the cursor to be used freely.

Bonus features

  • Collision (yes I also do not undersand why this is a bonus)
  • Mouse control.
  • Smoothment! You can press multiple movement keys at the same time with no delay!
cub3d_record.mp4

Input

To run the game type:

make
./cub3d maps/rave.cub

The input map has to start with a legenda, which gives a path to textures used for North, South, West and East, seperately and colours for the ceiling and the roof. Afterwards a map is given where: 1 = wall, 0 = empty tile, N = player facing north (and S, W and E in the same manner) This can be in any shape as long as the map is enclosed by walls.

You can find more maps in the map folder, including wrong ones to showcase possible errors.

Future additions

  • Minimap
  • Animated sprites
  • Doors
  • Audio
  • HUD