Skip to content
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

feat: Add range constructor on SpriteAnimationData #1572

Merged
merged 4 commits into from
Apr 25, 2022
Merged

feat: Add range constructor on SpriteAnimationData #1572

merged 4 commits into from
Apr 25, 2022

Conversation

oloshe
Copy link
Contributor

@oloshe oloshe commented Apr 25, 2022

When using sprite animation, you can control the range of animation display by passing in the two parameters of start and end

Copy link
Member

@erickzanardo erickzanardo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good addition! Thanks

packages/flame/lib/src/sprite_animation.dart Outdated Show resolved Hide resolved
Co-authored-by: Erick <erickzanardoo@gmail.com>
@spydon spydon enabled auto-merge (squash) April 25, 2022 21:50
@spydon spydon merged commit e42b495 into flame-engine:main Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants