The Dink Network

Reply to Re: Synchronizing sound with animation

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
August 10th 2007, 02:11 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
It seems quite easy. I may be wrong though.

Why don't you try looking at the frame delay for a sprite. Let's say it's 33 milliseconds and you want the sound to play on every 3rd frame. Then you would just type:

...
wait(99)
playsound(...);
wait(99)
playsound(...);

and continue that over and over. Or you could do something like this:

...
loop:
wait(99)
playsound(...);
wait(99)
playsound(...);
goto loop;

Is this what you wanted?