p8g
p8g copied to clipboard
[Feature]: Add sound support
Describe your idea
As requested by iddq_tea on discord https://discord.com/channels/959169147550445598/959169147550445601/1041812426158522429, they would like a cross-platform way to play sounds.
Add a function loadSound
that allows to load sounds and a function play
that allows to play said sound.
There is an example on how to get started with OpenAL: https://ffainelli.github.io/openal-example/