tophat2d / tophat

:tophat: a 2d game library for Umka
https://tophat2d.dev
BSD 3-Clause "New" or "Revised" License
67 stars 5 forks source link

add spatialized audio #106

Open marekmaskarinec opened 1 year ago

marekmaskarinec commented 1 year ago

miniaudio supports it, so why not use it.

skejeton commented 1 year ago

as a temporary workaround allow to specify panning of the audio, I don't know what's the usual format but -1..1 interval where -1 is only left ear and 1 is only right ear seems about correct

marekmaskarinec commented 1 year ago

You can already pan the audio.

skejeton commented 1 year ago

nvm then

skejeton commented 5 months ago

I think worth doing for 1.3/1.4