Benimator Versions Save

A sprite animation library for rust game development

v4.1.3

10 months ago

Bug fixes

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

Thank you

  • @tguichaoua

v4.1.2

1 year ago

4.1.2 (2023-01-09)

Documentation

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

v4.1.1

1 year ago

4.1.1 (2023-01-08)

Documentation

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

v4.1.0

1 year ago

4.1.0 (2022-10-11)

Features

v4.0.0

1 year ago

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

1 year ago

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

1 year ago

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

1 year ago

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

1 year ago

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

1 year ago

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