A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Little sound delay problem

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    23

    Unhappy Little sound delay problem

    I just made my first attempt with sound effects for a game, using actionscript to trigger it with sound.start() and everything works just fine when the sounds are distanced one from the other.

    The problem is I have a machine gun in the game, so I put the code for it to play the sound every time it shoots (once every 3 frames, 30FPS) and what happens is this...

    The first sound occurs on time, followed by silence, then from shot 3-4 and on the sounds are on time with the shots.

    it like Bang * silence * Bang Bang Bang... lol

    It sounds really bad and I was wondering how people put sound for their machine gun in their games.

    Think you can help ?

  2. #2
    Junior Member
    Join Date
    Mar 2008
    Posts
    23
    Just a simple bump...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center