Hello Guest

Author Topic: Atlas and Animation  (Read 1935 times)

0 Members and 1 Guest are viewing this topic.

plague_boy

  • Member
  • Posts: 2
    • View Profile
Atlas and Animation
« on: October 11, 2016, 08:22:26 AM »
Hi folks, I'm an Otter newbie and this may be a really dumb question but is there any way to use sprite names  - generated from TexturePacker to create sprite animations?

example:

sprite.add(Animation.idle, "player_idle1, player_idle2, player_idle3", 3);

Cheers,

Nick

Kyle

  • Administrator
  • Member
  • Posts: 258
    • View Profile
Re: Atlas and Animation
« Reply #1 on: October 11, 2016, 08:02:05 PM »
Unfortunately right now there's no such support -- the only support for TexturePacker atlases is using an atlased image as the source for a spritemap.  I'm not sure if I'm able to add support for this in the near future, sorry :I

plague_boy

  • Member
  • Posts: 2
    • View Profile
Re: Atlas and Animation
« Reply #2 on: October 12, 2016, 01:19:28 AM »
Heh, no worries Kyle.

I'm just happy to be having fun again. Otter has got me out of a loooong creative funk.

N