/cub3d

2D CPU-based raycasting demo based on Wolfenstein

Primary LanguageC

Cub3D

By cigarcia and apena-ba at 42 Málaga

Screenshots

screenshot2 screenshot1

Features

  • Wall collisions
  • Sprite rendering and animation from spritesheet
  • Textures (multiple size support)
  • Doors that open and close, with collision
  • Minimap
  • Sprinting

Controls

  • WASD to move
  • ← → or mouse movement to rotate
  • ESC to exit
  • SPACE or RMB to open/close doors
  • LMB to shoot
  • SHIFT to sprint