Hey guys am current working on a game concept wherein there is an object that moves across the screen depending on the accelerometer and gravity. I want to add sound, as this object moves across the screen. The sound should be such that when the y value of the object is low the volume is high and when its y value is high the volume of the sound is low. I don’t know how to do this. And this is extremely crucial to my game. Please help me…please. Or give me some clue or reference please. [import]uid: 44499 topic_id: 8287 reply_id: 308287[/import]
Nothing personal, but did you even look in the API reference before asking this?
http://developer.anscamobile.com/reference/index/audiosetvolume [import]uid: 12108 topic_id: 8287 reply_id: 30175[/import]