msg ("<br/>You take a chance and slowly creep into the commons area. You look around and see a gathering of about 50-60 Dingoes near the northwest corner of the room. They appear to be surrounding a stage and seem quite worked up. On the stage are two men. One tall, fit looking man with the evilest of expressions and the other a monster of a man, one of the largest you've ever seen looks beaten and empty.<br/>")
play sound ("protest.mp3", false, true)
if (game.pov.parent = Commons) {
SetTurnTimeout (2) {
msg ("You are distracted by the speaker on stage. \"...and it brings us to this moment, Dingoes!\"")
play sound ("approval1.wav", false, false)
SetTurnTimeout (1) {
msg ("\"I am Hailu, Sarlashkar of the Dingo Nation!\"")
play sound ("cheer1.wav", false, false)
SetTurnTimeout (1) {
msg ("\"And here,\" Hailu points at the downcast man kneeling before him, \"We have Hercules Mongo!\"")
play sound ("kill him chant.mp3", false, false)
SetTurnTimeout (1) {
msg ("\"We cannot tolerate insubordination here! He must be dealt with!\" yells the Sarlashkar.")
play sound ("yes crowd.mp3", false, false)
SetTurnTimeout (1) {
msg ("\"Mongo has chosen betrayal. Betrayal is NOT an option!\" Hailu continues.")
play sound ("crowd2.wav", false, false)
SetTurnTimeout (1) {
msg ("\"Remember this Dingoes! Remember this day!\"")
SetTurnTimeout (1) {
play sound ("man cry.wav", false, false)
msg ("\"One of your own. Hercules Mongo. The strongest man here... even he cannot question Doctor Dingo and the Nation!\" At this, Hecules cowers even further on his knees and begins to whimper.")
}
}
}
}
}
}
}
}
"You enter the room and you hear people laughing! <audio src=\"" + GetFileURL("laughing people.wav") + "\" autoplay></audio>"
"You enter the room and you hear people laughing! <audio src=\"" + GetFileURL("laughing people.wav") + "\" autoplay></audio>"
"You enter the room and you hear people laughing! <audio id=\"laughing\" src=\"" + GetFileURL("laughing people.wav") + "\" autoplay></audio>"
JS.eval("$('#laughing')[0].stop()")
$('#laughing')[0].stop()
msg ("You enter the room and you hear people laughing! <audio id=\"laughing\" src=\"" + GetFileURL("laughing people.wav") + "\" autoplay></audio>")
eval ("$('#laughing')[0].stop()")
jaynabonne wrote:Would you be able to either post or email me a copy of the game? (Though I guess sounds would be a problem - though I could substitute my own.)
One thing to try: when running the game, choose "HTML Tools" at the top and then click on Console and see if there are any errors.
I'll see if I can work up my own sample, if I am not able to get yours.
<function name="execution"><![CDATA[
SetTurnTimeout (2) {
msg ("You are distracted by the man on stage. '<b>...and, Dingoes, we are led to this moment!</b>' <audio src=\"" + GetFileURL("cheer1.wav") + "\" autoplay></audio>")
SetTurnTimeout (1) {
msg ("‘<b>And here</b>,’ Hailu points at the downcast man kneeling before him, ‘<b>We have Hercules Mongo!</b>’ <audio src=\"" + GetFileURL("kill him chant.mp3") + "\" autoplay></audio>")
SetTurnTimeout (1) {
msg ("<b>‘We cannot tolerate insubordination here! He must be dealt with!’</b> yells the Sarlashkar. <audio src=\"" + GetFileURL("yes crowd.mp3") + "\" autoplay></audio>")
SetTurnTimeout (1) {
msg ("<b>‘Mongo has chosen betrayal. Betrayal is NOT an option!’</b> Hailu continues. <audio src=\"" + GetFileURL("crowd2.wav") + "\" autoplay></audio>")
SetTurnTimeout (1) {
msg ("<b>'Remember this Dingoes! Remember this day! No traitor goes unpunished!'</b> The Sarlashkar's mouth widens in a menancing grin. <audio src=\"" + GetFileURL("male crying.wav") + "\" autoplay></audio>")
SetTurnTimeout (1) {
msg ("<b>’One of your own. Hercules Mongo. The strongest man here... even <i>he</i> receives his just dues!’</b> At this, Hercules cowers and begins whimpering.")
SetTurnTimeout (1) {
msg ("Hailu stalks slowly toward the front of the stage, leering out at the hungry crowd.")
SetTurnTimeout (1) {
msg ("As he circles around Mongo, still peering through seedy eyes at the crowd, he locks eyes with you and his grin turns into rage.")
SetTurnTimeout (1) {
msg ("Just before you decide to bolt for the doors, the Sarlashkar spin away and snatches something off of what looks like an altar. The crowd roars with excitement! <audio src=\"" + GetFileURL("screamloud.wav") + "\" autoplay></audio>")
SetTurnTimeout (1) {
msg ("When the executionary turns back around, he is weilding a massive broadsword. You can make out a growing cacophony of 'Yesses' from the onlookers. <audio src=\"" + GetFileURL("yescrowd.mp3") + "\" autoplay></audio>")
SetTurnTimeout (1) {
msg ("'<b>And so it shall be!!'</b> the executionary screams. He brings the wide, sharp sword down at the back of Mongo's neck with a sickening thump-crack. <audio src=\"" + GetFileURL("swordsplat.wav") + "\" autoplay></audio>")
SetTurnTimeout (1) {
msg ("The beheading showers the front row of Dingoes as if they were in some perverse watermelon smashing comedy show. After a very brief silence, the crowd of Dingoes begin chanting. <b>'DINGO. DINGO. DINGO. DINGO!'</b>. <audio src=\"" + GetFileURL("coins.wav") + "\" autoplay></audio>")
}
}
}
}
}
}
}
}
}
}
}
}
eval ("$('#laughing')[0].pause()")
eval ("$('#laughing')[0].currentTime=0")
Silver wrote:You have to add the .ogg file extension to the list of files the game will use.