#4, by afrlmeSunday, 27. September 2015, 00:47 9 years ago
I'm not sure. In regards to frames of different sizes though, there is an option inside of the options tab of the animation toolbar. Something about animations moving vertically or something. I believe that is for keeping the animation centered or something - it says what it does in the wiki, as far as I recall.
Typically sprites are all positioned by the top left most pixel. Characters are special cases because we have to determine their feet position (most often than not) which is used to declare their position on the screen & to prevent them from walking too far outside of the way borders.
You could use Lua script to easily position an animation based on the center of the sprite. You would return the animation current position + half the width of the animation to get X & + half the height of the animation to get Y. I'm not sure about returning the sprite of an animation though. It might be a bit taxing on the engine to return the center position of each frame sprite, so it might have to be done manually if you know the width of the animation in general.