KirmesBude / bevy_trickfilm

bevy_trickfilm
Apache License 2.0
6 stars 3 forks source link

repeat_from_frame functionality #16

Open KirmesBude opened 9 months ago

KirmesBude commented 9 months ago

From #14

The reason I want this is to play an animation once, then play a looping animation once the anticipation animation is complete. It's a somewhat generic case that could also have it's own field, like repeat_from_frame or something where the user can specify a repeating animation that plays additional start up frames only ones. Probably not terribly hard to implement, but not sure what the scope of this crate is and if this falls into it.

I feel like this might touch on a different feature request. You could also just have 2 animations - one for the lead one, playing once and one for the looping part. Could you elaborate what advantages you see for your approach? If it was easier to model such transitions, would you still define just a single animation?

PraxTube commented 4 weeks ago

So yeah, the is_finished is totally enough, this can be closed from my side.