Skip to content

Loop

Added in 0.2.0
Specification
Applies to
Sounds
File
SOUND.INI / SOUND01.INI
Section
[<Sound ID>]
Value
integer
When omitted
0

How many times the body of a looping sound plays. The key takes effect only with LOOP in the sound’s Control=. The attack plays once before the first cycle and the decay once after the last.

Loop=0 repeats the body until the game stops the sound, for example when its place scrolls out of range. The game stops it with a short fade, and its decay does not play.

sound01.ini
[ALARM]
Sounds=ALARMIN ALARM ALARMOUT
Control=LOOP ATTACK DECAY
Loop=4

Each play of ALARM plays ALARMIN, then ALARM four times, then ALARMOUT.

When Loop= is absent or negative, LoopLimit= is read in its place.

See also — LoopLimit, Control, Delay

History

  1. Added0.2.0In development

    Define sounds with the Yuri's Revenge SOUND.INI keys