/cub3d

my first raycasting engine based on angles

Primary LanguageC

cub3d

Wolfenstein-like game run on raycasting engine

basic mode

$ make
$ ./cub3d ./maps/basic.cub

스크린샷 2020-08-01 오후 9 50 53

  • textured wall
  • sprite
  • wall collision
  • object collision
  • screenshot ( ./cub3d ./maps/basic.cub --save)

bonus mode

$ make bonus
$ ./cub3d ./maps/pengsoo.cub

스크린샷 2020-08-01 오후 10 09 59

  • minimap
  • lifebar
  • background music
  • items(tuna cans)
  • looking down and up (↑ and ↓ key)
  • change speed( + and - key)

tutorial

pikuma's javascript raycasting course (https://courses.pikuma.com/courses/raycasting)