C++14 FOSS clone of "Super Hexagon". Depends on SSVStart, SSVEntitySystem, SSVLuaWrapper, SSVMenuSystem, JSONcpp, SFML2.0. Features JSON/LUA customizable game files, a soundtrack by BOSSFIGHT, pseudo-3D effects.
C++ Lua HTML CMake Shell Batchfile

README.md

##Open Hexagon 2.0 - by Vittorio Romeo


###Official README


A C++14 compiler is required!

  • g++ 5.1 and clang++ 3.4 should work properly.

How to build on Linux (debian derivatives)

Tested on Linux Mint 15 x64 and Linux Mint 15 x86.

  1. Clone this repository and initialize it
git clone git://github.com/SuperV1234/SSVOpenHexagon.git
cd SSVOpenHexagon
./init-repository.sh
  1. If your distribution packages SFML 2 you can install it through your package manager otherwise build and install it manually - you can also try the Ubuntu PPA or the official binaries

  2. Install dependencies

sudo apt-get install liblua5.2-dev zlib1g-dev
  1. Build dependencies and Open Hexagon
./build-repository-oh.sh
  1. Download assets
./wget-assets.sh ./_RELEASE/

How to build on Arch Linux

Tested on Arch Linux x64 and ArchBang x86.

  1. Clone this repository and initialize it
git clone git://github.com/SuperV1234/SSVOpenHexagon.git
cd SSVOpenHexagon
./init-repository.sh
  1. Install dependencies
sudo pacman -S sfml lua51 zlib
  1. Build dependencies and Open Hexagon
cd SSVOpenHexagon
./build-repository-oh.sh
  1. You may have to append /usr/local/lib to the $PATH or $LD_LIBRARY_PATH environment variables to allow Open Hexagon to find the required libraries - if that doesn't work, try:
sudo ldconfig /usr/local/lib  
  1. Download assets
./wget-assets.sh ./_RELEASE/

How to build on Windows

Tested on Windows 8 x86

  1. Get 7-Zip, MinGW and add it to your $PATH, CMake, Git, UPX

  2. Clone this repository and open bash

git clone git://github.com/SuperV1234/SSVOpenHexagon.git
cd SSVOpenHexagon
  1. Pull everything recursively using git bash
./init-repository.sh`
  1. Get SFML2.1, Lua5.2 binaries, Lua5.2 includes, Zlib and extract in SSVOpenHexagon/extlibs/, manually adjusting paths to have the result shown below
extlibs/SSV*/
	...
extlibs/SFML/
extlibs/SFML/bin/
extlibs/SFML/lib/
extlibs/SFML/include/
	...
extlibs/lua/
extlibs/lua/include/
extlibs/lua/lib/
	...
extlibs/zlib/
extlibs/zlib/bin/
extlibs/zlib/include/
extlibs/zlib/lib/
  1. Build with ./build-win.bat and download assets manually from http://vittorioromeo.info/Misc/Linked/OHResources/