Hello! First of all, I have to say that I don’t know anything about CSS codes or any computer language. Maybe something basic, but almost nothing. I’m working on an election-based game for my master’s thesis and I need to know how can I handle with the audio. I explain myself:
I need to put background audio on certain passages. For example: When the game starts, I want quiet background music to be played, but then, when the player gets into a fight, I would like to remove that background music and change it to a more violent song.
On the other hand, I would like to add sound effects while the background music plays. (This is not mandatory, but it would be great)
The problem is:
Before the new Sugarcube update, this June, it was easy for me to put the audio because you only had to add in the passage “StoryInit” the cacheaudio tag with the key name of the song that you want to be played in quotation marks, and then, In the specific passage, simply put the audio tag with the key name in quotation marks too and add the address of the folder where the music file is. However, now this doesn’t work and there seems to be something called “simplyaudio” or “API” that I have no idea what it is or how does it works.
Could anyone help me please? I am starting to learn CSS for the first time in my life and it is very difficult for me, but I would like to learn something.
Thanks.