The place to discuss the ADRIFT Interactive Fiction toolkit

Multiple sounds - problem

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

Multiple sounds - problem

Postby Josnerd » Tue Nov 05, 2013 5:15 am

Can anyone please help with this one:

I'm new to Adrift, and quite new to programming as well.
I am trying to make a game that has a song playing in the background, as main theme. This song is 5 minutes long, it's set to play on channel 1, with no loop.
After a couple of screens I want to add a 2nd sound (a door closing) to play on channel 2, no loop.
All of this happens in the Introduction screen, the screens are separated by <waitkey> tags.

I first loaded the song track by clicking on the "audio" tab, and later typed in the <audio> tag to play the 2nd sound, but when I run the game it will only play one of the sounds. The source code deletes the <audio> tag for the 2nd sound and plays only the 1st.

How do I solve this? Thank you guys!

Posts: 1
Joined: Tue Nov 05, 2013 5:06 am

Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 1 guest