Skip to content

iMeaNz/my_rpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My_rpg

Overview

my_rpg is a lightweight 2D role-playing game engine written in C using the CSFML (C binding for SFML) library. It’s one of the core graphical projects in the Epitech curriculum, designed to demonstrate:

  • Modular C codebase and clean architecture
  • Real-time sprite animation and tile-based maps
  • State management (menus, pause, in-game, inventory)
  • Basic AI (NPC pathing, enemy combat)
  • Interactive dialogues, quests, save/load system

The concept of the game is inspired from the game Minit, the goal is to finish the game under 60 seconds, but each run, you keep your objects from the previous run.


Features

  • Main Menu & Pause Menu with animated background
  • Tile-based maps loaded from image files
  • Player movement (up/down/left/right)
  • Collision detection (walls, objects) using a separate image file
  • Inventory & HUD (health bar, item slots)
  • NPCs & Enemies with simple patrol/follow behaviors
  • Dialogue system for quests and story progression and with animated dialog bubble
  • Audio: background music, sound effects (CSFML Audio module)
  • Save/Load: persist player state and map position
  • Particle system: dynamic blood, snow and smoke

Screenshots

Main Menu
How to play
Start
Start
First zone
Slime


Dependencies

  • CSFML (>= 2.5.1)
  • GCC or Clang (>= C11 support)
  • Make (for build automation)
  • Standard C library headers (stdlib, stdio, math)

Compilation

  1. Clone the repository
git clone https://github.com/<your-username>/my_rpg.git
cd my_rpg
  1. Build with make
make

This will compile all sources and produce the executable my_rpg at the root of the repository.

About

Small rpg game made in CSFML as an end of first year project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors