Skip to content
/ Cub3d Public
forked from Oris482/Cub3d

subject for make 3d view with ray-casting: by_jaesjeon, jaemjeon

Notifications You must be signed in to change notification settings

CodyKat/Cub3d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

이 프로그램은 Intel Mac을 기준으로 작성되었습니다. (M1 Mac 가능)

간단한 3D 시뮬레이터 입니다.

  1. awds 를 이용해 움직입니다.
  2. m 키를 누르면 마우스를 이용해 상하좌우로 시선을 움직일 수 있습니다.
  3. shift키를 누르면 이동방향으로 대쉬가 가능합니다.
  4. hjkl키는 vim에서처럼 동서남북방향으로 직시 시선이동이 가능합니다.

플레이 화면 영상

cub3D.mov

맵 파일 예시

EA ./texture/EAST.png
WE ./texture/WEST.png
SO ./texture/SOUTH.png
NO ./texture/NORTH.png
F 128,128,0
C 30,144,255

        111111111111111111111111
        1000000000110000000000001
        1011000001110000000000001
        100100000000000000000001
        100100000000000000000001
        1001000000000000000N00001
111111111011000001110000000000001
100000000011000001110111110111111
11110111111111011100000010001
11110111111111011101010010001
11000000110101011100000010001
10000000000000001100000010001
10000000000000001101010010001
110000011101010111110111100111
11110111 1110101 101111010001
11111111 1111111 1111111111111

About

subject for make 3d view with ray-casting: by_jaesjeon, jaemjeon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 71.3%
  • Swift 18.1%
  • Roff 8.2%
  • Makefile 1.6%
  • Shell 0.8%