Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ncallaway/tstsrl

An open source cross platform twin stick tactical shooter rogue like.
https://github.com/ncallaway/tstsrl

Last synced: 16 days ago
JSON representation

An open source cross platform twin stick tactical shooter rogue like.

Awesome Lists containing this project

README

        

TSTSRL will be an open source (like Linux) cross-platform (android/windows/linux/mac) twin-stick (like Geometry Wars) tactical shooter (like Rainbox Six) rogue-like (like Rogue)

Current TSTSRL is only an SDL window that only appears on windows, linux, and android (at least it's open source!). So there's a ways to go...

## Build Dependencies ##
This list will be fleshed out as we go. Currently:
* SDL2
* SDL_ttf
* Google C++ Mocking Framework. This must be placed in test/gmock (see the README in the test folder for more information)
* Platform specific build tools (gcc, make, ant, etc depending on platform)

## Build Instructions ##

There is a convenience script that automates the following steps called doit. To perform a build for a given platform simply run `./doit [platform]`, or `./doit [platform] run`.

For Windows builds, vcvars32.bat must be in your path.

Examples:

./doit l run # Build and run the linux version

./doit a run # Build and run the android version

./doit w run # Build and run the windows version

### Linux ###
mkdir project
cd project
cmake ..
make

Run with:

bin/linux/tstsrl

### Android ###
mkdir project
cd project
cmake ..
cd ../platform_specific/android
ndk-build
ant debug

Run with:

adb install platform_specific/android/bin/SDLActivity-debug.apk

adb shell am start -n org.libsdl.app/org.libsdl.app.SDLActivity

### Windows ###
mkdir project
cd project
vcvars32 x86 # 64 bit builds not yet supported. Need to do a x64 build of SDL2.
cmake -G "NMake Makefiles" ..
nmake

Run with:

bin/windows/tstsrl.exe