Releases: jcornaz/benimator
Releases · jcornaz/benimator
v4.1.3
Bug fixes
- Fixed deserialization error of a "short form" frame list when using the toml crate.
Thank you
v4.1.2
v4.1.1
v4.1.0
v4.0.0
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
andfrom_iter
tofrom_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)
NowAnimation::from_iter
andAnimation::from_range
take aFrameRate
instead of a duration.
TheFrameRate
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
andtotal_duration
property - Implement
Serialize
forAnimation
- Implement
Extend<Frame>
forAnimation
- Implement
Eq
forAnimation
State::new
constructor- Implementation of
Default
forAnimation
anFrame
State::frame_index
method- Public
update
function for the state.
Stabilization
- Stabilize load-from-file.
The feature flag is removed. The feature flagserde
should be used instead.
Documentation
- Improve crate-level example
- Describe better the project with goals and examples
v4.0.0-rc.1
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
andfrom_iter
tofrom_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)
NowAnimation::from_iter
andAnimation::from_range
take aFrameRate
instead of a duration.
TheFrameRate
can be created from a frame duration, total duration or a from a fps (frames-per-second).
New Features
- Deserialize
fps
andtotal_duration
property - Implement
Serialize
forAnimaition
- Implement
Extend<Frame>
forAnimation
- Implement
Eq
forAnimation
State::new
constructor- Implementation of
Default
forAnimation
anFrame
State::frame_index
method- Public
update
function for the state.
Stabilization
- Stabilize load-from-file.
The feature flag is removed. The feature flagserde
should be used instead.
v4.0.0-beta.3
New Features (BREAKING)
- Rename
from_range
andfrom_iter
tofrom_indices
- Allow to define animation FPS of total duration (on top of the existing frame-duration)
NowAnimation::from_iter
andAnimation::from_range
take aFrameRate
instead of a duration.
TheFrameRate
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
New Features
- implement
Serialize
forAnimation
- implement
Extend<Frame>
forAnimation
- implement
Eq
forAnimation
State::new
constructor
Removed (BREAKING)
- implementation of
Default
forAnimation
andFrame
v4.0.0-beta.1
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 flagserde
should be used instead.
v4.0.0-alpha.9
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