Hey guys,
I would like to play an animation in battle. The only thing I could find was
which works well. But the animation position on the screen should not depend on the actor's position.
I can change it by copying this out of rpg_sprites and adjusting the x and y:
But when I do that, the positions for ALL animations will be changed... But it should only happen for animation nr. 126!
Anyone knows what to do? 😅
I would like to play an animation in battle. The only thing I could find was
Code:
$gameActors.actor(1).startAnimation(126)
which works well. But the animation position on the screen should not depend on the actor's position.
I can change it by copying this out of rpg_sprites and adjusting the x and y:
Code:
Sprite_Animation.prototype.updatePosition = function() {
this.x = 0;
this.y = 0
};
But when I do that, the positions for ALL animations will be changed... But it should only happen for animation nr. 126!
Anyone knows what to do? 😅