Giter VIP home page Giter VIP logo

cub3d's Introduction

cub3D Projesi

Cub3D, birinci şahıs perspektifinden bir labirenti gezmenizi sağlayan bir grafik tasarım projesidir. Bu proje, meşhur video oyunu Wolfenstein 3D'nin basitleştirilmiş bir versiyonu olarak düşünülebilir. Projede, Ray-Casting teknikleri kullanılarak 3 boyutlu bir görüntü oluşturulur.

Kurulum

Projeyi yerel makinenize klonlamak için aşağıdaki komutu kullanabilirsiniz: git clone https://github.com/zehraarslan/cub3D.git

Kullanım

Projeyi derlemek ve çalıştırmak için aşağıdaki komutları kullanabilirsiniz:

  • make
  • ./cub3D map.cub

Özellikler

  • Projede bir labirent, farklı duvar dokuları ve bir sprite (nesne) kullanılmıştır.
  • Kullanıcı, labirent içerisinde 'W', 'A', 'S', 'D' tuşları ile hareket edebilir ve sağ/sol yön tuşları ile görüş açısını değiştirebilir.
  • Labirentin duvarları farklı dokulara sahip olabilir ve bu dokular, bir .cub dosyası ile tanımlanır.
  • Projede, çarpışma algılama özelliği bulunmaktadır. Bu sayede, kullanıcı duvarlara çarpmaz.
  • Ray-Casting tekniği kullanılarak 3D görüntü oluşturulur.

Yapılandırma

  • Oyunun ayarları ve harita, .cub dosyası içerisinde tanımlanır.
  • .cub dosyası, oyunun başlangıç ayarlarını, duvar dokularını, sprite'ı, tavan ve zemin renklerini ve oyun haritasını içerir.

cub3d's People

Watchers

Zehra ARSLAN avatar

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.