Animated Spite Doesn't Start at Frame 0

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By pixelinkmedia

Hi,

From researching online, most people have problems with their animated sprite stuck on frame 0.

For me its the opposite
My animation starts at different frames depending on where it is when i export. Sometimes I can get the timing down, but most of the time I don’t

Why is my animation starting at different frames when i run in the IDE and when i export and run the exe??

Is this a bug??

:bust_in_silhouette: Reply From: pixelinkmedia

Solved my own issue.

When you have “Playing” set to ON in the inpector. The export is using that to determine where the animated sprite should start.

I turned it off before export.
BUT, I also had to add this code…

func _ready():
       $AnimatedSprite.play()