Hi Everyone,
Another newbie question here
I am developing the game Escape, the Curse of the Temple, A real time game, where the physical game uses an audio recording as the timer for rounds and end game as well and also to help create the game ambience
I like to add the audio recording to the game, I have unsuccessfully followed the "Sounds" instructions in https://en.doc.boardgamearena.com/Game_ ... amename.js so have no sound
I added the sound files, ST1begin.mp3 and ST1begin.ogg to my img/ directory ( the directory where the game images files are )
This is my .tpl, This is what I added just after the comments at the beginning of the file
in my .js I added this line exactly
Can you please tell me where I have gone wrong and what I can do to have the sound files played?
Thank you for any help, advice and/or suggestions.
Another newbie question here
I am developing the game Escape, the Curse of the Temple, A real time game, where the physical game uses an audio recording as the timer for rounds and end game as well and also to help create the game ambience
I like to add the audio recording to the game, I have unsuccessfully followed the "Sounds" instructions in https://en.doc.boardgamearena.com/Game_ ... amename.js so have no sound
I added the sound files, ST1begin.mp3 and ST1begin.ogg to my img/ directory ( the directory where the game images files are )
This is my .tpl, This is what I added just after the comments at the beginning of the file
Code: Select all
-->
<audio id="audiosrc_escape_ST1begin" src="{GAMETHEMEURL}img/escape_ST1begin.mp3" preload="none" autobuffer></audio>
<audio id="audiosrc_o_escape_ST1begin" src="{GAMETHEMEURL}img/escape_ST1begin.ogg" preload="none" autobuffer></audio>
<div id="outer_wrapper" class=" outer_wrapper">
Code: Select all
playSound('escape_ST1begin');
Thank you for any help, advice and/or suggestions.