You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
narnaud 630adb62f1 fix: camPlan not sync with playerDir 3 years ago
includes fix: camPlan not sync with playerDir 3 years ago
libft fix: rot_vec reducing vector progressivly, add: some more rework 3 years ago
maps fix: playerDir was normed to 0.66. add: biger test map 3 years ago
mlx README and getline start 3 years ago
sources fix: camPlan not sync with playerDir 3 years ago
LICENSE Initial commit 3 years ago
Makefile fix: rot_vec reducing vector progressivly, add: some more rework 3 years ago
README.md fix: rot_vec reducing vector progressivly, add: some more rework 3 years ago

README.md

CUBE3D

Subject

Resources :

Issues:

  • Distances increase while time pass.

Program life cycle :

Parsing

  • read file,
  • extract walls textures,
  • extract sky and ceil colors
  • import map into chained list,
  • comvert list to 2D array.
  • save player pos,
  • handle errors,
    • [-] not closed map
    • texture files not exist, not permited or with wrong extension
    • impossible color used
    • [-] missing map

Init

Window

Render

  • display ceil, walls and floor
  • display wall's texture

Control

  • enable commands
    • wasd to move
  • react to commands :
    • calculate new pos,
    • display new view,
    • avoid colisions
    • M to show minimap
    • SHIFT to run

Quit

  • clean and exit