Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Sprite Animations

Discussion in 'Project Tiny' started by smonbrogg, Jun 11, 2019.

  1. smonbrogg

    smonbrogg

    Joined:
    Dec 11, 2012
    Posts:
    17
    I guess sprite animations are not yet supported.
    Has anyone tried working with sprite animations, or started implementing an animation system in Tiny?
     
  2. furroy

    furroy

    Joined:
    Feb 24, 2017
    Posts:
    93
    1. Add a sprite to a "tiny scene" It should have a SpriteRenderer you can add the starting frame to.

    2. Add a Sprite2DSequencePlayer component

    3. Add a Sprite2DSequence component. Create as many array elements as you need and drag sprite to each one.

    4 .Assign the sequence on your Sprite2DSequencePlayer component to the new one you just made.

    5. Profit !
     
  3. AlexMasse

    AlexMasse

    Joined:
    Jun 29, 2014
    Posts:
    19
    You can also add the Sprite2DSequenceOptions component to set the frame rate.
     
  4. smonbrogg

    smonbrogg

    Joined:
    Dec 11, 2012
    Posts:
    17
    cool, thanks!