Skip to content

lgugl/SCFX-Nativescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCFX

A Starcraft dialogues and SFX sound box app.

All sources found on http://www.hazmatt.net/gaming/starcraft/.

Installation

This is a Nativescript app. To easily install Nativescript, use the root Dockerfile file (it can be long, be patient).

docker build -t nativescript .

Activate your phone's debug mode then plug in it to an usb port.

To use Docker more easily, create an alias:

alias tns="docker run -it --rm --privileged -v $PWD/src:/src nativescript tns"

... you can also use the given script:

source scripts/create-tns-alias.sh

Then build and run the app (this activate the file watcher too):

tns run android

IMPORTANT:
To work properly, the app uses the plugin NativeScript-Gif which needs to add a library when building.
Find the file src/platforms/android/app/build.gradle (created after the first build) and add this dependency:

dependencies {
    compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.10'
}

... then build again the app:

tns build android

About

A Starcraft dialogues and SFX sound box app (active project on Gitlab: https://gitlab.com/lgugl/App-SCFX-Nativescript).

Resources

Stars

Watchers

Forks