/cub3D

42 cub3D project with bonuses!

Primary LanguageCGNU General Public License v3.0GPL-3.0

cub3D 42 project

My cub3D project for 42.

Image

You can check out my youtube video here!

Written for norm v2

Project bonuses i did

  • Wall collisions.
  • A skybox.
  • Floor and/or ceiling texture.
  • An HUD.
  • Ability to look up and down.
  • Jump or crouch.
  • A distance related shadow effect.
  • Life bar.
  • More items in the maze.
  • Object collisions.
  • Earning points and/or losing life by picking up objects/traps.
  • Doors which can open and close.
  • Animations of a gun shot or animated sprite.
  • Several levels.
  • Sounds and music.

My bonuses

  • (Heavy bonuses can be toggled off by editing the cub file)
  • Portals and portal gun
  • Gaussian Blur (Optimised)
  • A* Pathfinder Object (In render thread with no stutters)
  • Goomba A* Pathfinder (In render thread with no stutters)
  • Movement/Camera with inertia
  • View Bobbing
  • Game speed based on computer time
  • macOS & Linux compatible (w/ transparency compatibility layer for x11)

Music by Sam Tranchet

Sound Effects: Freesounds