From 040bf66a9d112af3eb6ce5caff8ff324c2aa531b Mon Sep 17 00:00:00 2001 From: kramm Date: Wed, 2 Apr 2003 17:54:15 +0000 Subject: [PATCH 1/1] added example for sound, start, stop. --- doc/fileformat.sc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/fileformat.sc b/doc/fileformat.sc index a25c2a4..a345967 100644 --- a/doc/fileformat.sc +++ b/doc/fileformat.sc @@ -752,3 +752,20 @@ .change t9 alpha=0% shear=-0 .end +# sound.sc +# +# Sound effects + +.swf name="sound.swf" fps=25 +.sound loco "LocoStart.wav" +.sound whistle "Whistle.wav" + +.frame 0 + .play loco +.frame 25 + .stop loco + .play whistle loop=20 +.frame 200 + .stop whistle +.end + -- 1.7.10.4