Search Unity

Sprite sheets vs Native Animation Performance

Discussion in '2D' started by ChristopherYabsley, Jan 29, 2014.

  1. ChristopherYabsley

    ChristopherYabsley

    Joined:
    Jan 16, 2014
    Posts:
    16
    Does anyone know which is less taxing?

    Sprite sheet animation or
    Native unity, position, rotation animation.

    Thanks
     
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    27,995
    Are you ever in a position where either choice is going to be your bottleneck? you're throwing 1000s at the screen at once? If not then it won't actually be the issue, rendering will.
     
  3. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    1,177
    Sprite sheet animation is less process intensive, as it's an internal shifting of UV coords on a sprite sheet.
    But doing it with translations/rotations/scales will use less memory.

    But the differences are incredibly small in the grand scheme of things, perhaps if you were trying to optimize it to run on a Gameboy Advanced, it might matter.
     
  4. ChristopherYabsley

    ChristopherYabsley

    Joined:
    Jan 16, 2014
    Posts:
    16
    Great, thanks guys. Im trying to pick between them and was wondering if this would be a deciding factor. Apparently not!
     
unityunity