{"id":23090350,"url":"https://github.com/lschrafstetter/42_cub3d","last_synced_at":"2025-04-03T17:43:47.759Z","repository":{"id":59391501,"uuid":"529188435","full_name":"lschrafstetter/42_cub3d","owner":"lschrafstetter","description":"This is the \"cub3D\" project of the 42 School core curriculum. The goal was to create a raycaster in C (wolfenstein3D clone).","archived":false,"fork":false,"pushed_at":"2022-09-20T08:56:12.000Z","size":4850,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T06:18:54.144Z","etag":null,"topics":["42","42wolfsburg","cub3d","raycaster","raycasting","wolfenstein-3d"],"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/lschrafstetter.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}},"created_at":"2022-08-26T09:05:16.000Z","updated_at":"2022-10-24T14:43:15.000Z","dependencies_parsed_at":"2023-01-18T15:31:13.746Z","dependency_job_id":null,"html_url":"https://github.com/lschrafstetter/42_cub3d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lschrafstetter%2F42_cub3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lschrafstetter%2F42_cub3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lschrafstetter%2F42_cub3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lschrafstetter%2F42_cub3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lschrafstetter","download_url":"https://codeload.github.com/lschrafstetter/42_cub3d/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247051967,"owners_count":20875677,"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","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":["42","42wolfsburg","cub3d","raycaster","raycasting","wolfenstein-3d"],"created_at":"2024-12-16T20:52:56.758Z","updated_at":"2025-04-03T17:43:47.737Z","avatar_url":"https://github.com/lschrafstetter.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cub3d\n\nThis is the cub3D project of the 42 curriculum. A wolfenstein3D clone to practice working in openGL and learn raycasting.\n\n![image](https://user-images.githubusercontent.com/98647720/191196415-c2b10329-ed74-4d3c-a3df-ea616e8fa730.png)\n\nHow to use it (Linux or macOS):\n- This project used the minilibX of the 42 School: an X-Window API in C:\n - MLX https://github.com/42Paris/minilibx-linux\n - on Linux: \"make\" the library via the Makefile and copy the header and library file (mlx.h and libmlx.a) in your according PATH folders.\n - on macOS: just \"make\" the library via the Makefile. The header and library file in the mlx folder of this project will be used.\n- clone the repo\n- \"make\" via Makefile\n- you need a working x server (https://harm-smits.github.io/42docs/libs/minilibx/getting_started.html)\n\nHow to play:\n- ./cub3D maps/mc.cub or (longer loading because of bigger texture files) ./cub3D maps/lsd.cub (TRIGGER WARNING: EPILEPSY!)\n- movement: wasd\n- rotation: arrow left/right or mouse\n- open doors: e\n- end: esc\n\nThe task was to create a wolfenstein3D clone / raycaster with the following features:\n- a 3D game with movement (forward/backwards, strafing, rotation) with wasd (rotation error keys)\n- 4 different wall textures which differ according to the direction they are projected at (no/ea/so/we)\n- floor and ceiling color can be changed in the map file\n- customizable map in map file (space: empty, 0: floor, 1: wall, N/E/S/W: player, D: door)\n- player can start with four different orientations (no/ea/so/we)\n- map error handling (no open maps, number of players = 1, etc.)\n- following BONUSES were added:\n - wall collision / wall gliding\n - doors which can open and close\n - rotation via mouse\n - minimap\n\nDisclaimer: This project was created as a school project with the strict 42 \"Norminette\" norm, including:\n\nvariable declarations at the beginning of the file\nno declaration and initialization on the same line\nonly while loops allowed\nonly 25 lines per function\nonly 5 functions per .c file\nno comments inside of functions\nmore minor things...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flschrafstetter%2F42_cub3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flschrafstetter%2F42_cub3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flschrafstetter%2F42_cub3d/lists"}