Adding audio - is there a better way?
I have a quiz game and want to add audio to the questions. At present, I have an image and some text that appear for each question. I'd also like a different audio clip to play for each question.
I believe there is currently no way to select audio with an expression.
To workaround this I am contemplating adding an actor for every audio to the scene. Each actor could potentially play their audio clip when clicked on. I can then adjust the position of the actor to show and be available to touch/play according to the value in a table on the same row as the table cell used to decide which question is being used.
Doing this won't be a problem, but it seems dreadfully inefficient. I'm concerned that every audio file will need to be loaded so the game will be very slow if there are a lot of questions. However, it may be that all the audio files are loaded into the client memory anyway, as soon as the game is started.
Do you have an insight into any of this or know of a better way of approaching the problem?