You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm testing sprite frames in the editor, pause the animated sprite frame in the middle of the animation (or manually set an Animation Frame in the middle) and save the scene, next time I play the animation at runtime (whether via AutoPlay or play() in code), it will start mid-animation, from the frame I saved it at.
I want to open a proposal to force Autoplay-ing Animated Sprite from the 1st frame, if autoplay is enabled. However I'm curious if some developers rely on the "play from middle of animation" behavior and whether it's worth adding a toggle option to restore the old behavior), or just always play Autoplay animation from start (which would change behavior).
This is a cheaper alternative to #6977 so I think it's worth considering.
Note: this is for AnimatedSprite2D only. Using an Animation Player will always auto-play or play() the animation from start (tested in Godot 4.0.2 and 4.3).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I'm testing sprite frames in the editor, pause the animated sprite frame in the middle of the animation (or manually set an Animation Frame in the middle) and save the scene, next time I play the animation at runtime (whether via AutoPlay or
play()
in code), it will start mid-animation, from the frame I saved it at.I want to open a proposal to force Autoplay-ing Animated Sprite from the 1st frame, if autoplay is enabled. However I'm curious if some developers rely on the "play from middle of animation" behavior and whether it's worth adding a toggle option to restore the old behavior), or just always play Autoplay animation from start (which would change behavior).
This is a cheaper alternative to #6977 so I think it's worth considering.
Note: this is for AnimatedSprite2D only. Using an Animation Player will always auto-play or
play()
the animation from start (tested in Godot 4.0.2 and 4.3).Beta Was this translation helpful? Give feedback.
All reactions