Game Development Community

audio woes

by rennie moffat · in Torque Game Builder · 04/26/2010 (12:02 pm) · 4 replies

I had gotten audio to work earlier but no longer.


I have.
set up my audio.cs file etc. and am following the steps.
I have called my looping music to play on collision with objectX.

When objectX is collided with the player, I switch the collisions to false and call the music to play. The collisions are turned off as I noticed using the debug render but the audio is not being called.


I use
$bkgLoop1 = alxPlay(%this.sound);
//this.sound is a behaviorField, string, 

//I have also  tried 
$bkgLoop1 = alxplay(bkgLoop1);
// the actually audio profile name.


I call the audio.cs in the game.cs i set audioTypes, profiles and descriptions. really annoyed here, I guess from this it is useless to ask for help?




About the author

My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.


#1
04/26/2010 (5:38 pm)
Yes.
#2
04/26/2010 (5:52 pm)
hmm, but I am not stupid? I am calling everything as is. I have my own little folder, data/audio/music. my files are .wav, profiles and descriptions etc. audio.cs in the gameScripts folder and is called in game.cs.



hmmmmmmmm.


this is the right track. no?
#3
04/27/2010 (2:52 am)
You've already posted about this here. Multiple posts on the same subject are considered spam.
#4
04/27/2010 (6:21 am)
ok,
I did not realize it was that harsh. I posted again thinking, since technically it was no longer my first sound. Technically it was my second. But fair is fair. I hope to get sound running today. If it is such an issue, please feel free to delete this thread.