浏览代码

Added documentation on sound loop count

Björn Ritzl 4 年之前
父节点
当前提交
4f7a23c037
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 二进制
      docs/en/manuals/images/sound/sound_properties.png
  2. 4 1
      docs/en/manuals/sound.md

二进制
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.