storyboard-engine
v0.0.5
Published
An engine for nonlinear and multilinear storytelling
Downloads
12
Readme
Storyboard
Storyboard is a general-purpose engine for multilinear/nonlinear storytelling. It's written in JavaScript (ES6), and intended to be embedded within another game or application (such as the included-as-a-git-submodule Storyboard-iOS reference native iOS Swift project)
Right now, it's pre-alpha. Stay tuned for more.
Setup and Usage
Real documentation is coming later; right now, this really isn't intended for use by anyone other than me.
That being said:
npm installto install dependenciesgulpto compile to a production file suitable for client-side JS consumption (dist.jsin the root folder)npm testruns the test suite. It's got decent coverage at a functional, not unit, level.- If using the reference iOS client,
git submodule update --init - Put your data files in the
examplesfolder, with any media needed in a subfolder with the same name (e.g.sample.jsonwould have a folder calledsample)
Knock yourself out.
Gulp scripts
For development, a few gulp scripts exist.
gulp browsercompiles a singledist.jsfile. This file exposes aGameclass object in the global scope, and is intended to be used in client-side environments (e.g. JS within a web browser but without a Browserify pipeline, a JavaScriptCore thread on iOS)gulp nodecompiles each individual ES6 source file (insrc/) into an equivalent non-ES6 file inlib/. This is intended for requiring storyboard as anpmlibrary in node.jsgulp watchis the equivalent ofgulp browser, but listens for live file changes and automatically recompiles.
License
This project is licensed under the MIT License. See the LICENSE file in this repository for more information.
