Hello Guest

Author Topic: Have atlas generation not rotate sprites?  (Read 3848 times)

GHSpencer

  • Newbie
  • *
  • Posts: 3
    • View Profile
Have atlas generation not rotate sprites?
« on: November 04, 2013, 05:08:06 pm »
Hey,

Is it possible to have it so when the sprite collection generates the sprite atlas it doesn't rotate any of the sprites when placing them in the atlas?

Thanks.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Have atlas generation not rotate sprites?
« Reply #1 on: November 04, 2013, 05:55:43 pm »
Hi,
It isn't at the moment, there isn't a switch to turn off rotating sprites. Is there any reason in particular you'd want to do this?

GHSpencer

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Have atlas generation not rotate sprites?
« Reply #2 on: November 05, 2013, 01:08:42 am »
Hey, thanks for the reply.

Basically we are doing an operation on the sprite with a custom shader whereby we apply a pattern on top of the sprite. There is sometimes a case where we need the overlayed pattern to match the rotation of the underlying and we thought if the collection had an option to turn rotation off we wouldn't need to know its rotation in the atlas.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Have atlas generation not rotate sprites?
« Reply #3 on: November 05, 2013, 12:20:22 pm »
I've added something in the roadmap trello.

GHSpencer

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Have atlas generation not rotate sprites?
« Reply #4 on: November 05, 2013, 02:52:53 pm »
Thanks very much  ;D ;D ;D ;D