Author Topic: Question about UISpriteAnimation: 1 animation per 1 altas?  (Read 2827 times)

RiRin

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Question about UISpriteAnimation: 1 animation per 1 altas?
« on: December 02, 2012, 09:59:44 AM »
I tried to use UISpriteAnimation.
I found that UISpriteAnimation play all elements in atlas.
I don't want to use 1 atlas per 1 sprite animation.
Is it possible to set animation not to play the whole sprites in atlas?
I want to create 1 atlas that can use for many different animation.

Thank you.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Question about UISpriteAnimation: 1 animation per 1 altas?
« Reply #1 on: December 02, 2012, 08:38:25 PM »
Specify a prefix, such as "idle", which will match "idle00", idle01, idle02, etc.