This is a clone of the stack jump game.
(I will provide compiled binaries from release 1)
(Prevously I used CMake to build this project(see src/old/), but now I do that manually. I just want this project to be as simple as possible.)
- I would highly encourage you to follow the way described here : https://www.sfml-dev.org/tutorials/2.5/start-linux.php, I have almost copied the exact same steps, but in a shorter way, without explanations.
- Get a c++ compiler(on Ubuntu/Ubuntu based distros, run :
sudo apt install build-essential
) - Get SFML binaries(or you may build from it's source) goto https://www.sfml-dev.org/download.php and download the appropriate file.
- Extract
SFML-2.5.1-linux-gcc-64-bit.tar.gz
- Copy the contents of
SFML-2.5.1/lib/
to/usr/lib
(optional) - Copy the extracted directory to
src
directory of this project. cd
to the project'ssrc
directory and issue this command :g++ *.cpp -std=c++11 -I SFML-2.5.1/include/ -L SFML-2.5.1/lib/ -lsfml-graphics -lsfml-window -lsfml-system -o game
- If you have not followed the step 4, then issue this command to run the game :
export LD_LIBRARY_PATH=SFML-2.5.1/lib && ./game
(while inside the project'ssrc
directory), or else follow step 8. - Now to run this game issue this command :
./game
(while inside the project'ssrc
directory)
https://www.sfml-dev.org/tutorials/2.5/start-vc.php
(They have explained most of the steps very well. I would highly encourage you to read it.)
https://www.sfml-dev.org/tutorials/2.5/start-osx.php
(They have explained most of the steps very well. I would highly encourage you to read it.)