D
Dwighty4000
Guest
I am using GMS2 with the GameMaker Language and I am currently working on a 2D game.
I'm looking for a way to make an game-object in my game a ruse. Depending on the distance to the player becomes louder or quieter and in a stereo audio output, so that the player can hear from which side of his screen the sound comes from if he can't see the object and it should comes louder if the player comes closer to the object!
It should have the goal later in my game to be able to locate an opponent the enemy, before it is already visible on the screen ...
I'm looking for a way to make an game-object in my game a ruse. Depending on the distance to the player becomes louder or quieter and in a stereo audio output, so that the player can hear from which side of his screen the sound comes from if he can't see the object and it should comes louder if the player comes closer to the object!
It should have the goal later in my game to be able to locate an opponent the enemy, before it is already visible on the screen ...