This forum is read only and just serves as an archive. If you have any questions, please post them on

7 years ago by dungeonmaster

crushRock : new ig.Sound( 'media/rock.ogg',false ),

Later in the game, I only want to play this sound, if it's not already being played. So I need something like this:

if (!this.crushRock.isBeingPlayed()) {;
} else {
// Do nothing

So is there a way to understand, if this sound is currently being played or not ?

7 years ago by Joncom

Edit: Never mind. The information I gave was completely incorrect.

7 years ago by dungeonmaster

Found this, will test:
Page 1 of 1
« first « previous next › last »