ID:170088
 
I made a .wav file in my game and now it is in external how do i put it in my game at all??
it just needs to be in the same folder to be in the game if you want to play it just put
usr<<sound('This is a song.wav')


if you have 2 and want it to play in different places

area
Thisisasong
Entered()
usr<<sound('This is a song.wav')
Exited()
usr<<sound(0)

area
Thisisanothersong
Entered()
usr<<sound('This is another song.wav')
Exited()
usr<<sound(0)


then put the areas where you want the song played
In response to Sheepywoolyfluff
well that helps me in putting it in the game but now i need to know how you get it out of external and put it with the icons and stuff so it can find the .wav file
In response to Fatalsupernova
Put it in the same folder as the project, not an 'external' folder.
In response to Elation
well i am not sure how to do this and what kind of folder do i put it in?
In response to Fatalsupernova
Go to your folder with your music.
Copy/cut it.
Go to the folder with your code in it. (if you save your projects in the default directory, like I don't, then you'll find it in your BYOND directory).
Paste the music into that file with your code in.
In response to Fatalsupernova
Fatalsupernova, some people aren't meant to make games.
In response to Elation
Okay i have it on it now but when it plays it all runs together anyone know how to fix this
In response to Fatalsupernova
<_< Fatalsupernova, as it was previously mentioned, some people aren't made to make games... Either take two years to cut yourself off from the outside world to become accustom to the land of the buttom machines, or... give it up all together.

----------------------------------------------------------
But meh, I'm wasting time so... meh, I'd need to see what your doing in order to know how to help you...Oh, wait, yes! I know! .Wav's don't like to be played together, the run into eachother and fight, stick to mid's you'll be better off...
----------------------------------------------------------

.Mid(*) = Less detailed file, but runs nicely.
.Wav = Half detailed file, but clunky and unreliable.
.Mp3 = Highly detailed file, takes a bit more resources to run, but works out well.

* Best for BYOND.

fin.

--Super Squirrel
((Hey, wait a second, I had two testicals...))
In response to Super Squirrel
lol okay i started this almost 5 days ago and you hould see how far i got so far it is pretty awesome well i am just trying to learnt hanks for the help though
In response to Super Squirrel
Super Squirrel wrote:
<_< Fatalsupernova, as it was previously mentioned, some people aren't made to make games... Either take two years to cut yourself off from the outside world to become accustom to the land of the buttom machines, or... give it up all together.

----------------------------------------------------------
But meh, I'm wasting time so... meh, I'd need to see what your doing in order to know how to help you...Oh, wait, yes! I know! .Wav's don't like to be played together, the run into eachother and fight, stick to mid's you'll be better off...
----------------------------------------------------------

.Mid(*) = Less detailed file, but runs nicely.
.Wav = Half detailed file, but clunky and unreliable.
.Mp3 = Highly detailed file, takes a bit more resources to run, but works out well.

* Best for BYOND.

fin.

--Super Squirrel
((Hey, wait a second, I had two testicals...))


I myself believe .mid to be the best relyable for byond but also, i like using .wav also. I use a program called GoldWave, its free to download and i have no problems with it "Other than the fact compression takes down some of the music quality". In the program i go to Batch Processing under the File menu and I can convert Big .MP3s "Like 6 meg ones* and bring them down to like 500kb or less for byond games. I'm using the ending song #2 to Fullmetal Alchemist in my game as one of the backround music. I myself perfer goldwave to make my MP3s to Wavs and i have been doing it for like 3 years so far with no problem.

*Side note: I had a CDR full of .MP3s i downloaded and with the compression i was able to put 15times more music onto the CD with the compressed Wavs.*