Skip to content

saeyoonlee/Stratagus

 
 

Repository files navigation

Getting everything built

Requirements

  1. Android SDK
  2. Android NDK (revision 8b)
  3. Apache Ant
  4. SCons

Dependencies

SDL (1.2.15), libpng (1.2.50), lua (5.1.5), tolua++ (trunk)

Cloning

Make a directory and clone Stratagus and libs repos to it:

mkdir _some_dir_
cd _some_dir_
git clone https://github.com/drodin/Stratagus.git
git clone https://github.com/drodin/SDL.git
git clone https://github.com/drodin/libpng.git
git clone https://github.com/drodin/lua.git
git clone https://github.com/drodin/toluapp.git

Building Lua

cd lua
make _platform_

You need to specify the platform to build for. Run make without params to see the list of supported platforms.

Building tolua++

cd ../toluapp
scons

Generating tolua.cpp

cd ../Stratagus/src/tolua
./runtolua.sh

Building Stratagus apk

cd ../../android
ndk-build
ant debug

Grab your .apk in the bin directory ;)

About

A port of Stratagus real-time strategy gaming engine for Android.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published