Displaying a sprite with anims

Started by Elysia 3 posts 146 views

Reply on sbox.game
  1. #1
    Elysia
    Hey guys! Hope you're doing good!

    I made a 2D cat animation from 2-3 sprites on s&box (using png from Photoshop) and I'd like to display it in my razor, but I can't seem to make it work.. does anyone have an idea about how this works?

    I used the sprite editor to make the animation

    Thank you so much!!
    Cat_Normal_Pose2.png 1010 Bytes
  2. #2
    inhuman 2,255
    Might not be the best way but something like this should do the trick:
  3. #3
    Elysia Started this
    Hey, thanks for your answer! 

    Actually this didn't work, so I just flip the images using OnUpdate() with a delay of 1.5s

    Thank you so much anyways :)