2D Toolkit Forum

2D Toolkit => Support => Topic started by: cloudcamaleoniv on July 07, 2015, 08:06:18 am

Title: Editing Position inside Animation Editor
Post by: cloudcamaleoniv on July 07, 2015, 08:06:18 am
Hello, I'm using your product for a long time now. I've always worked with very simple animations, like pixel-art characters walking in a pixel based world, or some basic enemies that didn't make complex movements.

My new project involves many frame-by-frame complex animations, for example.

In one frame, a Dragon enemy have its wings closed, resulting in a 100x200 sprite, for example.
In another frame, the Dragon have its wings opened, resulting in a 300x300 sprite.
In another frame, the Dragon, still with its wings opened, stands in one foot and is tilting to the right, resulting in a 280x320 sprite.

Let's say that in a complex animation, theses 3 frames represent the boundaries of the complete animation (300 is the max width, and 320 is the max height). If I would want that his right foot stays aligned to the ground during the entire animation, all my textures need to have a 300x320 size, consuming much more texture space than needed.

I could use the Diced feature in the atlas creation, but some of this animation textures are also needed outside of the atlas for other purposes.

So, my question is...:

Is it possible, inside of the Animation Editor, in a given clip, to edit the position of each one of the textures in each frame? Is there some known plugin that do that?

Thanks.
Title: Re: Editing Position inside Animation Editor
Post by: unikronsoftware on July 07, 2015, 10:47:20 am
No its not possible to adjust the position in the animation editor, but having all the source textures at 300x320 won't be a problem, all the empty space gets trimmed out anyway.