Skip to content

Video game inspired by wolf 3D using minilibx library and ray-casting technology

Notifications You must be signed in to change notification settings

GuillaumeOz/42_cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projet Cub3D

Cub3D is an individual school project at 42 Paris campus. It is Video game project inspired by Wolfenstein 3D using Minilibx library and ray-casting technology.

cub3d_gif gif

Installation

Run without bonus

make all

./cub3D /maps/map.cub

Run with bonus

make bonus

./cub3D /maps/bonus_map.cub

Game Commands

  • WASD to move
  • Left/Right directional keys to rotate camera
  • Right shift for sprint (bonus part only)
  • Left shift to rotate the camera with the mouse (bonus part only)
  • U/J,I/K,O/L keys for change the sprite shape (bonus part only)
  • M key for display the minimap (bonus part only)
  • P key for display the FPS (bonus part only)
  • Q key for put diamond block (bonus part only)
  • E key for break diamond block (bonus part only)
  • ESC to quit

BONUS

  • Collision with walls
  • Sprite transformation
  • Animated sprite
  • Collision with sprites
  • Mouse camera control
  • Minimap display
  • Textured floor, ceiling
  • Fog war on walls, floor, ceiling and sprite
  • FPS counter
  • Secret Door
  • Breakable blocks
  • Put blocks
  • Sprint

This project works only under a Linux OS, to make it work under a MACOS please install the associated Minilibx.

About

Video game inspired by wolf 3D using minilibx library and ray-casting technology

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages