Ce projet est inspiré du jeu éponyme mondialement connu, considéré comme le premier FPS jamais développé. Il vous permettra d'explorer la technique du ray-casting. Votre objectif est de faire une vue dynamique au sein d'un labyrinthe, dans lequel vous devrez trouver votre chemin.
Find a file
Theo Champion fdc8d02c34 fix(sprite caster): Fixed crash when sprites overlap
Actually I'm not that sure it's the sprite overlap but it happened when
the sprites overlapped too close to the player, but basically the
program tried to render pixels out of bounds from the images, tex_x or
tex_y were able to go < 0. I forcefully set them to 0 if it was the
case, and I didn't see really much of visual glitches or something.
Anyways I'll stop rambling in this commit, just to say I stopped a real
weird crash because when I tried using valgrind or sanitizers, the
program would behave well and not crash. Might be tied to how fast the
program renders frames ?
2025-08-19 20:07:19 +02:00
libft Started bonus part 2025-07-02 15:35:05 +02:00
mlx finally compiled the real mlx 2025-06-04 18:28:06 +02:00
ressources feat: load zombie sprites from map 2025-08-19 20:07:03 +02:00
src fix(sprite caster): Fixed crash when sprites overlap 2025-08-19 20:07:19 +02:00
.clangd fixed everything 2025-06-06 13:57:31 +02:00
.gitignore fix: prevent moving through walls in extreme lag situations 2025-08-12 12:16:57 +02:00
Makefile feat: basic zombie movement (very bad) 2025-08-19 20:06:40 +02:00
README feat: Added some credits 2025-08-19 20:07:04 +02:00
test_badmaps.sh tests: add a script to quickly run the program through all bad maps 2025-07-23 13:20:35 +02:00

-----------------------------------[ cub3d ]-----------------------------------

--[ Probleme possible avec la MLX sur un pc perso
attention /usr/bin/cc doit rediriger vers /usr/bin/clang

--[ liste des symboles
1 - mur
0 - espace vide
D - porte tel que defini dans le sujet
d - porte a points (cod)
Z - zombie
z - spawner zombie (porte a six coups pour les zombies)
s - source de son
M - boite magique

faire un systeme de "cheats" soit par un menu de debug soit par une ligne de
commande intégrée dans le jeu

--[ Correspondances des angles / points cardinaux

                   PI [ nord ]
        5 PI / 4 [NO]   |     3 PI / 4 [NE]
                        |
 3 PI / 2 [ouest] ----------- PI / 2 [est]
                        |     
       7 PI / 4 [SO]    |     PI / 4 [SE]
                    0 [ sud ]

--[ Credits

-[ Code

- kcolin
- tchampio

-[ Graphics

- kcolin
- B. (perks, power switch)
- tchampio