Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Right now I'm just playing wilderness ambiance noises in random X and Y coordinates in the whole viewport. I however would like to make the effect more advanced and get these sounds to only play in a distant radius around the player and ignore the close radius because the player is never going to see these creatures making the noises they make and it's weird when one plays right next to the player because of this.
Add a line of sight behaviour with the radius you want, and play sounds only if the player doesn't have line of sight?
I don't think that'd suit my purposes but I must commend you because you got me thinking that my best bet would probably be to make an object set along sine and cosine around the player with a minimal value to the radius of the circle it's making and play the sounds from it's X and Y positions.
Yep, or just use a circular invisible sprite pinned to the player and only play sounds if it's not overlapping the origin of the sound. But I'm lazy, your solution sounds more impressive
Develop games in your browser. Powerful, performant & highly capable.
Yeah the method I wrote above works pretty good. I had to increase the volume of my wildlife ambiance but it was worth the extra effort involved.
And hey, I say to each his own, every game is a case by case basis. :p