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
c8b43ea3 sago007 2016-02-02 18:20 3
A Tetris Attack Clone under the GPL.
3327bb0f Poul Sander 2015-11-08 19:30 4
0540c530 Poul Sander 2016-01-19 20:48 5
www.blockattack.net
0540c530 Poul Sander 2016-01-19 20:48 6
0540c530 Poul Sander 2016-01-19 20:48 7
##Screen shot
0540c530 Poul Sander 2016-01-19 20:48 8
![Block Attack - Rise of the Blocks 2.0.0 snapshot](/source/misc/screenshots/screen_shot_2016_01_19.png?raw=true "Screen shot from 2016-01-19")
0540c530 Poul Sander 2016-01-19 20:48 9
3327bb0f Poul Sander 2015-11-08 19:30 10
# Dependencies
3327bb0f Poul Sander 2015-11-08 19:30 11
  * A version of g++ with C++11 support. Tested on g++-4.9
b81f58ad sago007 2015-12-25 22:48 12
  * libSDL2
c18f506d sago007 2015-12-25 15:47 13
  * libSDL2_image
c18f506d sago007 2015-12-25 15:47 14
  * libSDL2_mixer
c18f506d sago007 2015-12-25 15:47 15
  * libSDL2_ttf
3327bb0f Poul Sander 2015-11-08 19:30 16
  * libphysfs
3327bb0f Poul Sander 2015-11-08 19:30 17
  * libboost (only needed for compiling)
421f2139 sago007 2016-02-08 18:11 18
  * libboost-program-options
227d1f4e sago007 2015-12-05 07:34 19
  * libutfcpp (only needed for compiling)
c18f506d sago007 2015-12-25 15:47 20
  * jsoncpp
3327bb0f Poul Sander 2015-11-08 19:30 21
3327bb0f Poul Sander 2015-11-08 19:30 22
# Building
c18f506d sago007 2015-12-25 15:47 23
The only supported build method is using the Makefile
3327bb0f Poul Sander 2015-11-08 19:30 24
To build do:
3327bb0f Poul Sander 2015-11-08 19:30 25
```
daad7b02 sago007 2016-01-19 19:33 26
./packdata.sh
5614ab55 sago007 2016-01-17 13:44 27
cmake .
3327bb0f Poul Sander 2015-11-08 19:30 28
make
3327bb0f Poul Sander 2015-11-08 19:30 29
```
3327bb0f Poul Sander 2015-11-08 19:30 30
The result should be in the "Game"-folder. To run
3327bb0f Poul Sander 2015-11-08 19:30 31
```
ad0118c2 sago007 2016-01-31 14:41 32
./Game/blockattack
3327bb0f Poul Sander 2015-11-08 19:30 33
```
3327bb0f Poul Sander 2015-11-08 19:30 34
daad7b02 sago007 2016-01-19 19:33 35
You can also choose to install it with
daad7b02 sago007 2016-01-19 19:33 36
```
daad7b02 sago007 2016-01-19 19:33 37
sudo make install
daad7b02 sago007 2016-01-19 19:33 38
```
daad7b02 sago007 2016-01-19 19:33 39
5614ab55 sago007 2016-01-17 13:44 40
Windows build uses MXE (mxe.cc) with these installed:
5614ab55 sago007 2016-01-17 13:44 41
```
5614ab55 sago007 2016-01-17 13:44 42
sdl2 sdl2_image sdl2_mixer sdl2_ttf physfs jsoncpp libtool gettext freetype zlib boost
5614ab55 sago007 2016-01-17 13:44 43
```
5614ab55 sago007 2016-01-17 13:44 44
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 45
5614ab55 sago007 2016-01-17 13:44 46
Compiled with:
5614ab55 sago007 2016-01-17 13:44 47
```
c8b43ea3 sago007 2016-02-02 18:20 48
i686-w64-mingw32.static-cmake . && make
5614ab55 sago007 2016-01-17 13:44 49
```
1970-01-01 00:00 50