The Dink Network

Reply to Re: Midi question

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:
 
 
July 10th 2003, 10:50 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Attach this script to a sprite on the screen:

void main(void)
{
loop:
playmidi("boss.mid");
wait(500);
goto loop;
}

You would think that this would just start the midi over every half-second, but if the game receives a playmidi command for a midi it is already playing, it ignores it. So within a half-second after the midi stops, it will start again.

Credits go to Beuc (I think) for figuring this out.