A custom Mario Bros-style platformer built in C++ using the SFML (Simple and Fast Multimedia Library). This project includes core platforming mechanics, enemy interactions, a game over sequence, and a classic retro feel.
- Classic 2D platformer gameplay
- Camera keep tracking of Mario
- Collision detection (tiles, enemies, boundaries)
- Player death animations and Game Over screen
- Start menu and Character select menu
- Sprite rendering with SFML
- C++17 or later
- SFML 2.5+
Make sure SFML is installed on your system and linked properly during compilation.
- Clone the Repository:
git clone https://github.com/your-username/mario-bros-game.git
cd mario-bros-game- Open the Project:
Open the .sln file included in the root of the repository using Visual Studio 2019 or later.
- Run the Game:
Press Ctrl + F5 to build and run the game.
✅ SFML is pre-configured with the project. Just clone and play!
| Action | Key |
|---|---|
| Move Left | A |
| Move Right | D |
| Jump | W |
| Shooting | Enter |
For questions, feedback, or contributions, feel free to reach out:
- GitHub: @trngnneeee
- Email: dtn06052005@gmail.com
Happy Playing!!!