-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
API updates to the AnimationPlayer #9002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
e663e51
RepeatAnimation, is_playback_reversed(), is_finished(), animation upd…
DevinLeamy a6488df
Apply modulo to elapsed time
DevinLeamy 169a94c
Greater than or equals
DevinLeamy 1400461
lint
DevinLeamy 6e3b15c
Updated names and comments
DevinLeamy eec1240
Typo
DevinLeamy a9f82a3
Added animation_clip() accessor and made animation_clip optional
DevinLeamy a920e90
lint
DevinLeamy 57df0ac
Updated comment
DevinLeamy 5af3277
Conditionally update the elapsed time
DevinLeamy 1d829db
repeat_mode() and completions() public accessors
DevinLeamy 3ad8d27
Updated comment
DevinLeamy 62c67e5
Implement default for RepeatAnimation, with Never as the default
DevinLeamy d36d5bc
Renamed PlayingAnimation::finished to PlayingAnimation::is_finished t…
DevinLeamy a3a7eb4
animation_clip: Handle<AnimationClip>, rather than Option<Handle<Anim…
DevinLeamy 60fc68c
Introduced seek_time and PlayingAnimation::update()
DevinLeamy 63a71b6
Introduced AnimationPlayer::replay() to reset the PlayingAnimation's …
DevinLeamy 88fd036
Removed AnimationPlayer::stop_repeating() and added a comment to Anim…
DevinLeamy 764ae7e
Updated examples
DevinLeamy e028c17
Remove unused import
DevinLeamy f09ce88
Merge branch 'main' of https://github.com/bevyengine/bevy into animat…
DevinLeamy 9670723
nit: fix comment
DevinLeamy 1d2a9b9
Nit: improved comment
DevinLeamy d59789b
Replaced deprecated for_each_mut with for_each
DevinLeamy 011d13f
Updated animated_fox example to showcase the repeat modes
DevinLeamy 5b8da3f
Merge branch 'animation-api' of https://github.com/DevinLeamy/bevy in…
DevinLeamy f52c991
Merge branch 'main' of https://github.com/bevyengine/bevy into animat…
DevinLeamy 7910f05
nit: format
DevinLeamy 6527d72
Reformat comments + re-run CI, post moving run-examples over to windows
DevinLeamy f50c8c4
nit: cargo fmt --all
DevinLeamy 8d3b642
Applied suggestions (updates to comments and inlines)
DevinLeamy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.