I am creating a JavaScript game that needs sound to make it engaging, even without client interaction. However, on iOS, there are heavy restrictions in place to prevent potential misuse of sounds, videos, etc., which I completely understand.
In my case, I have one button to start the game. There are a few other buttons, but none of which could be used for the sounds I want to play.
Knowing the restrictions, are there any other possible work-arounds for this besides buttons/clicks?
I have done some research on SO, Reddit and ChatGPT, and so far nothing fits this type of situation (an application that needs audio without more than 1-2 document clicks).
One thing I have tried is using the first button (the game start button) to play multiple clips. However, this only played one of them.
Are there any possible or ideal solutions? My guess is no, but it doesn’t hurt to have extra opinions.
Thanks in advance.