A remake created by @nicolapreda of Bomberman official game with C/C++ and SFML library.
Author:
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Clone this repository with web interface or via git command:
git clone https://github.com/diskxo/bantumi
and save it into your local workspace.
- SFML 2.5.1 - GCC 7.3.0 MinGW (DW2) 32-bit (for Windows)
- GCC 7.3.0 MinGW (DW2) 32-bit (for Windows)
- Git Bash (for Windows)
- SFML 2.5.1 - Clang 64-bit
- Command Line Tools / XCode (type "xcode-select --install" in terminal to trigger the installer)
- Get SFML 2.5.1 from your distro if it has it, or compile from source
- Visual Studio Code
- Extensions (install from Extensions panel):
- Download & Extract SFML to C:/SFML-2.5.1/ where the bin/lib/include folders are contained within
- Download & Extract MinGW to C:/mingw32/ where the bin/lib/include folders are contained within
- Install "Command Line Tools" in MacOS if they're not already installed (type "xcode-select --install" in terminal)
- Follow the "Installing SFML" directions here: https://www.sfml-dev.org/tutorials/2.5/start-osx.php#installing-sfml
- Ensure the GCC Toolchain is installed
sudo apt install build-essential
or
sudo pacman -S base-devel
- Install libsfml
sudo apt install libsfml-dev
or
sudo pacman -S sfml
The SFML version you got will vary depending on the distro. 2.5.1 is included in Ubuntu 19.04 Disco Dingo for example.
- Download & Install Visual Studio Code if you don't already have it.
- Install the official C/C++ Extension, reload the window & wait for the dependencies to install.
- If on Windows, install Git Bash, and ensure the "terminal.integrated.shell.windows" property in the project's settings.json is set to bash.exe's correct location (default: C:/Program Files/Git/bin/bash.exe). We'll be using this for the terminal in our workspace so that the Makefile can run in both Windows, Mac & Linux
- In settings.json Ensure Path in the terminal.integrated.env.windows object is set to the correct location of the compiler's executable (example: C:\mingw32\bin) and the SFML directory is correct as well. Keep in mind Paths should be separated by a semi-colon with no spaces between.
Note: You can manage the "Path" environment variable from Windows if you'd like, but I've found sandboxing it in VS Code is better for tracking things like .dll dependencies.