For easy development of apps on Gamooga, we provide a local development server that you can run on your own machines.
SDK is available for download here:
Current version is 2.0.6
NOTE: The following instructions are for Ubuntu Lucid Lynx (Ubuntu 10.04).
Install the following packages:
sudo apt-get install liblua5.1-0 liblua5.1-0-dev python python-dev
Download the SDK from the link: http://www.gamooga.com/static/download/gamooga-sdk-linux-2.0.6.zip
Unzip the downloaded zip package.
In the ‘gamooga-sdk/dev-server’ directory, execute ‘setup.sh’:
bash ./setup.sh
Your developement environment is ready.
The ‘gamooga-sdk’ directory contains a directory called “dev-server”. Run “gamooga.py” in “dev-server” directory to start the development server as follows:
python gamooga.py /path/to/Gamlet/Package/dir/
“gamooga.py” starts 3 servers: the gamlet server (port 1094), flashpolicy server (port 8430) and api server (port 8000). You can change these ports with options to “gamooga.py”.
If you also want a static file server add one more argument as follows:
python gamooga.py /path/to/Gamlet/Package/dir/ /path/to/dir/to/be/served/
This starts an additional static file server (port 10000).
You can try running some demos now. Instructions in README file in the ‘demos’ directory of the SDK.
Once you have installed these packages in your distro, you can download the ‘gamooga-sdk-<version>.zip’ and run ‘setup.sh’ for setting up local installation.
The ‘gamooga-sdk’ directory contains a directory called “dev-server”. Run “gamooga.py” in “dev-server” directory to start the development server as follows from command line(cmd):
path\to\python\installation\python.exe gamooga.py path\to\Gamlet\Package\dir\
“gamooga.py” starts 3 servers: the gamlet server (port 1094), flashpolicy server (port 8430) and api server (port 8000). You can change these ports with options to “gamooga.py”.
If you also want a static file server add one more argument as follows:
path\to\python\installation\python.exe gamooga.py path\to\Gamlet\Package\dir\ path\to\dir\to\be\served\
This starts an additional static file server (port 10000).
You can try running some demos now. Instructions in README file in the ‘demos’ directory of the SDK.
The ‘gamooga-sdk’ directory contains a directory called “dev-server”. Run “gamooga.py” in “dev-server” directory to start the development server as follows:
python gamooga.py /path/to/Gamlet/Package/dir/ #(Snow Leapord)
python2.6 gamooga.py /path/to/Gamlet/Package/dir/ #(Lion)
“gamooga.py” starts 3 servers: the gamlet server (port 1094), flashpolicy server (port 8430) and api server (port 8000). You can change these ports with options to “gamooga.py”.
NOTE: Please use python2.6 to run gamooga.py in OS X Lion instead of python.
If you also want a static file server add one more argument as follows:
python gamooga.py /path/to/Gamlet/Package/dir/ /path/to/dir/to/be/served/ #(Snow Leapord)
python2.6 gamooga.py /path/to/Gamlet/Package/dir/ /path/to/dir/to/be/served/ #(Lion)
This starts an additional static file server (port 10000).
You can try running some demos now. Instructions in README file in the ‘demos’ directory of the SDK.