This is a project template for the Lyria game engine.
- Lyria and its dependencies:
- Handlebars Runtime (default templating engine of Lyria)
- Require.JS or any other AMD loader (Lyria uses with Almond.JS by default)
- Detectr
- Eventmap
- Gameboard
- Modernizr (Optional, but included by default)
- Preparing assets (scenes and prefabs)
- Source map support for assets and JavaScript files
- Grunt
- Handlebars
- Stylus (Lyria bundles Stylus, but any other CSS preprocessor can be used as well)
Prerequisites:
Node.js 0.10 or higher (or iojs) needs to be installed
Go ahead and download the latest template version.
Navigate into the folder where extracted the template and run npm install
.
Using the lyria template:
grunt
: Same asgrunt development
grunt build:debug
: Builds the current project in debug modegrunt build:release
: Builds the current project in release modegrunt deploy
: Does a release build and deploys it on Github pages of the current repository