Jump to content

This Game Needs Sound!


fumanshoo
 Share

Recommended Posts

I would expect that loading some sort of song would be as simple as:

 

sound = LoadSound("abstract::02 - Max Out.mp3")

 

Also, how would I set the position of said sound? I have a record player in le game and I want the music to sort of fade out when I leave the room.

 

Must it be an OGG file?

Link to comment
Share on other sites

I figured it out using an alternate method, but thanks for the help! What I did was:

 

sound = LoadSound("abstract::02 - Max Out.OGG")

 

 

if KeyDown(KEY_V)==1 then

PlaySound(sound)

end

 

 

oh, and .mp3 doesn't work... it says something about a violation haha

 

I probably should have done it the way you guys said, but in this case, what I did worked out fine...

Link to comment
Share on other sites

Audacity is pretty sweet, but I just converted the .mp3 with http://media.io/t1-v8.jsp?utm_expid=19917220-1&utm_referrer=http%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D1%26ved%3D0CDMQFjAA%26url%3Dhttp%253A%252F%252Fmedia.io%252F%26ei%3DL1GtUN_MMOGT0QHpsoGgCQ%26usg%3DAFQjCNEebEV6B328Y0OueWNMeCDOFeyCnA%26sig2%3Dj9Ni0fxRreySCto-pUPyeA to save me some time...

 

P.S., Cassius, you get 20 awesome points for always giving me good advice/answers. Thanks biggrin.png .

 

I also have an audio guy working on editing the audio and such for my game, so I don't want to bother with it too much. I only do the converting.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...