- 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 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 development
: Builds the current projectgrunt production
: Builds the current project, minifies everything and places it in thebuilds
foldergrunt deploy
: Does a production builds and makes a package out of it