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.

DarkBASIC Discussion / music wont play

Author
Message
Wyrmslayer
21
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 20th May 2004 17:43
hehy guys i put this in 2d and i meant to put it here i just didnt think straight that day. anyways i cant get the music to play it is supposed to play when the sprites hit and mouse is clicked but nothing happens. i didnt want to use play music because it uses midi and that sounds wierd . i converted them from mp3 to wav to use the play sound command but it just doesnt work. if any1 can think of anything please let me know ill check back in a few hours if i can.

As a supervillian i swear to never gloat before killing the Hero.
Kain
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: NJ, USA
Posted: 21st May 2004 00:15
Well, DBC can play .mp3 files as sound effects, which is how I usually do it. Something like:

load sound "mysong.mp3",1
loop sound 1

What does your code look like? Are you sure its not a problem with the loop sound (or play sound) command not being activated as opposed to an actual problem with the command?

www.ShrikeSoftware.com
Wyrmslayer
21
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 21st May 2004 17:32
thanx but i found the problem as it turns out my "sound" was too large a file and that was keeping it from playing. i appriociate yuor help so thanx again.

As a supervillian i swear to never gloat before killing the Hero.

Login to post a reply

Server time is: 2025-05-23 20:06:55
Your offset time is: 2025-05-23 20:06:55