The Daily Click ::. Forums ::. Klik Coding Help ::. The question bout sound
 

Post Reply  Post Oekaki 
 

Posted By Message

Don Luciano

Heavy combat pancake

Registered
  25/10/2006
Points
  380

VIP Member
4th January, 2009 at 17:05:17 -

Eh, i v never put much effort into sounds, but i realized they are quite important for the whole effect of the game.

And one thing i want to ask. I have a number that defines the distance from the sound to the player. like if the object is far from the player you dont hear it. and when its close to the player u can hear it.

The problem is when i set sample volume i need a number between 0-100 (0 no sound, 100 max) and the distance from one object to player is like from 0-500, kinda reversed.



 
Code me a sausage!

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
4th January, 2009 at 17:08:52 -

(500 - distance from sound)/5

 

  		
  		

Don Luciano

Heavy combat pancake

Registered
  25/10/2006
Points
  380

VIP Member
5th January, 2009 at 14:46:29 -

thx word word word

 
Code me a sausage!
   

Post Reply



 



Advertisement

Worth A Click