tmedwards / sugarcube-2

SugarCube is a free (gratis and libre) story format for Twine/Twee.
https://www.motoslave.net/sugarcube/2/
BSD 2-Clause "Simplified" License
185 stars 42 forks source link

Stateful audio subsystem #11

Closed tmedwards closed 4 years ago

tmedwards commented 4 years ago

The audio subsystem—the SimpleAudio API and backing browser APIs—currently integrate neither the current audio configuration nor current playback state into play sessions—meaning neither page reloads nor save loads may restore the audio state.

This requires authors to either accept that audio may briefly stop playing after a page/save load or add extra code to ensure their audio is restored after such.

It would be better if the audio subsystem could handle this automatically for authors.

Issues

tmedwards commented 4 years ago

Closed in favor of the v3 issue: https://github.com/tmedwards/sugarcube-3-prealpha/issues/3

NOTE: The v3 repository is not yet public, so the above link probably will not work for you until it is.