0 votes

Hello,
I made a simple sprite animation (2D, sprite and animationPlayer) and in editor animation working but when I run 'game' there is no animation just static sprite.

animationPlayer.is_playing()

returns True same as

animationPlayer.get_current_animation()

returns test_anim (animation name)
Where can be the problem?

EDIT: Problem solved, I was trying to AnimationPlayer.play('anim') every frame so here is a problem :)

in Engine by (110 points)
edited by

Check playback options on the AnimationPlayer, maybe is playing but not active.

Hi eons AnimationPlayer is active and playing, just can see any animation :) I new to animations in Godot so probably I doing something wrong...

As I said I did stupid mistake :)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.