added images and texture for gl renderer

This commit is contained in:
Jeena 2013-11-25 17:16:52 +01:00
parent b77d209843
commit 071ad6bec5
332 changed files with 754 additions and 790 deletions

View file

@ -124,5 +124,11 @@ function (Box2D, Parent, PhysicsEngine, ViewController, PlayerController, Notifi
player.spawn(x, y);
}
GameController.prototype.loadLevel = function (path) {
Parent.prototype.loadLevel.call(this, path);
var tiles = this.level.levelObject.tiles;
this.viewController.loadMeshes(tiles);
}
return GameController;
});