How do I properly implement sounds close together

0 favourites
  • 9 posts
From the Asset Store
75 explosion sound effects. Essential for many games, Explosions Sounds contains a mix of explosion and impact sounds.
  • Lets say 5 little enemies that when killed, play a sound.

    I have tried different ways of setting it up, but the sounds don't ever match up with the game. They overlap, cut each other off, just basically don't match up with the game.

    Are there tricks to having a bunch of sounds play right next to each other? I just can't seem to sync them right.

    Looking for tips, this isn't a bug. Thanks!

  • Construct 2 can only run 1 sound at a time ...

    Try to make a sound that haves the 5 sounds in it !

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'm fine with single sounds, but is there a way to prevent overlap? Maybe a Don't try and play if playing already type of thing.

    Rather than "Oh shoot, I have to play 5 sounds now, let me make a mess of it"

    I would prefer "Oh shoot, I have to play 5 sounds now, let me play the first and if forget the rest since they would overlap"

  • you could play the sound then wait the a number of secs egal to the duration of the sound and then play the other ? They won't overlap like that ...

  • Could it be a browser/platform dependent issue? I seem to have no problems with multiple sounds playing.

  • I'm using latest chrome on Win8 :/

  • Quick fix would be to have a variable called SoundTimer that decreased by 1 every second until zero, each event that activated a sound would set the value of SoundTimer to the length of the audio clip in seconds; and all the sound events would have the conditional of SoundTimer = 0.

    Didn't know C2 could only play one sound at a time though?

  • C2 has no problem playing many sounds at once.

    Try preloading the audio and see if that helps.

    If you don't overlap, they won't be in sync with the game if enemies are dying at the same time, but if you don't want overlap, just stop or fade the previous sound before triggering a new sound. You can assign tags to the audio to make this easier.

  • C2 has no problem playing many sounds at once.

    Try preloading the audio and see if that helps.

    If you don't overlap, they won't be in sync with the game if enemies are dying at the same time, but if you don't want overlap, just stop or fade the previous sound before triggering a new sound. You can assign tags to the audio to make this easier.

    I'm going to look into this, I haven't really focused on audio yet, so I have lots of weird things I have to figure out. For a while, if i played music in the background, no audio would ever play for sound effects.

    I think these things are all just me doing it wrong.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)