Jeu_MarioSDL is a modular, SDL2-based framework for developing engaging 2D platformer games. It provides a structured architecture that manages rendering, user input, obstacles, platforms, and game states, enabling developers to create interactive and dynamic gameplay experiences efficiently.
Why Jeu_MarioSDL?
This project aims to simplify the development of SDL2 games by offering a well-organized codebase and automation tools. The core features include:
- 🟢 Modular Design: Clear separation of game components like player, obstacles, and events for easy maintenance and scalability.
- 🔵 Automated Build Process: Makefile and setup scripts streamline compilation, resource management, and execution.
- 🟠 Real-Time Event Handling: Responsive input processing and event management for smooth gameplay.
- 🟣 Dynamic Game Elements: Procedural obstacle and platform management to keep gameplay engaging.
- 🟡 SDL2 Integration: Efficient rendering and input handling for a seamless visual and interactive experience.
| Component | Details | |
|---|---|---|
| ⚙️ | Architecture |
|
| 🔩 | Code Quality |
|
| 📄 | Documentation |
|
| 🔌 | Integrations |
|
| 🧩 | Modularity |
|
| 🧪 | Testing |
|
| ⚡️ | Performance |
|
| 🛡️ | Security |
|
| 📦 | Dependencies |
|
└── Jeu_MarioSDL/
├── Makefile
├── MarioSDL
├── README.md
├── dependencies
│ ├── blocs.o
│ ├── dangers.o
│ ├── events.o
│ ├── game.o
│ ├── main.o
│ └── player.o
├── filesC
│ ├── blocs.c
│ ├── dangers.c
│ ├── events.c
│ ├── game.c
│ ├── main.c
│ └── player.c
├── images
│ ├── background_accueil.png
│ ├── background_game.jpg
│ ├── background_game2.jpg
│ ├── joueur1.png
│ ├── joueur1_.jpg
│ ├── joueur2.png
│ └── joueur2_.jpg
├── include
│ ├── blocs.h
│ ├── dangers.h
│ ├── events.h
│ ├── game.h
│ └── player.h
├── sauv_MarioSDL_before_obstacle
├── sauv_MarioSDL_obstacles
└── start.shThis project requires the following dependencies:
- Programming Language: C
- Package Manager: Make
Build Jeu_MarioSDL from the source and install dependencies:
-
Clone the repository:
❯ git clone https://github.com/RMichel14/Jeu_MarioSDL
-
Navigate to the project directory:
❯ cd Jeu_MarioSDL -
Install the dependencies:
SDL2 & SDL_image
Run the project with:
Using start file:
./start.shJeu_mariosdl is protected under the Boost Software License 1.0. For more details, refer to the LICENSE.