SANDAL2 icon indicating copy to clipboard operation
SANDAL2 copied to clipboard

Add sound

Open Klevh opened this issue 6 years ago • 2 comments

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 avatar Jan 28 '19 08:01 Klevh

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

Klevh avatar Mar 14 '19 19:03 Klevh

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

Klevh avatar Jun 08 '19 09:06 Klevh