mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
added images and texture for gl renderer
This commit is contained in:
parent
b77d209843
commit
071ad6bec5
332 changed files with 754 additions and 790 deletions
|
|
@ -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;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue