AnimatedSprites animation is not playing on Godot 3.0 RC1

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sanjib
:warning: Old Version Published before Godot 3 was released.

I was following the Godot’s “Your First Game” tutorial on the 3.0 RC1
http://docs.godotengine.org/en/latest/learning/step_by_step/your_first_game.html
, i did exactly what’s written on the site everything was fine except the animation. I added SpriteFrames on AnimatedSprite but its not working, it only shows the first frame. Please help me. Thank You

:bust_in_silhouette: Reply From: Skyfrit

This may help you.
https://www.youtube.com/watch?v=uPoLKQG0gmw

Thank You, Yes i followed the tutorial i did the same thing but dont know why its not working.

sanjib | 2018-01-21 08:36

:bust_in_silhouette: Reply From: kidscancode

You didn’t say which scene you were having trouble with: the Player or the Mob.

If it’s the Player, this is set in the code, in the _process() function where you choose to either call play() on the AnimatedSprite (when the keys are pressed) or stop() when they are not. Check your code in that section.

If it’s the Mob, then you need to check the “On” box next to the Playing property in the Inspector.

Thank you Chris for the reply and i figured out my problem, actually am using Input.is_action_just_pressedit should be Input.is_action_pressed instead.

sanjib | 2018-01-21 09:14