mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed first animations
This commit is contained in:
parent
caa3945869
commit
142964938c
8 changed files with 159 additions and 53 deletions
|
|
@ -16,7 +16,7 @@ function (Parent, Settings, NotificationCenter) {
|
|||
var self = this;
|
||||
|
||||
var material = "Stones";
|
||||
var imgPath = Settings.GRAPHICS_PATH
|
||||
var texturePath = Settings.GRAPHICS_PATH
|
||||
+ Settings.GRAPHICS_SUBPATH_TILES
|
||||
+ material + '/'
|
||||
+ this.options.s + ''
|
||||
|
|
@ -28,12 +28,13 @@ function (Parent, Settings, NotificationCenter) {
|
|||
}
|
||||
|
||||
NotificationCenter.trigger("view/createMesh",
|
||||
Settings.TILE_SIZE,
|
||||
Settings.TILE_SIZE,
|
||||
0,
|
||||
0,
|
||||
imgPath,
|
||||
callback
|
||||
texturePath,
|
||||
callback,
|
||||
{
|
||||
width: Settings.TILE_SIZE,
|
||||
height: Settings.TILE_SIZE,
|
||||
pivot: "mb"
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue