2D Toolkit Forum

2D Toolkit => Support => Topic started by: GHSpencer on November 04, 2013, 05:08:06 pm

Title: Have atlas generation not rotate sprites?
Post by: GHSpencer 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.
Title: Re: Have atlas generation not rotate sprites?
Post by: unikronsoftware 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?
Title: Re: Have atlas generation not rotate sprites?
Post by: GHSpencer 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.
Title: Re: Have atlas generation not rotate sprites?
Post by: unikronsoftware on November 05, 2013, 12:20:22 pm
I've added something in the roadmap trello.
Title: Re: Have atlas generation not rotate sprites?
Post by: GHSpencer on November 05, 2013, 02:52:53 pm
Thanks very much  ;D ;D ;D ;D