Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Android game engine

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bluegin
Octocat-spinner-32 samples
Octocat-spinner-32 tools
Octocat-spinner-32 vc9
Octocat-spinner-32 .hgignore
Octocat-spinner-32 Doxyfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
README
BlueGin Game Engine
===================

BlueGin is a C++ game engine for Android.  

- Based on a port of the Flixel game engine
- Uses the Cinder framework for OpenGL rendering 
- Provides a manager for packing and accessing assets
- Includes a desktop runtime, for testing and optimizing on PC at native speeds


Recommended setup
-----------------

BlueGin requires the Android native development kit (NDK) r5 for building.  On
the desktop it is linked with Cinder and Boost.  The Android runtime requires
Boost to build.

1.  Install Cinder including Boost v1.44 (or newer)

2.  Set an environment variable BOOST_SRC to point to your Boost path
    (e.g. /src/Cinder/boost) 

3.  Build BlueGin game engine (native and Java libraries)

% cd bluegin
% android update project --path .     /* use android.bat on Windows */
% ndk-build
% ant jar

4.  Build individual samples

% cd samples/<SAMPLE>
% python ../../tools/apack.py data    /* for FlxMode only, see below */
% ndk-build
% ant debug

The asset packer script (tools/apack.py) requires Python and the Python Imaging
Library.  It copies assets specified in a resource.pack file and packs textures
for sprite batching.  Identifiers from a resource.pack file are used to select
assets in code.


Something went wrong with that request. Please try again.