The Dink Network

Reply to Re: Making a sprite dissapear later...

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 25th 2011, 01:14 PM
spike.gif
Yeah, but it's a little more complicated than that... If it's a moving, talking sprite, making it look dead can be downright annoying. Something like this:

// this is so the sprite stops moving around
sp_brain(&current_sprite,0);
// this is so the sprite stops animating
sp_seq(&current_sprite,0);
// this changes the sprite's sequence to the death sequence (235 is one of the dead girls, I think)
sp_pseq(&current_sprite,235);
// this gives the sprite the right frame (usually the first one)
sp_pframe(&current_sprite,1);