How do I Check Relative Position?

ozz

  • *
  • Posts: 557
I have two moving actors, I would like to make a looped sound louder as the two actors get closer to one another and less loud as they move away.  How can this be done?

irock

  • *
  • Posts: 2899
To get the distance between two points:


ozz

  • *
  • Posts: 557
Wow, that really works, thank you.


Innes

  • *
  • Posts: 1961
Wow, that really works, thank you.

It's been working for about 2,500 years, so it should still be good now!

  ;D

Visit www.TheStencylBook.com - the only published book for learning Stencyl.