Skip to content

trngnneee/MarioGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

143 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mario Bros Game (C++ & SFML)

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.

🕹 Features

  • 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

📦 Dependencies

  • C++17 or later
  • SFML 2.5+

Make sure SFML is installed on your system and linked properly during compilation.

🛠 Build & Run Instructions

🧰 Microsoft Visual Studio (Recommended)

  1. Clone the Repository:
git clone https://github.com/your-username/mario-bros-game.git
cd mario-bros-game
  1. Open the Project:

Open the .sln file included in the root of the repository using Visual Studio 2019 or later.

  1. Run the Game:

Press Ctrl + F5 to build and run the game.

✅ SFML is pre-configured with the project. Just clone and play!

🎮 Controls

Action Key
Move Left A
Move Right D
Jump W
Shooting Enter

📬 Contact

For questions, feedback, or contributions, feel free to reach out:

Happy Playing!!!

About

A repository for our Game project Mario Bros of OOP Course

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages