you have N frames for an animation (an idle animation for example) of a 2D character. What is the best resolution to use for each frame? The problem is that if you save the N frames such that each of them has the size of the minimal bounding box enclosing the character, when using a call like:
// draw frame i at (0,0)
sprite.frame(i).draw(0, 0)
your character movement will be wrong, that is, it will move back and forth. The other option is to set the width and height of every frame to the maximum width and height calculated using every frame.
What is, in your experience, the best practice to follow?