Skip to content

freezedev/lyria-template

Repository files navigation

Lyria Project Template

Build Status Dependency Status devDependency Status

This is a project template for the Lyria game engine.

Dependencies

  • 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)

Features

  • Preparing assets (scenes and prefabs)
  • Source map support for assets and JavaScript files

Developer dependencies

  • Grunt
  • Handlebars
  • Stylus (Lyria bundles Stylus, but any other CSS preprocessor can be used as well)

Getting started

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 as grunt development
  • grunt build:debug: Builds the current project in debug mode
  • grunt build:release: Builds the current project in release mode
  • grunt deploy: Does a release build and deploys it on Github pages of the current repository

Bitdeli Badge