• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

3d sound

  1. gdkid

    GameMaker [Solved]How to make the sound feels like it comes from behind or in front of players?

    Hi guys I've been experimenting with the listener, emitter of GMS to create 3D-like sound effect, however, I'm still struggling at how to make the sound feels like it's coming from behind or in front of player. Right now when the emitter is at the left or right of listener, the sound plays at...
  2. Mike P

    Legacy GM Audio effects for multiple instances of same sound

    Hello! I'm using GM8.1 and am having some issues getting multiple 3D sounds to play correctly, though my question is not specific to 3D sound. Here is the situation: I have 2 instances of the same enemy object in a room. They are programmed to play a sound on loop and I use 3D sound position...
  3. B

    SOLVED Multiple audio listener point

    Hi guys, I tried a very basic sound distance effect. For example, when obj_character moves away from the object_gun that has a gun_sound, sound comes to as low volume. Also moves away more, sound doesn't come. Okay that is working like this. obj_gun (Step Event) if...
  4. M

    3d sound sometimes does not play / stops playing inexplicably

    so I have a snowstorm-object emitting 3d sound of a heavy wind, as follows: Create: emitter_id = audio_emitter_create() audio_falloff_set_model(audio_falloff_linear_distance); audio_emitter_position(emitter_id,x,y,0) audio_emitter_falloff(emitter_id,400,1300,1)...
  5. M

    3D sound randomly just doesn't play

    So in my game (top-down 2D strategy game) I've implemented 3d sounds via emitters. For example, there's snowstorms, that emit a wind sound. When such an object (obj_snowstorm) passes by or onscreen, players hear the sound in 3d. However, sometimes it just doesn't play even if the object passes...
  6. M

    Two audio_listeners?

    In my 2d top-down game I have splitscreen for two players. my game also implements 3d audio so both the player objects are 'listeners.' However if only it were as easy as to put audio_listener_position in the Step event of both player objects... I acknowledge there are 'audio masks'...
  7. M

    How to make 3d sounds fall silent when far enough

    I'm using audio emitters in my top-down strategy game with such codes in most objects: Create: emitter_id = audio_emitter_create(); audio_play_sound_on(emitter_id,rumble,true,1); Step: audio_emitter_position(emitter_id,x,y,0); Destroy: audio_emitter_free(emitter_id); With the player being...
  8. M

    Pausing and resuming a 3d sound

    In my 2d strategy game i use a lot of 3d sounds using emitters, and they work just fine. Mostly, it means an object plays a sound once, or an object plays a sound and is then destroyed. Often my code is as follows, Create: emitter_id = audio_emitter_create()...
  9. M

    3D sound doesn't stop playing in loop

    Hey, so there's an enemy object in my game that when it attacks, it should create an object that plays a 3D sound at its position, as a notification to the player that its attacking. enemy object's code to create the 3D sound-object: Create event: alarm[0] = 100 Alarm 0 event: (enemy attacks)...
  10. M

    How to pause/end and resume a continuous 3d sound

    So I brought up this topic once, but didnt quite manage to solve it, must've been a bit confusing explanation on my part Also not the most common of problems with GM projects. Basically i use 3d sounds in my 2D strategy game, they work just fine. There are some objects in my game that play a 3D...
  11. D

    Question - Code Audio Listener and Emitter not working.

    Hello! I have noticed that audio listener / emitter are not working as expected anymore. I don't know if it's due to the latest GMS2 version. The sound panning effect is correct, but the audio gain never fades out with distance, it's always at max volume. Is this issue happening to anyone else...
  12. H

    Legacy GM Audio emitter sound problem

    I have set 3d sounds to some bullets in my game, so the sound has falloff and changes it's speaker orientation depending on the listener (player) position. Those bullets make a sound as they travel. At this point, the 3d sound works perfectly. However, when a bullet is destroyed, I want it to...
  13. Z

    Legacy GM 3D Sound want play

    Hey Guys, today I bought the GM Pro Version and built a 3D Sound Code. I have done one emitter for a background sound and it works perfectly. And I build another emitter for an enemy and this enemy plays some sound very well in 3D, but I made some robotic speech samples, they wont play in 3D. I...
Top