MyRPG
2024/5
Full RPG in C with CSFML — collision systems, rendering and game logic.


Tech: C, CSFML
MyRPG - 2D Adventure Game
An open-world RPG developed in C using the CSFML library, inspired by classics like Undertale/Zelda.
🎮 Game Overview
In this game, you explore a world, interact with NPCs, manage your inventory, and fight enemies. This project was a major milestone in learning software architecture and game loop optimization.
✨ Key Features
- Dynamic Engine: Smooth movements, collision handling, and map transitions.
- Inventory System: Item management and equipment stats.
- Combat System: Real-time / Turn-based (à adapter selon ton projet) combat logic.
- Save/Load: Persistence of player data.
- UI/UX: Custom menus, health bars, and dialogue boxes.
🖼️ Screenshots
| Exploration | Combat / Inventory |
|:---:|:---:|
|
|
|
🛠️ Installation
Requires libcsfml-dev to be installed.
# Successor RPG
## Requirements
- Linux
- C compiler (gcc/clang)
- `libcsfml-dev` (CSFML graphics/window/system/audio)
On Debian/Ubuntu:
```bash
sudo apt update
sudo apt install build-essential libcsfml-dev
Build & Run
From the repository root:
make
./my_rpg
Useful targets:
make: build the projectmake clean: remove object filesmake fclean: remove object files and the executablemake re: clean and rebuild
Repository Structure (selected)
srcs/: C source fileslib/: utility functionsassets/: images, music, dialogue textincludes/: public headerssaves/: save files
See srcs/init for entity initialization and srcs/combat for combat logic.
Contribution
Contributions are welcome — please follow CONTRIBUTING.md for the contribution guide.
Authors & Credits
This project was created by a team of Epitech students. Contributors:
- Angel-42 — https://github.com/Angel-42
- Mattaiuss — https://github.com/Mattaiuss
- EmilioEpitech — https://github.com/EmilioEpitech
- ReverteOlivier — https://github.com/ReverteOlivier
See AUTHORS.md for details.
Licensing
The project uses dual-licensing:
- Source code (files
.c,.h,lib/,srcs/, etc.): licensed under the MIT License (seeLICENSE). - Assets (images, music, sounds, dialogues, files under
assets/,musics/, etc.): licensed under Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) — seeLICENSE-ASSETS.
This separation keeps code open for reuse while protecting assets from commercial use without permission.
Bug reports / Contact
- Open an
issueto report a bug or suggest an improvement. - For direct contact, use the repository's GitHub page (issues or PRs).