- This project is an assignment from a C++ game programing free course that I learnt on youtube.
- Because of the lack of assets and resources, the project is still incomplete.
- You can watch the course here
You should have the following dependencies installed:
gitg++(or any C++ compiler)make- SFML library (3.0)
Steps:
-
Clone the repository:
git clone https://github.com/thkinh/MarioClone.git
-
Navigate into the project directory:
cd MarioClone -
Run the setup script:
./run.sh
This will automatically build the project and run the game.
-
Install dependencies:
- Install Git for Windows.
- Install a C++ compiler, such as MinGW.
- Setup SFML. (>2.0 && <3.0)
-
Switch to the master branch:
The Windows build code is on the
masterbranch. Run the following command to switch to it:git checkout master
-
Build the project by using VisualStudio:
- Open VisualStudio on the MarioClone folder and run.