This is a clone of the stack jump game.
Note : I haven't included "resources" directory which is extremely necessary to run this game, not including this due to it's size. You can add an issue about it if you want that directory.
(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 :
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++ stack-jump.cpp -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.)