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

Play a sound upon hit #124

Closed
azriel91 opened this issue Mar 12, 2020 · 0 comments
Closed

Play a sound upon hit #124

azriel91 opened this issue Mar 12, 2020 · 0 comments
Assignees
Labels
F: core Core application functionality - managing resources, state, etcetera.

Comments

@azriel91
Copy link
Owner

In GitLab by @azriel91 on May 9, 2019, 16:47

Play a hit sound when a character is hit. Consider:

  • How to ship the sound.

    Part of default assets for now.

  • Configuration options:

    • In the Interactions
    • In the Body
    • Separate item: depends on the interaction type and body
  • Implementation

    Because you cannot stop a Sink and play another sound.

    • Simple: Create Sink per sound, drop it after.
    • Medium: Create a pool of Sinks, and use and replenish.
@azriel91 azriel91 added the F: core Core application functionality - managing resources, state, etcetera. label Mar 12, 2020
@azriel91 azriel91 added this to the More Collisions milestone Mar 12, 2020
@azriel91 azriel91 self-assigned this Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F: core Core application functionality - managing resources, state, etcetera.
Projects
None yet
Development

No branches or pull requests

1 participant