{"id":20687159,"url":"https://github.com/barimehdi77/42-cub3d","last_synced_at":"2025-08-22T11:39:47.136Z","repository":{"id":110027291,"uuid":"259989441","full_name":"barimehdi77/42-cub3d","owner":"barimehdi77","description":"Cub3D (42cursus) 2019-2020. This project is inspired by the world famous game, cociderate like the first FPS never developed. First look of the ray-casting. The aim is to do a dynamic view in a maze.","archived":false,"fork":false,"pushed_at":"2021-08-19T03:21:04.000Z","size":46339,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T00:47:38.397Z","etag":null,"topics":["c","coins","crosshair","cub3d","floor","ft-cub3d","graphics-programming","minimap","raycasting","sky","sprite","texture","wall"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barimehdi77.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"patreon":"Barimehdi","ko_fi":"barimehdi77","liberapay":"Barimehdi77","issuehunt":"barimehdi77","custom":["buymeacoffee.com/barimehdi77","https://paypal.me/barimehdi77"]}},"created_at":"2020-04-29T17:06:24.000Z","updated_at":"2022-03-04T09:46:08.000Z","dependencies_parsed_at":"2023-04-20T22:16:29.891Z","dependency_job_id":null,"html_url":"https://github.com/barimehdi77/42-cub3d","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/barimehdi77/42-cub3d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barimehdi77%2F42-cub3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barimehdi77%2F42-cub3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barimehdi77%2F42-cub3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barimehdi77%2F42-cub3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barimehdi77","download_url":"https://codeload.github.com/barimehdi77/42-cub3d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barimehdi77%2F42-cub3d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271631161,"owners_count":24793437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"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":["c","coins","crosshair","cub3d","floor","ft-cub3d","graphics-programming","minimap","raycasting","sky","sprite","texture","wall"],"created_at":"2024-11-16T22:56:15.069Z","updated_at":"2025-08-22T11:39:47.110Z","avatar_url":"https://github.com/barimehdi77.png","language":"C","funding_links":["https://patreon.com/Barimehdi","https://ko-fi.com/barimehdi77","https://liberapay.com/Barimehdi77","https://issuehunt.io/r/barimehdi77","buymeacoffee.com/barimehdi77","https://paypal.me/barimehdi77","https://www.buymeacoffee.com/barimehdi77","https://ko-fi.com/K3K45UOA7"],"categories":[],"sub_categories":[],"readme":"# 🎮 ft_cub3d\nThe Graphic project of 1337 curses\n\n# 🌎 The Global Goal\nThe goal of cub3d is to make something using raycasting (like [Wolfenstein 3D](https://fr.wikipedia.org/wiki/Wolfenstein_3D)).\n\n# 🕹 The MiniGoals\n- WASD to move, QE or Left/Right directional keys to rotate camera\n- I to toggle Interface, O to toggle crosshair, L to toggle shadows\n- ESC to quit\n- Textures for each sides (North, South, West, East) and Sky/Floor\n- Crosshair\n- 3 different sprites\n- Minimap\n- Collectable items\n\n# Till Now\n`NOTE: The project is Finished Now, So this is The last Version (maybe?)`. \u003cbr /\u003e\n\u003e**What's New?**\u003cbr /\u003e\n\u003e\u003e    - The Mandatory Part is Done Just need to be normed.\u003cbr /\u003e\n\u003e\u003e    - The Bonus Part is Done Just need to be normed.\u003cbr /\u003e\n\u003e\u003e    - HUD:\u003cbr /\u003e\n\u003e\u003e\u003e        - The MiniMap is done.\u003cbr /\u003e\n\u003e\u003e\u003e        - Heart to show you how many life you have.\u003cbr /\u003e\n\u003e\u003e\u003e        - Counting score.\u003cbr /\u003e\n\u003e\u003e    - Sprite:\u003cbr /\u003e\n\u003e\u003e\u003e        - Now You can add More Then one sprite.\u003cbr /\u003e\n\u003e\u003e\u003e        - add coins and bomb to collect.\u003cbr /\u003e\n\u003e\u003e    - Fix Some Bugs.\u003cbr /\u003e\n\u003e      The project is Finished Now, So this is The last Version (maybe?) (^-^).\u003cbr /\u003e\u003cbr /\u003e\n# ✅ What is finished?\n- The Things that just finished\n  1. [x] The walls are draw\n  2. [x] Your Player can Move forward and backward and Rotate to right and left Now.\n  3. [x] Minimap.\n  4. [x] Textuer, every side of the wall have it's texture.\n  5. [x] Draw the sky and the floor color.\n  6. [x] Add texture for The N,E,W, and S of the wall.\n  7. [x] the Game now can read the Map from a .cub file look at ``./maps`` folder.\n  8. [x] Player can move to left and right.\n  9. [x] fix some bugs in the map reading.\n  10. [x] add --save flag get a screen shot to the map.\n  11. [x] All The bugs in Map files has been fixed.\n  12. [x] Fix some Bugs.\n  13. [x] Edit The Files.\n  14. [x] The texture for the sky and the floor.\n  15. [x] More items in the Maze.\n  16. [x] Sounds and Music.\n  17. [x] Coins and Bombs To Collect.\n- Working on:\n  1. [ ] Nothing For Now.\n  \n# 📸 ScreenShot From The Game:\n![Image From The game](https://github.com/barimehdi77/ft_cub3d/blob/master/screenshot.bmp)\n\n# 💀 The project Deadline\n**For Mandatory Part:**  \n  - started: `28/04/2020`.  \n  - The deadline: ` 01/11/2020`.  \n\n**For The Bonus part:**  \n  - started: `AFTER FINESH The Mandatory part (14/11/2020)`.  \n  - The Deadline:  `30/11/2020`.\n# 👨‍💻 Ressources\n- [Playable Wolfenstein 3D](http://users.atw.hu/wolf3d/)\n- [Raycasting in JS](http://www.playfuljs.com/a-first-person-engine-in-265-lines/)\n- [Some X11 event numbers](https://github.com/qst0/ft_libgfx)\n- [Full tutorial in English](https://lodev.org/cgtutor/raycasting.html)\n- [Images in minilibx](https://github.com/keuhdall/images_example)\n- [BMP format on StackOverflow](https://stackoverflow.com/questions/2654480/writing-bmp-image-in-pure-c-c-without-other-libraries)\n- [BMP format explanation](https://web.archive.org/web/20080912171714/http://www.fortunecity.com/skyscraper/windows/364/bmpffrmt.html)\n\n---\n[![\"Buy Me A Coffee\"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/barimehdi77)\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/K3K45UOA7)\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://paypal.me/barimehdi77)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarimehdi77%2F42-cub3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarimehdi77%2F42-cub3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarimehdi77%2F42-cub3d/lists"}