PLEASE WORK PLEASE WORK PLEASEEEE
This commit is contained in:
@@ -17,7 +17,7 @@ class CharacterGhostsHandler extends FlxTypedGroup<Character> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function createGhost(anim:String) {
|
public function createGhost(anim:String) {
|
||||||
var ghost:Character = new Character(0,0, character.curCharacter);
|
var ghost:Character = new Character(0,0, character.curCharacter, false, false);
|
||||||
ghost.applyXML(character.xml); // apply cur character stuff
|
ghost.applyXML(character.xml); // apply cur character stuff
|
||||||
ghost.playAnim(anim);
|
ghost.playAnim(anim);
|
||||||
ghost.stopAnimation();
|
ghost.stopAnimation();
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset
|
|||||||
switchOffset('singLEFTmiss', 'singRIGHTmiss');
|
switchOffset('singLEFTmiss', 'singRIGHTmiss');
|
||||||
|
|
||||||
__swappedLeftRightAnims = true;
|
__swappedLeftRightAnims = true;
|
||||||
|
trace("fuck");
|
||||||
}
|
}
|
||||||
|
|
||||||
@:noCompletion var __baseFlipped:Bool = false;
|
@:noCompletion var __baseFlipped:Bool = false;
|
||||||
@@ -190,7 +191,7 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function isFlippedOffsets()
|
public function isFlippedOffsets()
|
||||||
return (isPlayer != playerOffsets) != (flipX != __baseFlipped);
|
return __switchAnims && ((isPlayer != playerOffsets) != (flipX != __baseFlipped));
|
||||||
|
|
||||||
public override function draw() {
|
public override function draw() {
|
||||||
if (isFlippedOffsets()) {
|
if (isFlippedOffsets()) {
|
||||||
@@ -312,6 +313,7 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset
|
|||||||
if (!characterProperties.contains(attribute))
|
if (!characterProperties.contains(attribute))
|
||||||
extra[attribute] = xml.x.get(attribute);
|
extra[attribute] = xml.x.get(attribute);
|
||||||
|
|
||||||
|
trace(__switchAnims);
|
||||||
fixChar(__switchAnims, !hasInterval);
|
fixChar(__switchAnims, !hasInterval);
|
||||||
dance();
|
dance();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user