Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup and Run Instructions

Clone the Repository

git clone https://github.com/Bishmit/Plane.git
cd Plane

Linux (Debian/Ubuntu-based)

sudo apt update
sudo apt install libsfml-dev ninja-build cmake g++
mkdir build && cd build
cmake .. -G Ninja   # Use "cmake .." you prefer Make
ninja               # If using Make, run: make
./bin/Plane

Linux(Arch based)

sudo pacman -Syu sfml ninja cmake gcc
mkdir build && cd build
cmake .. -G Ninja
ninja
./bin/Plane

Linux(fedora)

sudo dnf install SFML-devel ninja-build cmake g++
mkdir build && cd build
cmake .. -G Ninja
ninja
./bin/Plane

MacOs

brew install sfml ninja cmake
mkdir build && cd build
cmake .. -G Ninja
ninja
./bin/Plane

If SFML isn't detected, set the environment variable:

export SFML_DIR=$(brew --prefix sfml)

Windows

Using Visual Studio (Recommended)

mkdir build && cd build
cmake .. -G "Visual Studio 17 2022"
Open the generated .sln file in Visual Studio, set the project as the startup project, then build and run it.

Using VS Code / Neovim / Other Editors

--- Make sure  SFML is correctly installed and configured ---
mkdir build && cd build
cmake .. -G Ninja
ninja
./bin/Plane

Notes

- If using Windows, you may need to configure the SFML library path manually.
- If using macOS, ensure SFML is correctly linked via Homebrew.

About

Game made in C++ which uses SFML to manage graphics in which we shoots the enemy plane and dodge the bullets from enemy plane and more.. Working on it

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages