Hello Guest

Author Topic: HFlip and sprite collection anchor problem  (Read 4560 times)

csotomon

  • Newbie
  • *
  • Posts: 6
    • View Profile
HFlip and sprite collection anchor problem
« on: September 08, 2012, 11:53:47 pm »
Hi, I have a Sprite animation for my Hero.

Fir u had create a sprite collection with anchor = "Middle Center", but my diferents sprites have diferents sizes. and the animation see looks a little jump because of this.

On the WebPage, I found a reference that I must set in my animations to "lower left" as anchor , but to them as well, and ahcer hflip, I have the following problem.

How I can fix it?

I have a video with a example.

http://www.youtube.com/watch?v=iFgnYWCZ4yc&feature=youtube_gdata_player

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: HFlip and sprite collection anchor problem
« Reply #1 on: September 09, 2012, 12:16:17 am »
The anchor point has to be set up consistently when creating the art, otherwise there will be no way of getting the correct anchor point. Best option is to change the source artwork adding empty space where necessary to keep it consistent. Alternatively, you can set up custom anchor points on the frames which are incorrect if there aren't too many of those...