Skip to content
nhmkdev edited this page Jan 15, 2014 · 8 revisions

Definition

The Level Manager is a basic wrapper around the ImpactJS level loading functionality.

Container

Level Data

var Levels = ig.global.data.levels;

Level Manager Object

var LevelManager = ig.global.support.levelmanager;

Data Format

Levels.sample =
{
    n:'sample', // name
    //m:'music', //music
    //TODO: lots of other settings!
}

Usage

Also see the LevelManager code file.

Adding Levels

Be sure to update both the levelrequires.js and levels.js files (TODO: combine the two?)

Clone this wiki locally