git repos / blockattack-game

blame: README.md

normal view · raw

7dbd2cb6 Poul Sander 2015-12-22 19:42 1
# blockattack-game [![Build Status](https://travis-ci.org/blockattack/blockattack-game.svg?branch=master)](https://travis-ci.org/blockattack/blockattack-game)
3327bb0f Poul Sander 2015-11-08 19:30 2
Block Attack - Rise of the Blocks - the game
3327bb0f Poul Sander 2015-11-08 19:30 3
A Tetris Attack Clone under the GPL. 
3327bb0f Poul Sander 2015-11-08 19:30 4
3327bb0f Poul Sander 2015-11-08 19:30 5
# Dependencies
3327bb0f Poul Sander 2015-11-08 19:30 6
  * A version of g++ with C++11 support. Tested on g++-4.9
b81f58ad sago007 2015-12-25 22:48 7
  * libSDL2
c18f506d sago007 2015-12-25 15:47 8
  * libSDL2_image
c18f506d sago007 2015-12-25 15:47 9
  * libSDL2_mixer
c18f506d sago007 2015-12-25 15:47 10
  * libSDL2_ttf
3327bb0f Poul Sander 2015-11-08 19:30 11
  * libphysfs
3327bb0f Poul Sander 2015-11-08 19:30 12
  * libboost (only needed for compiling)
227d1f4e sago007 2015-12-05 07:34 13
  * libutfcpp (only needed for compiling)
c18f506d sago007 2015-12-25 15:47 14
  * jsoncpp
3327bb0f Poul Sander 2015-11-08 19:30 15
3327bb0f Poul Sander 2015-11-08 19:30 16
# Building
c18f506d sago007 2015-12-25 15:47 17
The only supported build method is using the Makefile
3327bb0f Poul Sander 2015-11-08 19:30 18
To build do:
3327bb0f Poul Sander 2015-11-08 19:30 19
```
5614ab55 sago007 2016-01-17 13:44 20
cmake .
3327bb0f Poul Sander 2015-11-08 19:30 21
make
3327bb0f Poul Sander 2015-11-08 19:30 22
```
3327bb0f Poul Sander 2015-11-08 19:30 23
The result should be in the "Game"-folder. To run
3327bb0f Poul Sander 2015-11-08 19:30 24
```
5614ab55 sago007 2016-01-17 13:44 25
cd ./Game/blockattack
3327bb0f Poul Sander 2015-11-08 19:30 26
```
3327bb0f Poul Sander 2015-11-08 19:30 27
5614ab55 sago007 2016-01-17 13:44 28
Windows build uses MXE (mxe.cc) with these installed:
5614ab55 sago007 2016-01-17 13:44 29
```
5614ab55 sago007 2016-01-17 13:44 30
sdl2 sdl2_image sdl2_mixer sdl2_ttf physfs jsoncpp libtool gettext freetype zlib boost
5614ab55 sago007 2016-01-17 13:44 31
```
5614ab55 sago007 2016-01-17 13:44 32
and libutfcpp copied from "source/misc/travis_help/utf8_v2_3_4/source/" to "/path/to/mxe/usr/lib/gcc/i686-w64-mingw32.static/4.9.3/include"
3327bb0f Poul Sander 2015-11-08 19:30 33
5614ab55 sago007 2016-01-17 13:44 34
Compiled with:
5614ab55 sago007 2016-01-17 13:44 35
```
5614ab55 sago007 2016-01-17 13:44 36
i686-w64-mingw32.static-cmake --debug-output . && make
5614ab55 sago007 2016-01-17 13:44 37
```
5614ab55 sago007 2016-01-17 13:44 38
As of 2016-01-17 the Windows version crashes but it will work eventually
1970-01-01 00:00 39