#platformer
An exceedingly simple platformer game because I needed to make something I can actually finish. SFML2 and C++ as always.
The point of the game is to run back and forth between the two platforms either side of the screen. What's in between those two pillars changes every time.
##Downloads
I upload a new build with every release.
Windows: 32-bit
##Building
The program requires SFML (>= 2.0) and libjsoncpp. Check your package manager, they seem to be available for most decent distros.
###Linux
Provided you have SFML and libjsoncpp installed in a standard place, it should be as easy as running:
make
sudo make install
platformer
Along with the instructions in the Linux section, edit the Makefile similar to Windows, like so:
FLAGS=-Wall -c -g -I/usr/local/include
LIBS=-L/usr/local/lib -lsfml-audio -lsfml-graphics -lsfml-window -lsfml-system
###Windows
####Using MinGW
If you have MinGW installed and in your path, you can use the supplied Makefile.
-
Download the MinGW build of SFML, and extract it somewhere convinient. I placed mine in a parent directory called 'lib'. Do the same with libjsoncpp.
-
Using cmd.exe, cd in to the directory and run the command:
mingw32-make SFML_PATH=..\lib\SFML-2.1 JSONCPP_PATH=..\lib\jsoncpp
- Run the game
platformer.exe
The 'install' and 'uninstall' targets don't work and I can't see them doing so any time in the near future, so you'll have to run the binary from the git directory for now.
##TODO:
-
Add more levels
-
Fix bugs