1 decade ago by John
Never mind, I fixed it by cutting down the animations to a single frame
And then used the currentAnim.frame property to get the current frame and sent it to my player copy.
this.addAnim( 'up1', .7, [9] ); this.addAnim( 'up2', .7, [10] ); this.addAnim( 'up3', .7, [11] ); this.addAnim( 'down1', .7, [0] ); this.addAnim( 'down2', .7, [1] ); this.addAnim( 'down3', .7, [2] ); this.addAnim( 'left1', .7, [3] ); this.addAnim( 'left2', .7, [4] ); this.addAnim( 'left3', .7, [5] ); this.addAnim( 'right1', .7, [6] ); this.addAnim( 'right2', .7, [7] ); this.addAnim( 'right3', .7, [8] ); this.addAnim( 'idleup', 0.1, [10] ); this.addAnim( 'idledown', 0.1, [1] ); this.addAnim( 'idleleft', 0.1, [4] ); this.addAnim( 'idleright', 0.1, [7] );
And then used the currentAnim.frame property to get the current frame and sent it to my player copy.