mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
added tiled level support
This commit is contained in:
parent
83e78a5732
commit
3782fa345b
13 changed files with 113 additions and 39 deletions
|
|
@ -15,11 +15,15 @@ function (Parent, Settings, NotificationCenter) {
|
|||
Tile.prototype.createMesh = function() {
|
||||
var self = this;
|
||||
|
||||
/*
|
||||
var texturePath = Settings.GRAPHICS_PATH
|
||||
+ Settings.GRAPHICS_SUBPATH_TILES
|
||||
+ this.options.m + '/'
|
||||
+ this.options.s + ''
|
||||
+ (this.options.r || 0) + '.gif';
|
||||
*/
|
||||
|
||||
var texturePath = Settings.MAPS_PATH + this.options.t;
|
||||
|
||||
var callback = function(mesh) {
|
||||
self.mesh = mesh;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue