2D Toolkit Forum

2D Toolkit => Support => Topic started by: subzaku on October 17, 2014, 11:04:55 am

Title: Multiple Size Sprite Problem
Post by: subzaku on October 17, 2014, 11:04:55 am
Hi, i just recently buy this 2d toolkit

i have multiple size sprites for animation, idle is 64x64, atk is 100x64 and some other size
i wonder if we can use multiple size sprite on 1 sprite collection then use it in animation without changing the position of the sprite
my sprite keep moving left and right

thanks
Title: Re: Multiple Size Sprite Problem
Post by: Trigve on October 17, 2014, 01:05:52 pm
I think you can set the custom pivot for each of the sprite in the sprite collection. Then every sprite will have the origin at the pivot point.
Title: Re: Multiple Size Sprite Problem
Post by: subzaku on October 20, 2014, 07:13:10 am
ah there is custom in anchor, i didn't realized it haha
thanks a lot  ;)