Giter VIP home page Giter VIP logo

cub3d's Introduction

cub3d

Wolfenstein 3D game 같은 초기 형태의 3D 게임을 만들어보자

  • 2021.04.05 ~ 2021.04.19

스크린샷 2023-03-30 오후 6 50 58

스크린샷 2023-03-30 오후 6 51 40

  • make 또는 make bonus로 컴파일
  • ./Cub3D [.cub파일] 로 실행
  • Cun3D
    • .cub파일 읽어와서 텍스쳐와 맵 구성(Raycast)
      • 지도는 4개의 문자로만 구성(빈 공간인 경우 0, 벽인 경우 1, 아이템은 2, 플레이어의 시작 위치와 그에 따른 시점은 N, S, E, W)
      • 예시
        R 1920 1080
        NO ./path_to_the_north_texture
        SO ./path_to_the_south_texture
        WE ./path_to_the_west_texture
        EA ./path_to_the_east_texture
        
        S ./path_to_the_sprite_texture
        F 220,100,0
        C 225,30,0
        
            1111111111111111111111111
            1000000000110000000000001
            1011000001110000002000001
            1001000000000000000000001
        111111111011000001110000000000001
        100000000011000001110111111111111
        11110111111111011100000010001
        11110111111111011101010010001
        11000000110101011100000010001
        10002000000000001100000010001
        10000000000000001101010010001
        11000001110101011111011110N0111
        11110111 1110101 101111010001
        11111111 1111111 111111111111
        
    • WASD와 방향키로 조작(이동, 회전) 가능
    • bonus → 미니맵 표시, barrel 오브젝트 충돌 시 점수 획득

norminette 되어있지 않습니다..

cub3d's People

Contributors

mocha-kim avatar ayoungsn avatar

Watchers

 avatar

Forkers

ayoungsn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.