Search Unity

Texture Atlas vs. Sprite Sheet

Discussion in '2D' started by Denozone, Jul 28, 2014.

  1. Denozone

    Denozone

    Joined:
    Jul 28, 2014
    Posts:
    4
    Hello,

    I am just starting out with Unity and I finished coding the basic gameplay for a 2D Platformer. For testing I just used a random sprite as player but now that I come to designing the real character I am wondering what to use.

    Should I create a Sprite Sheet with drawn animations or should I use a texture atlas and animate the character in Unity?

    I hope someone has experience with this kind of problem.
     
  2. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    The sprite sheet IS a texture atlas.
     
  3. Denozone

    Denozone

    Joined:
    Jul 28, 2014
    Posts:
    4
    What I mean is a texture atlas that contains each part of the character like left foot, right foot, left eye, right eye etc.
     
  4. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    There's no right or wrong answer; it depends on which way you feel like doing it.

    --Eric
     
  5. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    It depends also how much time you want to spend or what effect you want... hand-animating it outside unity may give you more flexibility in terms of the detail of each frame and how they differ, while if you break the object up into pieces (hands, arms, etc) then you can animate each one individually using joints/bones etc and perhaps get a lot more frames of animation (and smooth tweening) but perhaps sacrificing some per-pixel level control over the appearance.
     
  6. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    9,052
    Sort of, but a texture atlas is not sprite sheet.
     
  7. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    They're both textures :)
     
  8. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    9,052
    They are also both abstract collections of two states of electrons.;)
     
    bitlather likes this.