Sound#loopFull()

loopFull(volume) → {Phaser.Sound}

Loops this entire sound. If you need to loop a section of it then use Sound.play and the marker and loop parameters.

Parameters
Name Type Argument Default Description
volume number <optional>
1

Volume of the sound you want to play. If none is given it will use the volume given to the Sound when it was created (which defaults to 1 if none was specified).

Returns

This sound instance.

Source code: sound/Sound.js (Line 492)
doc_phaser
2017-02-14 11:09:49
Comments
Leave a Comment

Please login to continue.