1. Hey! Guest! The 35th GMC Jam will take place between November 28th, 12:00 UTC - December 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice
  2. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

Sprite animation - interval between frames

Discussion in 'Legacy GameMaker Community Tech Support' started by Kim, Jul 18, 2016.

  1. Kim

    Kim Guest

    Dear community,

    I want to create a sprite animation where the duration between each frame is different.

    For instance, in the Idle animation, I want the first frame to show for 2 seconds - then the second frame to show for 1/10 second - and then loop back to the first frame. Game runs at 60 FPS

    I cannot find a way to set a duration between frames - and right now I have just put 120 frames with the same image as the frames for the first two seconds - then I put the put 6 frames of the second image (blink). This gives the desired result - but it seems inefficient to me.

    So, my question is: Is it possible to set a duration/interval between each frame in an animation?
     
  2. Andrey

    Andrey Member

    Joined:
    Jun 21, 2016
    Posts:
    284
    Aura likes this.
  3. Kim

    Kim Guest

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice