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 9th 2007, 07:35 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
You know how the 'hit' sound of fists and sword is done? You could try to copy that. It involves setting SPECIAL frames in dink.ini, and sp_attack_hit_sound(&spritenum, &soundnum);

Now you just have to make it 'hit' something.

But beware: ALL sprites with that sequence will play that sound if there's something they 'hit' (i.e. when there's another hittable sprite in their hardbox).