benimator icon indicating copy to clipboard operation
benimator copied to clipboard

feat!: use frame-rate in deserialization format

Open jcornaz opened this issue 1 year ago • 0 comments

Replace the top level frame_duration property with a rate which takes a rate enum (one of TotalDuration, FrameDuration or Fps).

So that it is now possible to define the FPS of the animation in serialized animations.

Note, that if the rate is defined that way, it has precedence over the duration defined on each frame.

Remaining tasks

  • [ ] Fail if there is a conflict between the top-level rate and a frame duration?
  • [ ] Update the documentation

jcornaz avatar Aug 03 '22 21:08 jcornaz