mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
updated pixi to v2
This commit is contained in:
parent
072e984215
commit
f02230c50c
95 changed files with 44677 additions and 3522 deletions
|
|
@ -125,11 +125,15 @@ function (Parent, Settings, Nc, Exception, ColorConverter, Layer) {
|
|||
Nc.trigger(Nc.ns.client.view.animatedMesh.create, this.layerId, texturePaths, callback, {
|
||||
visible: false,
|
||||
pivot: {
|
||||
x: 35/2 * 4,
|
||||
x: 0,
|
||||
y: 40 * 4
|
||||
},
|
||||
width: 35,
|
||||
height: 40
|
||||
height: 40,
|
||||
anchor: {
|
||||
x: 0.5,
|
||||
y: 0
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -148,7 +152,11 @@ function (Parent, Settings, Nc, Exception, ColorConverter, Layer) {
|
|||
y: 12
|
||||
},
|
||||
width: 10,
|
||||
height: 12
|
||||
height: 12,
|
||||
anchor: {
|
||||
x: 0,
|
||||
y: 0
|
||||
}
|
||||
});
|
||||
|
||||
// Holding arm
|
||||
|
|
@ -162,11 +170,16 @@ function (Parent, Settings, Nc, Exception, ColorConverter, Layer) {
|
|||
Nc.trigger(Nc.ns.client.view.mesh.create, this.layerId, texturePath, callback, {
|
||||
visible: false,
|
||||
pivot: {
|
||||
x: 35/2 * 4,
|
||||
//x: 35/2 * 4,
|
||||
x: 0,
|
||||
y: 40 * 4
|
||||
},
|
||||
width: 35,
|
||||
height: 40
|
||||
height: 40,
|
||||
anchor: {
|
||||
x: 0.5,
|
||||
y: 0
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue