How to start
This is a guide for GNU/Linux only, but OpenGOO can also run on Windows and Mac OSX
Mind it could be unstable or buggy and the compilation process could not finish too!
- A standard development environment
- CMake
- Qt4 with header files
- OpenAL and freealut
- OpenGOO source
First of all you'll have to set up your build environment:
-
install the standard development tools (gcc make ...) from repository
- on Ubuntu:
sudo apt-get install build-essential
- on Fedora:
yum groupinstall ‘Development Tools’
andyum groupinstall ‘Development Libraries’
- on Ubuntu:
-
install cmake from repository
- on Ubuntu:
sudo apt-get install cmake
- on Fedora:
yum install cmake
- on Ubuntu:
-
install OpenAL and FreeALUT from repository:
- on Fedora:
yum install openal-devel freealut-devel
- on Fedora:
-
install Qt4 with the header files from repository
- on Ubuntu:
sudo apt-get install libqt4-core libqt4-gui libqt4-xml libqt4-dev libqt4-opengl libqt4-opengl-dev
- on Fedora:
yum install qt
- on Ubuntu:
USE THE CONSOLE
-
Move into your home directory or any folder you like
cd ~
-
Download the code
- Zip archive, Tar archive and extract the files.
-
Configure and compile the game
cd ~/OpenGOO/
-
qmake OpenGOO.pro
in some distribution like Fedora typeqmake-qt4 OpenGOO.pro
make
-
Install (optional)
-
sudo -s
orsu
-
mkdir /opt/OpenGOO
(creates the game directory in /opt) -
mv OpenGOO /opt/OpenGOO/OpenGOO.bin
(moves the executable) -
mv *.index
andmv *.level
andmv *.svg
(moves the resurces) - Create a script to run OpenGOO
-
touch /usr/bin/OpenGOO
(creates an empty text file) -
modify it with your favorite text editor (I use nano)
nano /usr/bin/OpenGOO
and add this`#!/bin/sh` `cd /opt/OpenGOO/` `./OpenGOO`
-
make it executable
chmod +x /usr/bin/OpenGOO
-
-
Now you can run OpenGOO directly from your console simply typing the OpenGOO
command!
- Clean the build directory
-
exit
(returns to normal user) -
cd ~
orcd WHERE_YOU_DOWNLOAD_THE_SOURCE
rm -rf OpenGOO/
-
##Run the game
There are some flags you can use:
-debug (for more debug output)
-fps (to show current fps)
-opengl (use opengl for a higher performance)
example:
./OpenGOO -opengl -debug
Enjoy!
sudo conary install opengoo=gameway.rpath.org@fl:2
Start the game from the menu entry or use 'opengoo' in console
Download new levels or create and share yours here: OpenGOO Levels