Przeglądaj źródła

Added documentation on sound loop count

Björn Ritzl 4 lat temu
rodzic
commit
4f7a23c037

BIN
docs/en/manuals/images/sound/sound_properties.png


+ 4 - 1
docs/en/manuals/sound.md

@@ -27,7 +27,10 @@ The created component has a set of properties that should be set:
 : Should be set to a sound file in your project. The file should be in _Wave_ or _Ogg Vorbis_ format. Defold supports sound files saved at 16bit bit depth and with a sampling rate of 44100.
 
 *Looping*
-: If checked the sound will play back in a loop until explicitly stopped.
+: If checked the sound will play back in _Loopcount_ times or until explicitly stopped.
+
+*Loopcount*
+: The number of times a looping sound will play before stopping (0 means the sound should loop until explicitly stopped).
 
 *Group*
 : The name of the sound group the sound should belong to. If this property is left empty, the sound will be assigned to the built-in "master" group.