The source and resources of Tunnel
Common Lisp C++ Java Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
android
build-scripts
data
desktop
launcher
lib
license
release
tools
.gitignore
CMakeLists.txt
LICENSE
README.md
run.xml.sample
tunnel

README.md

What is this?

Tunnel is a puzzle platformer in which you play an apprentice god who have the ability to open a tunnel between two alternate versions of the same environment. Your goal is to find the crystals scattered in the universes in order to trigger a machine that will lead you to the next part of the game.

How to build the project?

The game relies upon the Bear engine. I would suggest that you prepare a workspace as follows:

mkdir tunnel-build
cd tunnel-build
git clone https://github.com/j-jorge/bear.git
git clone https://github.com/j-jorge/tunnel.git

You should now have two subdirectories named bear andtunnel in the current directory. Create a file name CMakeLists.txt beside them, with the following content:

cmake_minimum_required(VERSION 2.6)

if( NOT DEFINED BEAR_ROOT_DIRECTORY )
  set( BEAR_ROOT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/bear" )
endif()

set( CMAKE_MODULE_PATH "${BEAR_ROOT_DIRECTORY}/cmake-helper" )

include( uninstall )

subdirs( bear tunnel )

We use CMake as the build system (http://www.cmake.org/). You will also need a C++ compiler and the following libraries in order to build the game:

Once everything is installed, build the game by typing the following commands:

cmake . -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

The default installation prefix is /usr/local. You can set another prefix by defining CMAKE_INSTALL_PREFIX as shown above.

If you want to hack or debug the game, I would suggest to define CMAKE_BUILD_TYPE=debug, not to make install and to run the game using the tunnel script from tunnel folder.

Where to get help?

Issues should be reported on the projects page on GitHub: https://github.com/j-jorge/tunnel

For general questions, send an email to julien.jorge@stuff-o-matic.com.

Legal information

The software is licensed under the version 3 of the GNU GPL. All multimedia resources are provided under the terms of the version 3 of the Creative Commons license, with attribution and share-alike clauses (CC-by-sa).

See the accompanying LICENSE file for details.