{"id":19694068,"url":"https://github.com/doctorpok42/rpg","last_synced_at":"2026-06-10T06:35:00.182Z","repository":{"id":162956572,"uuid":"620292121","full_name":"DoctorPok42/RPG","owner":"DoctorPok42","description":"RPG is a simple role-playing game written in C","archived":false,"fork":false,"pushed_at":"2024-06-02T16:47:03.000Z","size":25584,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-10T09:20:26.695Z","etag":null,"topics":["c","epitech-project","game","rpg","zelda"],"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/DoctorPok42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-03-28T11:59:59.000Z","updated_at":"2023-10-01T14:07:53.000Z","dependencies_parsed_at":"2023-10-01T16:00:57.009Z","dependency_job_id":"5c535c9c-9f3f-4617-bf3b-c160c40297df","html_url":"https://github.com/DoctorPok42/RPG","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/DoctorPok42%2FRPG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorPok42%2FRPG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorPok42%2FRPG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorPok42%2FRPG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DoctorPok42","download_url":"https://codeload.github.com/DoctorPok42/RPG/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241005119,"owners_count":19892741,"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":["c","epitech-project","game","rpg","zelda"],"created_at":"2024-11-11T19:19:45.985Z","updated_at":"2026-06-10T06:35:00.153Z","avatar_url":"https://github.com/DoctorPok42.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"assets/imgs/map.png\" /\u003e\n\u003c/div\u003e\n\n# RPG\n\n[![rpg](https://github.com/DoctorPok42/RPG/actions/workflows/rpg.yml/badge.svg?branch=main)](https://github.com/DoctorPok42/RPG/actions/workflows/rpg.yml)\n\n## Description\n\nRPG is a simple role-playing game written in C.\n\nIt is a school project for the first year at Epitech.\n\nWe based our game on the game Link's Awakening.\n\nWe used the same map, the same sprites and the same music.\n\n## Installation\n\n### Linux\n\n```bash\n$ git clone git@github.com:DoctorPok42/RPG.git\n$ cd RPG\n$ make\n$ ./my_rpg\n```\n\n## Explanation\n\n### 3D Isometric\n\nWe used the 3D isometric projection to display the map.\n\nWe used another map to display the map in 3D. This map have just the sprite that we want in 3D (like the trees and the houses).\n\n\u003cimg src=\"assets/imgs/iso3.png\" /\u003e\n\n### Colision\n\nThe colision is based on the pixel perfect colision. It means that the colision is based on the alpha channel of the sprite. If the alpha channel is equal to 0, it means that the pixel is opaque and the player can't go through it. Else, the player can go through it.\n\nWe use a another map to check the colision. This map is a copy of the map but with the alpha channel of the sprite.\n\n\u003cimg src=\"assets/imgs/collision3.png\" /\u003e\n\n## Usage\n\n### Controls\n\n-   `flèches directionnelles` to move\n-   `E` to interact\n-   `ESC` to pause the game\n\n### Gameplay\n\nThe goal of the game is to reach the end of the map. You can interact with objects by pressing `E` when you are close enough to them. You can also talk to NPCs by pressing `E` when you are close enough to them. You can pause the game by pressing `ESC`.\n\n## Technical\n\n- C\n- CSFML\n\n## Folder structure\n\n-   `assets/` contains all the assets of the game\n-   `include/` contains all the header files\n-   `lib/` contains all the libraries used in the project\n-   `src/` contains all the source files\n-   `src/utils/create/` contains all the source files to create the game\n-   `src/utils/display/` contains all the source files to display the game\n-   `src/utils/event/` contains all the source files to handle the events\n\n## Authors\n\n- [Periicles](https://github.com/Periicles)\n- [antoinefilleul](https://github.com/antoinefilleul)\n- [JBStoquer](https://github.com/JBStoquer)\n- [DoctorPok42](https://github.com/DoctorPok42)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoctorpok42%2Frpg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoctorpok42%2Frpg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoctorpok42%2Frpg/lists"}