Check, check... testing... @cybereality ,I got a new thread! It only lets me use certain topics for tags that will let me check OK, is that normal?

Anyways, I was working in Godot 4, but for the life of me- where is the button that lets me loop animations on an animated sprite sheet? I found a loop button, but it seems to only work when I am in the editor- not in the game?

Thanks!

  • DaveTheCoder replied to this.
  • You don't have to code it, just make sure you check Autoplay on Load under the SpriteFrames. The button looks like this:

    The loop property makes the animation go back to frame 1 once it completes the animation in both the Editor and during runtime btw

    You must pick a primary tag, only admins can bypass the tag requirement. Primary tags are like categories. You can only pick one. The secondary tags are tags that can be added on top of any primary tags.

    For the animation, you might also have to toggle the autoplay button. Or trigger play from a script.

    I'm assuming the loop button is the spinning arrows? Yeah, it only works in the editor for me.

    That tutorial seems to be out of date. It refers to an AnimatedSprite2D playing property in the Inspector. But apparently that property is present in 3.5, but not in 4.0.

    I miss that property. 😄 So I have to code it in. Okay...

    You don't have to code it, just make sure you check Autoplay on Load under the SpriteFrames. The button looks like this:

    The loop property makes the animation go back to frame 1 once it completes the animation in both the Editor and during runtime btw

    That's autoplay on load, not useful for walking animations... Good to know, though.
    Edit: after turning that on, it just loops? Okay, now I'm confused as to why that worked?

      15 days later

      Nerdzmasterz When the game starts, no animations actually start, they are only loaded in. Clicking that button makes the animation automatically play when it is loaded.
      (sorry for the necropost i haven't checked the forum in a while and saw this in my notifications)