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.

Author
Message
Evil stick
19
Years of Service
User Offline
Joined: 27th Mar 2005
Location:
Posted: 4th Jun 2005 01:51 Edited at: 4th Jun 2005 01:52
I have put a sound in the media folder, section, whatever you call it called 4_22b.wav, and this is what I put to play it.

And it says it can't load the sound. Help please.

evilness
Oneka
20
Years of Service
User Offline
Joined: 24th Apr 2004
Location: Hampton,VA
Posted: 4th Jun 2005 02:31
Make sure it is in the same folder as the executable and not some other folder. If you do put it in another folder you have to define the obsolute path of it.

Making better games everday!
Oh yeah and just so you know its Oh-nek-a not One-ka!
Evil stick
19
Years of Service
User Offline
Joined: 27th Mar 2005
Location:
Posted: 4th Jun 2005 02:59
It is

evilness
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 4th Jun 2005 04:14
Try changing the file name. Also, are you sure the file actually is a valid wav file?

Evil stick
19
Years of Service
User Offline
Joined: 27th Mar 2005
Location:
Posted: 4th Jun 2005 04:19
I'll try that, and if you mean valid, I can play it so....

evilness
bibz1st
21
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 6th Jun 2005 02:14
load sound "media folder/4_22b.wav", 1
play sound 1
you must put the name of the folder, that the sound is actually in
ThomasFN
20
Years of Service
User Offline
Joined: 26th Aug 2004
Location:
Posted: 7th Jun 2005 21:37
Put the sound file in the directory of your excutable file, and try to organize your media. Eg media\sounds\4_22b.wav. Load all your media in a clump of code. Eg

rem Media
Load Image "media\images\Exit.bmp", 1
Load Image "media\images\New.bmp", 2

Load Sound "media\sounds\4_22b.wav", 1
Load Sound "media\sounds\4_23b.wav", 2

Thomas Smith

Login to post a reply

Server time is: 2024-09-23 21:25:10
Your offset time is: 2024-09-23 21:25:10