music.script 241 B

1234567
  1. function init(self)
  2. sound.play("#music", { gain = 1.0, pan = 0 }) -- <1>
  3. end
  4. --[[
  5. 1. Tell the component "#music" to start playing its sound. The sound will be played with gain 1.0 (max volume) and pan 0.0 (equal left-right channel)
  6. --]]