This is a remake of the arcade game asteroids in C++.
http://github.com/zigarrre/asteroids
Please report any bugs to the issue tracker on the project page! Feature requests and improvements are also welcome!
For Arch Linux there is a package in the AUR: https://aur.archlinux.org/packages/asteroids
Just compile it from source for other distributions. See also section Compiling.
You can find compiled binaries here: https://github.com/zigarrre/asteroids/releases
To compile asteroids, you need SFML 2.1 (sfml-dev.org), Thor (SFML 2.1 compatible version) (bromeon.ch/libraries/thor), Boost (boost.org) and a compiler which supports C++11.
Asteroids is tested under Arch Linux (GCC) and Windows 7 (VS 2013). MinGW should also work but is not tested. Older versions of Visual Studio (e.g. 2010/2012) aren't supported because they lack proper C++11 support.
Tested versions are:
- SFML: 2.1
- Thor: commit f57666d (https://github.com/Bromeon/Thor/tree/f57666db6f187eb57bbc0947456cce2159a9b617)
- Boost: 1.56.0 (older versions should work too)
Use cmake to generate a makefile/projectfile for the compiler/IDE of your choice.
You can configure the path to the res folder, config file and highscore file via CMake settings.
git checkout git@github.com:zigarrre/asteroids.git
mkdir asteroids/build
cd asteroids/build
cmake ../
make
./asteroids