Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Need help with music playing on game.

Author
Message
SophieLouise
12
Years of Service
User Offline
Joined: 14th Jan 2012
Location:
Posted: 14th Jan 2012 22:17
(I have tried searching for this on forums, could not find it).

I've created the menu and game, and placed music onto the menu. Trying to figure out how to get the music to stop once the game has started? (The music plays fine, just can't figure out the code to make it stop)





pewpewpew
Bardolf
15
Years of Service
User Offline
Joined: 15th Feb 2009
Location: UK
Posted: 15th Jan 2012 00:40
Hi SophieLouise,

Just ran up the following code, hope this works for you:




Don't know which version of DBP you have but you should find plenty of help under the "Help > DarkBasic Professional Help" Tab.

Happy Coding

- Bardolf

If at first you don't succeed - Hide the evidence

Login to post a reply

Server time is: 2024-11-22 06:14:31
Your offset time is: 2024-11-22 06:14:31