mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added background, still needs parallax style scrolling though! - fixes #89
This commit is contained in:
parent
a58beb58d1
commit
1a71fa38f9
8 changed files with 47 additions and 6 deletions
|
|
@ -24,6 +24,7 @@ define([
|
|||
var path = Settings.MAPS_PATH + uid + ".json"
|
||||
this.loadLevelDataFromPath(path, function(levelData) {
|
||||
self.levelData = levelData;
|
||||
self.addBackground();
|
||||
self.createTiles();
|
||||
self.createItems();
|
||||
self.isLoaded = true;
|
||||
|
|
@ -97,6 +98,10 @@ define([
|
|||
//this.gameObjects.animated.push(item);
|
||||
};
|
||||
};
|
||||
|
||||
// Extended by TiledLevel
|
||||
Level.prototype.addBackground = function() {
|
||||
}
|
||||
*/
|
||||
|
||||
return Level;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue