Jump to content

How to stop a sound on collision


axis23
 Share

Recommended Posts

I am very new to phaser and gamedev.  I have a 4 second .mp3 that needs to stop playing if the player collides with an object a second time.  The issue is that game.mySound.stop(); continues to play the whole .mp3 file after the .stop() is issued.  Any tips?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...