mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
fixed body scaling of chuck animation frames from 130% back to 100%
This commit is contained in:
parent
8730324a83
commit
bdd62a4a11
256 changed files with 7 additions and 5 deletions
|
|
@ -65,8 +65,8 @@ function (Parent, Settings, Nc, Exception) {
|
|||
Settings.GRAPHICS_PATH
|
||||
+ Settings.GRAPHICS_SUBPATH_CHARACTERS
|
||||
+ this.characterName
|
||||
+ "/Animation/WithoutArms/ChuckAnimationsWithoutArms0"
|
||||
//+ "/Animation/WithoutArms/ChuckAnimations0"
|
||||
//+ "/Animation/WithoutArms/ChuckAnimationsWithoutArms0"
|
||||
+ "/Animation/WithArms/ChuckAnimations0"
|
||||
+ padF(i)
|
||||
+ ".png"
|
||||
);
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ function (Parent, Settings, Nc, PIXI) {
|
|||
}
|
||||
|
||||
var characterNames = ["Chuck"];
|
||||
var animationSets = ["WithoutArms"];//, "WithArms"];
|
||||
var animationSets = ["WithArms"];//, "WithArms"];
|
||||
var addition = "";
|
||||
for (var i = 0; i < characterNames.length; i++) {
|
||||
var characterName = characterNames[i];
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ function (Parent, DomController, PIXI, Settings, Nc) {
|
|||
this.loader = null;
|
||||
this.init();
|
||||
this.pixi = PIXI;
|
||||
|
||||
PIXI.BaseTexture.SCALE_MODE.DEFAULT = PIXI.BaseTexture.SCALE_MODE.NEAREST;
|
||||
}
|
||||
|
||||
PixiView.prototype = Object.create(Parent.prototype);
|
||||
|
|
@ -66,7 +68,7 @@ function (Parent, DomController, PIXI, Settings, Nc) {
|
|||
|
||||
PixiView.prototype.createMesh = function (texturePath, callback, options) {
|
||||
|
||||
var texture = PIXI.Texture.fromImage(texturePath, false, PIXI.BaseTexture.SCALE_MODE.NEAREST);
|
||||
var texture = PIXI.Texture.fromImage(texturePath);
|
||||
|
||||
var mesh = new PIXI.Sprite(texture);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue