Closed ICEREG1992 closed 1 month ago
Playing music uninterrupted through video changes is handled via React useState, hooray for react! Keeping this open before we figure out fade in/out
To fade in/out: create a useEffect on the gameState property that says what music is being played, tie it to a function that raises/lowers the volume over 10 or so steps (tie this to a variable)
This is finished as of the latest commit. Implemented using a new fader
useState variable
Describe the addition
Context
Music plays separately alongside videos so that the video can loop, cut, change, and load freely. Music should play uninterrupted when a set of blocks all have that same track specified.
Proposed Solution