The Dink Network

Reply to Re: Question: How to change a sprite?

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:
 
 
January 24th 2005, 04:32 PM
spike.gif
void main( void )
{
if (&ming > 1)
{
sp_pseq(&current_sprite, 66);
sp_pframe(&current_sprite, 65);
//If the hardnesses of the two sprites differ from each other and you want to change it then the next command too.
draw_hard_sprite(&current_sprite);
}
}

void talk( void )
{
if (&ming < 2)
{
say_stop("A nice collection of ming vases.", 1);
wait(100);
}
if (&ming >= 2)
{
say_stop("A nice collection of ming sherds.", 1);
wait(100);
}
}

void hit (void)
{
if (&ming == 1)
{
&ming = 2;
sp_pseq(&current_sprite, 66);
sp_pframe(&current_sprite, 65);
//If the hardnesses of the two sprites differ from each other and you want to change it then the next command too.
draw_hard_sprite(&current_sprite);

say_stop(" Ha ha, just sherds, you will be fired, stupid port guard! ", 1);
wait(100);
}
if (&ming == 0)
{
say_stop(" I will not destroy anything with out a reason!", 1);
}
}

Is that what you want? Or do you want a bottle on the shelf to break when you hit the shelf? :confused: