fixed body scaling of chuck animation frames from 130% back to 100%

This commit is contained in:
logsol 2014-03-08 01:54:26 +01:00
parent 8730324a83
commit bdd62a4a11
256 changed files with 7 additions and 5 deletions

View file

@ -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"
);

View file

@ -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];

View file

@ -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);

View file

@ -12,7 +12,7 @@ function (Parent, Box2D, Settings, CollisionDetector, Item) {
this.characterName = "Chuck";
this.player = player;
this.height = 43;
this.height = 37;
this.width = 9;
this.headHeight = 12;
this.reachDistance = 20;