added background, still needs parallax style scrolling though! - fixes #89

This commit is contained in:
logsol 2014-07-23 23:43:36 +02:00
parent a58beb58d1
commit 1a71fa38f9
8 changed files with 47 additions and 6 deletions

View file

@ -40,7 +40,8 @@ function (Parent, Settings) {
paths.push(texturePath);
};
// FIXME: Get background image
var background = this.getLayer(levelData, "background");
paths.push(Settings.MAPS_PATH + background.image);
return paths;