{"id":19884723,"url":"https://github.com/haletran/42_cub3d","last_synced_at":"2026-06-10T11:31:42.294Z","repository":{"id":237991168,"uuid":"795644954","full_name":"Haletran/42_Cub3D","owner":"Haletran","description":"My first RayCaster with MacrolibX","archived":false,"fork":false,"pushed_at":"2024-11-28T23:20:48.000Z","size":47576,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-03T10:39:09.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Haletran.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-03T18:07:30.000Z","updated_at":"2024-11-28T23:20:51.000Z","dependencies_parsed_at":"2025-01-11T18:44:54.479Z","dependency_job_id":null,"html_url":"https://github.com/Haletran/42_Cub3D","commit_stats":null,"previous_names":["haletran/42_cub3d"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Haletran/42_Cub3D","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Cub3D","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Cub3D/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Cub3D/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Cub3D/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haletran","download_url":"https://codeload.github.com/Haletran/42_Cub3D/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Cub3D/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34151274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T17:29:10.090Z","updated_at":"2026-06-10T11:31:42.116Z","avatar_url":"https://github.com/Haletran.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cub3D\n\n=\u003e Project made in collaboration with [@TonUpMan](https://github.com/TonUpMan)\n\n## Project Overview\nCub3D is a project developed as part of the 42 curriculum, inspired by the classic Wolfenstein 3D game. The goal is to create a simple 3D game using raycasting to render the environment. This project teaches fundamental concepts of graphics programming, game development, and low-level C programming using the MacroLibX library.\n\n## Features\n- Raycasting engine for 3D rendering\n- Basic movement and collision detection\n- Map parsing from `.cub` files\n- Wall and floor/ceiling textures\n- Dynamic minimap and FPS counter\n- Multiple weapons (knife and pistol)\n\n## Installation\n\nDownload the graphical library, for this project i used [MacroLibX](https://macrolibx.kbz8.me./) :\n```bash\nmake macro\n```\n\nClone the repository and compile the project by running the following commands:\n```bash\nmake\n```\n\nFor the bonus version, which includes additional features like mouse control, minimap and extra weapons, compile with:\n```bash\nmake bonus\n```\n\n## Usage\n\nRun the game by executing the binary with a map file as an argument:\n```bash\n./cub3D maps/map.cub or ./cub3D_bonus maps/map.cub\n```\n\nMaps are stored in .cub files and must adhere to a specific format, defining the layout of the walls, the starting position of the player, and textures for different surfaces.\n\n\n## Project Structure\n\n- images/    : Directory containing image assets\n- includes/  : Header files for the project\n- lib/       : Custom library files\n- MacroLibX/ : Graphical library for handling graphics and events\n- Makefile   : Makefile for building the project\n- maps/      : Directory containing map files (.cub)\n- sounds/    : Directory containing sound assets\n- src/       : Source files for the base version of the game\n- src_bonus/ : Source files for the bonus version of the game\n\n## Libraries\n\nThe project relies on the following libraries:\n\n    - MacroLibX : For handling graphics and events.\n    - libft: Custom C standard library implementation used throughout the project.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE)\n\nAnd adheres to the NORM V3 coding standards as specified by 42 School. I know i know...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaletran%2F42_cub3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaletran%2F42_cub3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaletran%2F42_cub3d/lists"}