| Grade | |
|---|---|
🇫🇷 FRENCH VERSION
Ceci est un projet réalisé à l’école 42 en novembre 2024.
Il s’agit de créer un moteur de rendu en raycasting, permettant de naviguer dans un environnement pseudo-3D à partir d’une carte 2D.
Le projet met l’accent sur le rendu graphique avec MiniLibX, le parsing de fichiers, la gestion des textures, des sprites, des collisions, et des événements clavier/souris.
Implémentation d’un moteurde raycasting- Maîtrise des mathématiques
2D/3D(vecteurs, angles, projections) - Parsing robuste de fichiers de configuration
.cub - Utilisation avancée de
MiniLibX - Gestion des
textures,couleurs,collisions,mini-carte Événements utilisateur: clavier & souris- Optimisation mémoire et performances
- Travail en binôme
git clone https://github.com/N0fish/Cub3D.git
cd cub3Dmake
./cub3D map.cubmake bonus
./cub3D mapSprite.cubflags valgrind
valgrind --track-fds=yes --trace-children=yes --leak-check=full --show-leak-kinds=all ./cub3D name.cub🇬🇧 ENGLISH VERSION
This is a project from 42 School, completed in November 2024.
It aims to simulate a pseudo-3D world from a 2D map, using the C language and MiniLibX graphical library.
The project includes features such as map parsing, texturing, collision detection, animated sprites, and event handling.
Raycasting engineimplementation- Applied math in
2D/3D(vectors, angles, projections) - File parsing
.cuband error handling - Real-time rendering with
MiniLibX Textureandspritehandling,collisionsystem andmini-map- Keyboard and mouse
input handling - Memory management and optimization
- Teamwork
git clone https://github.com/N0fish/Cub3D.git
cd cub3Dmake
./cub3D map.cubmake bonus
./cub3D mapSprite.cubflags valgrind
valgrind --track-fds=yes --trace-children=yes --leak-check=full --show-leak-kinds=all ./cub3D name.cub🇷🇺 RUSSIAN VERSION
Это проект из школы 42, выполненный в ноябре 2024 года.
Цель — создать 3D-движок на основе техники raycasting, позволяющий игроку перемещаться по лабиринту, представленному как 2D-карта, в режиме от первого лица.
Проект включает в себя парсинг карты, рендеринг с текстурами, обработку коллизий, анимированные спрайты, и ввод с клавиатуры и мыши.
Реализация движкаraycasting- Применение математики
2D/3D(углы, векторы, проекции) - Разбор файлов
.cubи проверка на ошибки - Графический вывод через
MiniLibX - Работа с
текстурами,спрайтами,коллизиямииmini-картой Управление вводом(клавиши, мышь)- Оптимизация и управление памятью
- Работа в команде
git clone https://github.com/N0fish/Cub3D.git
cd cub3Dmake
./cub3D map.cubmake bonus
./cub3D mapSprite.cubфлаги valgrind
valgrind --track-fds=yes --trace-children=yes --leak-check=full --show-leak-kinds=all ./cub3D name.cubThe project is a raycasting engine inspired by the legendary game Wolfenstein 3D, considered the first FPS in video game history.
| Bonus | |
|---|---|