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

Add sound #17

Open
Klevh opened this issue Jan 28, 2019 · 2 comments
Open

Add sound #17

Klevh opened this issue Jan 28, 2019 · 2 comments
Assignees

Comments

@Klevh
Copy link
Collaborator

Klevh commented Jan 28, 2019

Use SDL2 to add sound utilities

  • Bind sound to animations (continuously and on occurrence)
  • Bind sound to a window (which can optionally be blocked if window not focused)
  • Add sound on event occurrence (on element AND on window)
@Klevh
Copy link
Collaborator Author

Klevh commented Mar 14, 2019

Also create a global sound management to load sounds at the beginning of the program then use them when needed with their index

@Klevh Klevh self-assigned this Mar 14, 2019
@Klevh
Copy link
Collaborator Author

Klevh commented Jun 8, 2019

Add a "register sound" function to add a global sound, and return its index for future use

Add a window music played when the window has the focus

Add a sound by events for Windows and elements

Add sound binding to animation transition

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

No branches or pull requests

1 participant