JoseTomasTocino / freegemas

Freegemas is an open source version of the well known Bejeweled, built in C++ using SDL2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



Freegemas is an open source version of the well known Bejeweled, for GNU/Linux, Windows, Mac and Playstation Vita. It's written in C++ using SDL2. In the past it used Gosu instead of SDL2, and the old repository can be found at Google Code.

Installation on Debian-based GNU/Linux systems

First, you need to install git and gcc:

sudo apt-get install git build-essential cmake

Next, install SDL2 and JsonCpp from the repositories:

sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev libjsoncpp-dev

After that, clone the repo:

git clone https://github.com/JoseTomasTocino/freegemas.git

Do an out-of-source compilation and run the program:

cd freegemas
mkdir build
cd build
cmake ..
make
./freegemas

Installation on OS X

This assumes that you are already using Homebrew. You will need CMake and a few libraries to compile Freegemas:

brew install cmake sdl2 sdl2_mixer sdl2_ttf sdl2_image gettext jsoncpp

Now run the following commands to setup your environment to use Homebrew as a backup location for libraries.

[[ -z "${LIBRARY_PATH}" ]] && export LIBRARY_PATH=/usr/local/lib
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"

After that, clone the repo:

git clone https://github.com/JoseTomasTocino/freegemas.git

Do an out-of-source compilation and run the program:

cd freegemas
mkdir build
cd build
cmake ..
make
./freegemas

Installation on Playstation Vita

For building for Vita, the Vita SDK should be installed.

After that, clone the repo:

git clone https://github.com/JoseTomasTocino/freegemas.git

Do an out-of-source compilation:

cd freegemas
mkdir vita
cd vita
cmake -DCMAKE_TOOLCHAIN_FILE="${VITASDK}/share/vita.toolchain.cmake" ..
make

Now freegemas.vpk can be tranfered and installed on Vita.

Music licensing

The music in the game is Easy Lemon by Kevin MacLeod Licensed under Creative Commons: By Attribution 3.0

About

Freegemas is an open source version of the well known Bejeweled, built in C++ using SDL2

License:GNU General Public License v2.0


Languages

Language:C++ 97.2%Language:CMake 1.9%Language:C 0.9%