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

spx: Animation binding #603

Open
nighca opened this issue Jun 18, 2024 · 1 comment
Open

spx: Animation binding #603

nighca opened this issue Jun 18, 2024 · 1 comment
Labels

Comments

@nighca
Copy link
Collaborator

nighca commented Jun 18, 2024

  • Support "default" status for animation binding

    If

    • Current sprite not in other status (die, step, etc.)
    • Current sprite not playing other animations

    The animation bound to "default" status will be played automatically & repeatedly

  • Support binding one animation to multiple statuses

@nighca nighca changed the title spx: Support "default" status for animation binding spx: Animation binding Jun 18, 2024
@nighca nighca added the spx label Jun 18, 2024
@nighca
Copy link
Collaborator Author

nighca commented Jun 20, 2024

And

  • The animation bound to status Step & Default is expected to be played repeatedly, if the status duration is longer than the animation's duration.
  • The animation bound to status Die is expected to be played only once when "dying" happened, even if the status duration is longer than the animation's duration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant