Skip to content

Releases: jcornaz/benimator

v4.1.3

01 Jul 15:38
Compare
Choose a tag to compare

Bug fixes

  • Fixed deserialization error of a "short form" frame list when using the toml crate.

Thank you

v4.1.2

09 Jan 00:08
Compare
Choose a tag to compare

4.1.2 (2023-01-09)

Documentation

  • readme: lower minimum support rust version to 1.60 (909eaea)

v4.1.1

08 Jan 12:19
Compare
Choose a tag to compare

4.1.1 (2023-01-08)

Documentation

  • readme: fix build badge (6ee96e7)
  • readme: remove build status badge (dd9adc9)

v4.1.0

11 Oct 15:14
Compare
Choose a tag to compare

4.1.0 (2022-10-11)

Features

v4.0.0

01 Sep 19:10
Compare
Choose a tag to compare

This release removes all integration with bevy.
benimator is no longer a bevy plugin. It is now an engine-agnostic rust library.
See the announcement for more details.

Removed (BREAKING)

  • State::animation_frame_index
  • PlayBackSpeed struct
    Without bevy integration, it is now possible (and easier)
    to alter the time duration, without the need for this struct.
  • Deprecated members

Changed (BREAKING)

  • Rename from_range and from_iter to from_indices
  • Rename structs
    SpriteSheetAnimation -> Animation
    SpriteSheetAnimationState -> State
  • Change syntax of repeat-from to: !RepeatFrom n
  • The state is no longer automatically reset after the last frame of a run_once animation.
    So one must explicitly reset the state if they desire to restart the animation later.
  • [unstable-load-from-file] Remove from_(yaml|ron)_(str|bytes) functions

New Features (BREAKING)

  • Allow to define animation FPS or total duration (on top of the existing frame-duration)
    Now Animation::from_iter and Animation::from_range take a FrameRate instead of a duration.
    The FrameRate can be created from a frame duration, total duration or a from a fps (frame-per-second).

Minimum supported rust version (BREAKING)

  • Require the latest stable version of rust at all time

New Features

  • Deserialize fps and total_duration property
  • Implement Serialize for Animation
  • Implement Extend<Frame> for Animation
  • Implement Eq for Animation
  • State::new constructor
  • Implementation of Default for Animation an Frame
  • State::frame_index method
  • Public update function for the state.

Stabilization

  • Stabilize load-from-file.
    The feature flag is removed. The feature flag serde should be used instead.

Documentation

  • Improve crate-level example
  • Describe better the project with goals and examples

v4.0.0-rc.1

09 Aug 19:04
Compare
Choose a tag to compare
v4.0.0-rc.1 Pre-release
Pre-release

This release removes all integration with bevy!

benimator is no longer a bevy plugin, but an engine-agnostic rust library.
See the announcement for more details.

Removed (BREAKING)

  • State::animation_frame_index
  • PlayBackSpeed struct
    Without bevy integration, it is now possible (and easier)
    to alter the time duration, without the need for this struct.
  • Deprecated members

Changed (BREAKING)

  • Rename from_range and from_iter to from_indices
  • Rename structs
    SpriteSheetAnimation -> Animation
    SpriteSheetAnimationState -> State
  • Change syntax of repeat-from to: !RepeatFrom n
  • The state is no longer automatically reset after the last frame of a run_once animation.
    So one must explicitly reset the state if they desire to restart the animation later.
  • [unstable-load-from-file] Remove from_(yaml|ron)_(str|bytes) functions

New Features (BREAKING)

  • Allow defining animation FPS or total duration (on top of the existing frame duration)
    Now Animation::from_iter and Animation::from_range take a FrameRate instead of a duration.
    The FrameRate can be created from a frame duration, total duration or a from a fps (frames-per-second).

New Features

  • Deserialize fps and total_duration property
  • Implement Serialize for Animaition
  • Implement Extend<Frame> for Animation
  • Implement Eq for Animation
  • State::new constructor
  • Implementation of Default for Animation an Frame
  • State::frame_index method
  • Public update function for the state.

Stabilization

  • Stabilize load-from-file.
    The feature flag is removed. The feature flag serde should be used instead.

v4.0.0-beta.3

07 Aug 21:20
Compare
Choose a tag to compare
v4.0.0-beta.3 Pre-release
Pre-release

New Features (BREAKING)

  • Rename from_range and from_iter to from_indices
  • Allow to define animation FPS of total duration (on top of the existing frame-duration)
    Now Animation::from_iter and Animation::from_range take a FrameRate instead of a duration.
    The FrameRate can be created from a frame duration, total duration or a from a fps (frame-per-second).

New Features

  • Deserialize fps property

v4.0.0-beta.2

02 Aug 21:09
Compare
Choose a tag to compare
v4.0.0-beta.2 Pre-release
Pre-release

New Features

  • implement Serialize for Animation
  • implement Extend<Frame> for Animation
  • implement Eq for Animation
  • State::new constructor

Removed (BREAKING)

  • implementation of Default for Animation and Frame

v4.0.0-beta.1

01 Aug 20:06
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

This release removes all integration with bevy.
benimator is no longer a bevy plugin, but an engine-agnostic rust library.
See the announcement for more details.

Removed (BREAKING)

  • PlayBackSpeed struct
    Without bevy integration, it is now already possible (and easier)
    to alter the time duration, without the need for this struct.
  • Deprecated members

Changed (BREAKING)

  • Rename structs
    SpriteSheetAnimation -> Animation
    SpriteSheetAnimationState -> State
  • Change yaml syntax of repeat-from to: !RepeatFrom n
  • The state is no longer automatically reset after the last frame of a run_once animation.
    So one must explicitly reset the state if they desire to restart the animation later.
  • Remove from_(yaml|ron)_(str|bytes) functions

Added

  • Add sprite_frame_index method to state
  • Public update function for the state.

Stabilization

  • Stabilize load-from-file.
    The feature flag is removed. The feature flag serde should be used instead.

v4.0.0-alpha.9

31 Jul 16:53
Compare
Choose a tag to compare
v4.0.0-alpha.9 Pre-release
Pre-release

4.0.0-alpha.9 (2022-07-30)

Dependencies (BREAKING)

  • Add support for bevy 0.8
  • Drop support for bevy 0.7
  • Require rust 1.62