How do I mass change the sprite animation frames origin?

Get help using Construct 2

Post » Wed Sep 02, 2015 11:05 am

It seems like the pathfinding behavior moves the object based on its center and does not respect the self object collision polygon, and I see no way to enable that behavior. Someone please correct me if I am wrong. That being the case, for my application I will need to adjust the origin point of the sprite being displayed to make it look correct. The problem is my character sprite has oh about, 2000+ individual frames. Took me the better part of a week to get it setup correctly, and I still have alot more animations to add to the character. I see no way to apply an origin point change to multiple frames, or better yet apply an origin change to an entire sprite.
B
6
S
1
Posts: 14
Reputation: 330

Post » Wed Sep 02, 2015 12:04 pm

EberKain wrote:It seems like the pathfinding behavior moves the object based on its center and does not respect the self object collision polygon, and I see no way to enable that behavior. Someone please correct me if I am wrong. That being the case, for my application I will need to adjust the origin point of the sprite being displayed to make it look correct. The problem is my character sprite has oh about, 2000+ individual frames. Took me the better part of a week to get it setup correctly, and I still have alot more animations to add to the character. I see no way to apply an origin point change to multiple frames, or better yet apply an origin change to an entire sprite.


Unfortunately you wasted the better part of the week :)

You can right click the origin point in the image point window and choose apply to whole animation or apply to all animations
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,828

Post » Wed Sep 02, 2015 12:21 pm

I swear I tried that this morning, I could get those options for the collision polygon, but not for the origin point.

It took me the week to get all the animations imported, layered and synced up. Right now they have the default origin point on everything.

I had an idea though, instead of changing the animations, I think I'll add a new empty sprite to the character container and attach the pathfinding to that, then pin the rest of the character layers to the new sprite, but offset the pin point. Should have the same effect as moving the origin of all the artwork, without having to move the origin.
B
6
S
1
Posts: 14
Reputation: 330


Return to How do I....?

Who is online

Users browsing this forum: leandrogenske, R0J0hound, TylerJS and 9 guests